Jump to content

abort running loop

Recommended Posts

Hi all,

I have another problem which I have translated into a simple example.

I have a "ok" button which starts the counter which is made up of several for loop.

However if the for-loop counters are very big it can take forever for the vi to finish.

I have tried different thing to be able to stop the for loops but I can't find a solution.

Does anyone know what to change in my block-diagram so that the abort button can stop the for-loops at any time?

(for some extra info I don't have another event case just this "OK button": Value Change event handler)

best regards,



Link to post

Make sure you're in the OK Button: Value Change case, then right-click the event structure and select "Edit Events Handled By This Case ...". In that dialog, there will be a checkbox for locking the front panel.

Link to post

Join the conversation

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

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.