cyro Posted April 22, 2013 Report Share Posted April 22, 2013 Hello all! I have a problem after compilation an application. RFSA and RFSG are working in same While Loop which stops on Error, controls have their own While Loop which stops when button "Ready" is pressed (see attached files). It was done for preset some controls. After starting Application and setting one(!) control the VI seems to be hang... I can't set any other control. Help pls... P.S. sry for my English Quote Link to comment
chris754 Posted April 22, 2013 Report Share Posted April 22, 2013 Just took a quick look, but your VI hangs because you are using two event structures in the same while loop. Once an event occurs, a lock is performed, and no other events can register, but the while loop still needs another event to occur, and thus your VI appears to hang. To fix this problem you should only have one event structure. Quote Link to comment
cyro Posted April 23, 2013 Author Report Share Posted April 23, 2013 Thx, that's was a problem. Quote Link to comment
todd Posted April 23, 2013 Report Share Posted April 23, 2013 Two ES in one loop is generally bad form, yes - but they each have a 100ms timeout. That won't hang. 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.