LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multicahnnel acquisition with time.


I need to simulteaneoulsy acquire data from several channels and store them on disk in a spread sheet where the first column is actual elapsed time. The channels are all different, e.g Ch0 - K thermocouple (0-100 mV); Ch1 - LVDT (+- 5 V); Ch2 - Pressure sensor (0-5 V). In addition I need to process each data to convert it to real values (temperature, distance, pressure).

I tried to use three individual "Scan One Channel" VIs i a while loop. There is no problem with processing and saving data. But I have hude effect of voltage channles on a millivoltage channel.
Recommended VI (like :"Scan N Channels" or "Acquire Waveforms" are not so straightforward and I failed to add the time reading into the file or to process c
hannels separately.
Could you please help me. I am sure that my application is aming the most typical. Example VI will be moat helpful.

Thank you in advance

Dimon
0 Kudos
Message 1 of 2
(2,259 Views)
Most likely whatever hardware you are using is setting a single gain setting for all three of your channels. This will be detrimental to your millivolts readings.

Check your gain settings in Measurement and Automation Explorer. You can set a gain for individual channels on some SCXI systems, or many of the DAQ boards allow you to set gain on a per channel basis. In code, you can set the channel's input limits in AI Config to affect gain. Also notice that you can specify a different set of input limits for each channel in the Channel input array.

The example VI's are meant to give you a starting place, but you will need to modify them to customize them for your own needs.

Processing the channels separately is just a matter of indexing the 2D data array to extr
act the individual channels.

If you are unfamiliar with LabVIEW, you should consider brushing up your skills with one of the self-paced course manuals or a customer education class. I know the LabVIEW Basics classes cover how to do exactly what you are wanting. Course kits also come with disks with solutions to the exercises presented. http://www.ni.com/custed
0 Kudos
Message 2 of 2
(2,259 Views)