Jump to content

Temporarily stop a loop


Recommended Posts

All,

My scenario is a parallel loop configuration. 1st while loop is an acquisition loop for video, the 2nd is a processing while loop for the video. I would like to use the event structure in the processing loop to pause the acquisition loop. Any ideas?

Link to comment

Configure the 1st loop as a state machine and create a "pause" state for the state machine that automatically calls itself. Use a queue or other messaging structure to pass the pause command from the processing loop to the acq. loop.

That would be one way.

Jason

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.