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: 

Triggering when loop iteration value changes

Hello,

 

I am using a for loop. I would like to have a trigger mechanism  (brief delta pulse) when the loop iteration value changes.

 

Trigger should start as soon as change in value is detected and end when the change finishes.

 

Any ideas?

0 Kudos
Message 1 of 3
(2,570 Views)

If you want something external to the loop to run on every iteration, you can use a queue, or you could use a user event.  Just wire up the iteration value to a value-change of the event (to trigger it). 

As for the second part, I don't know what you mean 'when the change finishes' it just changes, it doesn't start to change, wait for memory to work it's magic then complete changing.  It's pretty instant.

0 Kudos
Message 2 of 3
(2,565 Views)

Hi Britoa.

 

What I am trying to do is  a trigger which finishes as soon as the next iteration starts to run.

 

So you can imagine a pretty small delta pulse .  I will try the event trigger.

0 Kudos
Message 3 of 3
(2,556 Views)