LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW acquisition VI

Hello,

I didn't see any presentation thread so hello everyone.

What i want to do is to acquire 3 analogs signals 4-20 mA, 4 thermocouples and send this information to excel. I made this VI  (Analog input NB V1).

I work with 2 NI 9219 module (4 analog input) and a NI 9178.

I doesn't have the sensors yet so i can't test my VI.

 

I'm new to LabVIEW so if u can tell me if my code will work or no and why that will be very nice.

 

I used this exemple http://www.ni.com/white-paper/11549/en   Multiple device

and the TDMS - EXPRESS write data ( time and frequency ).VI exemple

 

In excel i want to show each sensor at the time.

 

Thank you for your help

 

Skling

 

 

 

 

 

 

 

0 Kudos
Message 1 of 3
(2,255 Views)

It seems like it would work.

 

I would put the channel creation and set up before the while loop, and the task clearing after the while loop.  There is no need to do those things on every iteration of the while loop.  The only thing that should be in the while loop is the DAQmx Read.

Message 2 of 3
(2,249 Views)

Thank you for your fast reply. I will update my VI !

0 Kudos
Message 3 of 3
(2,242 Views)