wallage Posted April 14, 2010 Report Share Posted April 14, 2010 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, arjen Quote Link to comment
Francois Normandin Posted April 14, 2010 Report Share Posted April 14, 2010 It should never take more than 400ms to stop this VI, unless you have the "Lock Front Panel" checked in the Event Edition screen for OK button, thus preventing any other buttons to be pushed until the event frame completes. Quote Link to comment
wallage Posted April 14, 2010 Author Report Share Posted April 14, 2010 Francois thanks for you reply. I'm still a newby when it comes to LV and don't know where to find the "Lock Front Panel" option. Where can I find it? Quote Link to comment
asbo Posted April 14, 2010 Report Share Posted April 14, 2010 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.