LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous time in array

I have a program for expiration but it also needs to be continuous and right now it up dates the expiration fine, but it is not continuous

 

 

here is the code: 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 1 of 24
(4,107 Views)
here are the files:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Download All
Message 2 of 24
(4,106 Views)
and last file:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 3 of 24
(4,105 Views)
It needs to be continous within the arrays so the date hours min sec need to update as time progresses.
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 4 of 24
(4,104 Views)
is this possible in labview?
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 5 of 24
(4,077 Views)
I for one, do not know what you are asking. The output arrays are continuous without any gaps. Please better define what you are looking for.
0 Kudos
Message 6 of 24
(4,073 Views)

I am looking to make the arrays continue to take in time values so that if I have a current time of 4/16/09 1:13PM and I put in an expiration of 2 days and sends this value to the expiration Array 4/18/09 1:13PM , but what I need it to do is when it turns 1:14PM to update the current and expiration dates to 4/16/09 1:14PM and 4/18/09 1:14PM

 

did this help a little? 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 7 of 24
(4,069 Views)
If all that you want to do is update the last element, then you could do a Replace Array Element in your timeout event. Pass the values for the expiration with another shift register.
Message 8 of 24
(4,065 Views)

it is not just the last element it is every element that is added to those arrays.

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 9 of 24
(4,062 Views)
That's just a little more complicated. You have the array of values so you put the Replace Array Element inside a for loop. Since the timeout is running every 200 ms, compare the current time with previous time and only do an update with the delta is 60 seconds
Message 10 of 24
(4,058 Views)