02-01-2011 10:01 AM
Hello people,
I am developing a VI where it generates popups (sub VIs) depending on control values, to alert users. Normally these popups should stay on screen until the user dismisses them (press a button on the popup); however some of these popups only stay on screen for a fracture of second, and disappear without the user pushing the button, making them useless. And this is happening in a somewhat random fashion, the first popup (which ever come first depending on the situation) will function normally, however causing the other popups to just flash for milliseconds.
I am starting to notice this on LV 2010 development suite.
Appreciate any help.
Solved! Go to Solution.
02-01-2011 11:27 AM
Hi Moobe,
can you post one of your popups or a picture of it? Are your popups modal?
Mike
02-01-2011 11:50 AM
Hi MikeS,
Here is one popup. Basically once you press 'Ok' it goes away. But the problem as I said before is that sometimes it doesn't let me press ok, and disappears in a matter of ms.
I am not sure what modal popup is.
Thanks
02-01-2011 11:54 AM
02-01-2011 11:58 AM
Hey altenbach,
They are all basically the same, and no they are not set to reentrant. Should they be set to reentrant?
What does this option do?
Thank you.
02-01-2011 11:58 AM
02-01-2011 12:03 PM
Here is the block diagram of the popup, nothing much to it.
The VI (1) is just a subVI that outputs a Beep sound.
02-01-2011 12:12 PM
And here is a snapshot of the windows appearance and the execution properties
02-01-2011 12:30 PM - edited 02-01-2011 12:33 PM
@Moobe wrote:
They are all basically the same, and no they are not set to reentrant. Should they be set to reentrant?
"Basically" does not count. Either they are the same VI or they aren't. 😉
If they are the same, just called with different parameters (e.g. the display text), it should be set to reentrant so each instance gets it's own copy. It it is not reentrant, only one can execute at any given time. If each popup is a different subVI, the reentrant setting is irrelevant.
Why can't you attach your code instead of numerous pictures? How are the dialogs called?
02-01-2011 12:38 PM
they are different subVIs.
However the Beep subvi, is the same called from all the different popup subvis.
Should this one be reentrant?