07-09-2012 07:31 AM
i am trying to make a system that records value of a temperature sensor after every 15 mins at a separte location, i.e. elements of an array.
The data is in decimal form, signle constant that updats after every 1 sec. i want to record its value after every 15 mins and after 1 hour i should have an array with 4 elements of temperature value.
07-09-2012 07:37 AM
Use the Elapsed Time Express VI in your loop to determine when 15 minutes as passed.
07-09-2012 07:47 AM
i am using this block but the problem is i am unable to store values in array. when the prvious value updates whole array elements are changed.
forexample:
temp is 33
array x= [33,0,0,0]
after 15 mins
temp is 34
array x=[34,34,0,0]
what is required is
array x = [33,34,0,0]
07-09-2012 07:54 AM
Attach your code so we can see what you are actually doing.
Do you have shift registers in your loop? Are you using Replace Array Subset?
07-09-2012 08:10 AM
i am already using replace element/sub array. now i have used feedback loop with a null array as initilaizer, it seems working... thnx for the help, if i got problem i will ask.