05-09-2013 09:50 AM
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
05-09-2013 10:09 AM
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.
05-09-2013 10:23 AM
Thank you for your fast reply. I will update my VI !