LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto indexing with time

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.

0 Kudos
Message 1 of 5
(2,610 Views)

Use the Elapsed Time Express VI in your loop to determine when 15 minutes as passed.

0 Kudos
Message 2 of 5
(2,606 Views)

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]

0 Kudos
Message 3 of 5
(2,602 Views)

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?

Message 4 of 5
(2,599 Views)

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.

0 Kudos
Message 5 of 5
(2,595 Views)