Jump to content

why Pause button does not work?


Recommended Posts

Posted

If RUN button down, the while loop starts. In the mean time if random number is greater than 0.9 or PAUSE button down, while loop halt. But actually the PAUSE button does not work. Then how to make PAUSE botton effect in while loop?

Pause test.vi

Pause test(8.6).vi

post-27793-0-42395700-1374420894_thumb.p

post-27793-0-35846300-1374420898.png

Posted

ZZZ,

To allow the PAUSE button to stop the loop, you need to change the behavior of the RUN button event case so that it doesn't lock the front panel.  Right click on the "RUN": Mouse Down event and select Edit Events Handled by this Case.  Unselect the Lock Front Panel box at the lower left of the Edit Events window.  With this selected (the default condition), the program won't process the PAUSE button press (or any other button press) until the loop stops.

Steve

  • Like 1

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.