ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware timed loop iterations

How do I go about making a loop or sequence iterate with every tick from the change detection vi?
Thanks
0 Kudos
Message 1 of 3
(2,958 Views)
I'm not sure which change detection VI you are referring to, but if it has output terminals, then if you place this in a while loop, then the loop can not iterate until this VI has finished. Just check the output, set up a logic structure to check and see if it has "ticked" and then choose whether to continue or not. It would basicaly be two nested loops. If you get a chance, post information about the change detection VI and we may be able to help you further.
J.R. Allen
0 Kudos
Message 2 of 3
(2,958 Views)
Can you tell me were you found that VI? I am having a terrible time searching for it? Does this VI wait until a change is detected or does it poll and tells you whether a change occured. If the latter is the case then I recommend using a second loop inside the one you already have that contains this VI. With some logic and shift registers, you can have the inside loop terminate when there is a change.
0 Kudos
Message 3 of 3
(2,958 Views)