07-20-2016 04:03 PM
The test station is currently setup with 7 differential pressure transducers. The DAQmx read function returns the voltage from each pressure transducer in an array of 7 elements. I would like to build an array from each channel over a specified amount of time, average each array and then apply the proper scaling to each channel. The arrays are then cleared and the build arrays over "x" amount of time starts again.
I've attached a simple vi showing something I know will work but I feel like there must be a better way to go about this, probably something fundamental I'm overlooking.
Thanks.
07-20-2016 04:15 PM
Could you post for LV 2012?
07-20-2016 04:21 PM
Just a quick code I would try something like this. You will have 7 columns each with 100 elements. Getting the readings would go in place of the "Readings In" constant.
07-21-2016 02:46 AM
Acquistion Loop Will Read Data From the DAQ for N Times and The Average of all the channels are calculated
07-21-2016 06:49 AM
@MeCoOp wrote:
The test station is currently setup with 7 differential pressure transducers. The DAQmx read function returns the voltage from each pressure transducer in an array of 7 elements. [...]
Why are you using software timed single point acquistion in the first place?
Use hardware timed acquistion and you automatically receive an array per channel.
Norbert