Quantcast
Viewing all 69253 articles
Browse latest View live

Too many Queues ??

I have an application using three USB DAQ devices. USB6212 + USB6001 ( 2nos) 

A main VI handles all the DAQMx read / writes.

Data that is read ( AI and DI ) are passed by queues to other sub VIs.

Data that is to be written ( AO, DO) is sent from sub VIs to the main and written from it. And I also had to bring in a T/F case to prevent error pop up when the SUB VI that sends the data is off-grid when a non hardware operation is underway. 

 

Now if you see the image below the setup will be clear. But to me it looks pretty clumsy and too much of lines... any better and elegant method ??Image may be NSFW.
Clik here to view.
Queues_For DAQMx data.PNG

 

 


non linear equation solution in labview

hello sir,

i want to solve attached non linear equation for my quadruple conical interacting tank system. for that i tried various methods but did not get any solution. In the attached modify.vi i tried it by making a model equation system with control and simulation toolbox, where i have tried with initial condition but not get any result. then , i tried with nonlinearequations.vi file but there i got -23001 error. So, can anyone please help me in my problem? 

Network stream performance on crio

Hello,

 

i'm evaluating network streams on a real-time target (cRIO 9035). I have a timed loop which acts as the producer and a while loop which is the consumer. With the producer loop i simulate analog input with a sampling rate of 1kHz. The consumer sends the samples over to the PC with a network stream. My concern is the cpu usage of 20% with this rather small program. Are there any ways to lower cpu usage/improve my code? I'm planning to have much more channels with the scan engine.

Image may be NSFW.
Clik here to view.
PC.png
Image may be NSFW.
Clik here to view.
RT.png

How to control assembled 3d printer consisted of Newport ESP301 and Nordson Dispenser

Hello,

 

Has everyone used LabView to control a 3d printer? Recently, our lab set up a 3d printer using Newport ESP301 controller and Nordson Ultimus V dispenser, and we want to use LabView to operate it. However, we have no idea about the instruction input method. ESP301 could control the stage motion by ASCII code input or the Labview subVI, and after the stages moved to a specific position, the dispenser was triggered to extrusion the materials to form what we wanted. Both two controller could be controller by ASCII code or their Labview sub-VI driver. Should we just put subVIs in a new VI to achieve these complex motions or edit an ASCII code file.

 

Could someone give us any comments or simple examples to control ESP301 and any dispenser.

 

Thanks!

communication between LabVIEW applications on two computers

I have a LabVIEW application running on one computer (I’ll refer to this computer as A).  I have a second application running on a second computer (I’ll refer to this second computer as B).  The two computers share an ethernet connection.  I want to create a COM component that enables communication between these two applications.  I’ll author the COM component in C#.  This COM component will reside on computer B. 

 

My question is this: how can my LabVIEW application on computer A access the COM component on computer B?  I am assuming I can consume COM resources from within LabVIEW. 

 

If there is a better way of having communication between applications on these two computers, please advise.

Creating a working executable

When in development mode my project works perfect.  When I try to develop the executable, the vi's that I have loading programmatically won't start working at all.
  If you look at the attachment, I load separate vi's into memory and they start running once the are loaded.  As they run, the main calling vi populates the information from global variables that have new information in them.  Once the called vi is completed, I remove the vi from memory. 
In the executable, the program just hangs when that called vi is supposed to automatically start working.  I am probably having an issue understanding how to set up the build.  Help is appreciated.  Thank you.

Create .wav sound file

Hi all,

I'm trying to load two channels .wav file and split it into two different files where each file is one of the channels. 

When I trying to run the program I get an error says that there is no file at the path I choose to save the new files but there shouldn't be files in those paths because I want to create them for the two new .wav files. 

I attach images of the program and the error. 

I'll be glad if you can help me understand why I get this error and how can I fix it. 

Noy. 

 

Connect Polaris 250 Laser sensor to Labview


Looking a LabVIEW programmer

There is a tradingview.com on the site, click on charts,  there is a trending website, and there are indicators (moving average, I need moving avarage 20 and 50), I need to have two indicators in a socket at a time, more precisely, they measure the units every 1min and for tracking them together when they cross each other and then inform me that just such a ticket have crossed togher and I whant to know what ticket and that it should be send to me by e-mail. Exactly, need to extract data from website to Labview and program it that those two indicators must be tracking in real time. 

 

