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
(3,209 Views)
here are the files:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Download All
Message 2 of 24
(3,208 Views)
and last file:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 3 of 24
(3,207 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
(3,206 Views)
is this possible in labview?
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 5 of 24
(3,179 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
(3,175 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
(3,171 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
(3,167 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
(3,164 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
(3,160 Views)