Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

operation on acquired data

 Hello all,

 

    I am taking a thermocouple reading by using FP-TC-120 module. I need to take last 10 readings of the thermocouple data and calculate the standard deviation of it. With the current code I have it returns that SD is 0 or NAN. How can I do what I want to do?

 

 Thank you

0 Kudos
Message 1 of 2
(2,915 Views)
FieldPoint modules don’t have a buffer on them.  This is probably why you are getting these values returned to you.  Therefore you will have to store the values into an array to be able to access previous values.  From there you can use the array subset like you have to get the previous 10 values.  
Regards,

Mike S
NI AE
0 Kudos
Message 2 of 2
(2,892 Views)