Forgot your password?
Or sign in with one of these services
October 19 in LabVIEW General
That is working to measure loop iteration time. Stores the initial time in a shift register. Then each iteration takes the current time and subtracts the previous, while also storing the current time in the register for use in the next iteration.
thank you brother
you don't know here 59 for what is set what function is performed using this ?
Well, given that this is some kind of (bad) timing logic, and 59 is suspiciously like the number of seconds in a minute, I would suspect this is some kind of check to see if the elapsed time is > 1 minute.
I strongly suspect this code is overcomplicated and there are signficantly simpler ways of doing things.
These four sections of parallel code below look like they constantly evaluate if the elapsed time is greater than 45, 30, 15 and 59 seconds. The shift register on the boolean essentially latches (i.e. remembers) the previous value, and I think the XOR is used to reset the latch. I am not sure what is in the other cases of the Case Structures. Strangely the top one is active on a False, whereas the others are on True.
You can post now and register later.
If you have an account, sign in now to post with your account.
Pasted as rich text. Paste as plain text instead
Only 75 emoji are allowed.
Your link has been automatically embedded. Display as a link instead
Your previous content has been restored. Clear editor
You cannot paste images directly. Upload or insert images from URL.