Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

I am having trouble using the scaled array?

If I am just using one channel to acquire a wave form do I need to use a scaled array? And if so how would I take that scaled array and get the RMS value of the wave form?
0 Kudos
Message 1 of 2
(2,595 Views)
Hello;

You can use the RMS.vi to get the RMS value of the data you acquired. The main thing is that the RMS vi expects a one dimension array of data, and in case you configure the AI Read.vi to retrieve Scaled Array, the array retrieved will be two dimension array.

You will need to use the Index Array.vi to transfor the 2d array on a 1d array to be able to feed that into the RMS.vi.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,595 Views)