Jump to content

Update IVI session in while loop


Recommended Posts

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

 

post-33878-0-81294700-1366608611_thumb.j

Link to comment

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.

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