03-06-2015 01:05 PM
Hi, I'm trying to read the pressures from 3 different pressure transmitters. Right now I have the DAQ Assistant converting the voltage input into psi and am using a write to measurement file. Should I be using the DAQ Assistant or the DAQ mx for this?
My problem is I don't have a power supply for the pressure transmitters yet so I can't test the VI. Will the waveform graph display all three pressures? And will the write to measurement file have 3 different pressure files?
I appreciate any examples that could help or advice, thanks.
(I am using a USB 6221)
03-07-2015 07:23 AM
Use NI MAX to configure a task for the three transducers. That way you can play with teh # samples and sample rate independent of the vi. You can do a singe task or three independent task depending on how critical your accuracy is as you will create a scale in MAX to convert the value of the electrical signal to your desired units. If this is a general app and a single conversion will work for all three then you can use the same scale and a single task.
When you do a read with a single task, you will get an array and you can keep it arrayed or split it out per transducer and then easiest to do a mean function to get an average of the samples.
You can set up to write any way you want, to a single file or multiple files. Best way depends on what you are trying to accomplish and what you want to do with the data once it is written.