Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

SCXI-1112 thermocouple with Autozero.vi

Please the following doubt I have on the example program "SCXI-1112 thermocouple with Autozero.vi".

In the vi's first sequence ground readings for each channel is found out and it is available in a 1D array. Each element in the 1D array corresponds to each channel's ground reading. These zero readings of each channels are to be substacted from each channel's subsequent data. But it is not doing so. In the second sequence since a column is indexed (which corresponds to one channel data) actual substraction is taking place between a channel's data and all channels ground readings available from first sequence. which is wrong.

Kindly clarify the above doubt.
0 Kudos
Message 1 of 2
(2,859 Views)
Greetings,

You are correct. This example needs to be modified. The array of offset data should be indexed so that only one scalar value is subtracted from each element in the array of data from one channel. I have attached a modified version of the example.

Good luck with your application.

Spencer S.
Message 2 of 2
(2,859 Views)