Please contact with me in private and we will discuss, how much and how long it will take.

 

Thank you

Needed Hardware for 1PPS and analog Waveform

Hi .

Im looking for 2 boards or maybe one that supports the both requierments.

1. I need to implement a 1PPS signal (while the '1' is 8-10VDC).

2. Output 2 waveforms of amplitude up to 7 VDC , with phase shift of 45.

I thought to implement a code using felxrio and labview but dont know which hardware to use.

 

Thank you.

Automation

Hi everyone,

Am facing problem while automating z scan setup through LabVIEW. Herewith I have attached the error showed in LabVIEW. Can someone help me?

Search in pdf file

Hello, I need search a list of items (R1, R2,C1, C2 etc), in a topographic file, .pdf.

I would scroll through the list with the press of a key, for example keyboard space, and to visualize the search.

Can you help me?

VHDL Code protection in release mode

I am  facing an issue regarding integration of VHDL codes in LabVIEW environment. As we can protect/lock LabVIEW VIs in release mode with password protection. Every VI may be protected in this way and can't be seen by the user. The problem arises when we integrated VHDL codes within our project. I am not been able to lock them,  till now, because in release mode, users can easily open the imported HDL files. And can't release VI in this way. Is there any method that VHDL codes that are included in the design are also locked in release mode, so that no user is reading the propriety codes? 

Cheers

Cambiar colores de indicadores numericos

Buen dia.

Estoy haciendo un programa para mis residencias profesionales  es un programa que monitorear el tiempo de piezas dentro de un horno. Ya hice los temporizadores, pero quiero agregar que el indicador numérico cambien de color al cumplir con su tiempo de cocción dentro del horno. 

Ejemplo si la pieza tiene que estar 30 min dentro del horno

a los 15 min el indicador cambia a color naranja

a los 30 min cambie a color verde 

y a los 35 min cambie a color rojo

Les agradecería mucho si me pudieran ayudar dándome ejemplos o ideas de como podría  hacerlo por que no si se pueda hacer el labview.

muchas gracias de antemano.

TCP/IP 1 server with multi client

i want to create project that has 1-server for multi-client, send data,log in system and register system.

Part of send data,log in system and register system has finished,But it can send only 1-server to 1- client.

Can anyone advise and point me in the right direction?


Using PCI 7830 in LabVIEW 2017 + 2018

Hi

It is not easily possible to use older FPGA Boards with LV2017 or 2018 because there seems to be no RIO drivers for this boards anymore. Is there a way I can use this boards with LV2017+ or do I have to dump working FPGA boards.

 

Regards, harald.

Position from accelerometer

Hello, I am reading the values from an accelerometer in m/s^2 and I would like to extract the displacement (in mm) . Should I double integrate my values in order to find the position at a certain time or taking into account that I have a vibration system(which does oscillations) can I just use a=ω^2*x where a=the acceleration aplitude,ω=frequency(2*pi*f) and x=position? 

How to import a function generated by classification Learner app in Matlab to Labview

Hi,

I am trying to use the function code generated by the  classification Learner app in Matlab into Labview. I tried to use the MathScript window but always it gives me errors.

Please find attached the m file of this function, the training and testing sets.

Analog Input NI USB 6008

In one of my machine, there having a NI USB 6008 device & it is damaged time to time due to burnt AI0 analog input. In the machine AI0 is used used to measure the current through 100mohm shunt resistance(max current to be meased is 6A) . the channel has been configured to get differential signal between the shunt resistor.

when it burnt. Path of both inputs AI0+ & AI0-  were burnt as shown in picture.

Maybe this is happend due to a back emf of the inductor.

How can i overcome this problem?? (whatever the modification, current measurement of this channel should be high accurate)Image may be NSFW.
Clik here to view.
NI USB 6008 AI0 Burnt - Copy.JPG

 

Test the DC Voltage simulation for ESP8266 with Pressure sensor

Hey, I am using 9v battery power and with the help voltage regulator, I am giving 3.3v power to ESP8266 and 3.3v to the Pressure sensor. Right now I am trying to analyze the battery consumption of ESP8266 when it gives readings continuously. Is it possible to test this kind of simulation on Labview, If yes any suggestions or any documentation which will help me with further test?

Viewing all 69253 articles
Browse latest View live