08-01-2013 04:01 PM
Hi,
I'm trying to display 2 messages to the user indicating 2 distinct conditions in my program. However, since the entire program runs in a single while loop, the messages appear over and over again. If I take the message boxes out of the loop, they both appear after one of the conditions is met. I would like each message to appear once when their corresponding condition is met, have the user click OK, then have the message disappear and have the program continue running.
Any ideas on how to do this?
Thanks,
Daryn
08-01-2013 04:19 PM
Put it in a case structure wired to the iteration terminal. Make the empty case the default and the other case (the one with the dialog!) "0", for example.
08-01-2013 04:54 PM
Hi Daryn,
You could use a separate loop driven with a queue:
Example attached in LV2010.
steve
08-01-2013 06:14 PM
Is it necessary for the user to do something or are these simply status updates. If you do not need the user to respond you may consider updating the status in some other way than to use dialog boxes. Over use of them can be quite frustrating for the user, especially if they simply are updating some status.
08-06-2013 01:18 PM
Ok I got it to work....thanks everyone!
08-06-2013 01:22 PM
Whose advice did you use?
Cameron