07-12-2007 07:25 AM
07-12-2007 08:07 AM
Hi Mike.
The easiest way to avoid using the Task Manager as long as a message box is displayed is: Do not use a message box.
In your case, a string indicator would do fine. The indicator can tell the user about the requirements of the time stamp to specify.
If there is no need to display the indicator, make it invisible.
You can have the "Run Continously button" disappear by customizing the Window Appearance in the VI Properties.
Hope this helps, Guenter
07-12-2007 08:58 AM
Hi Guenter,
Thanks for your valuable input. With this I can remove the continouse run button from the vi and can solve the problem.
But showing message in string indicator instead of displaying in the message box is something I have not liked. Since this is very small application where I have to display only one message it can work. But as application grows we have to display many such messages so if I have to display them in string indicator then each time I have to erase the string indicator and write new message. Moreover If user is not at his PC for some moment then it can happen that some important messages he may miss.
Many such problem can arries. Is this is the only solution to this problem??
Thanks again for the input giveen this help me a lot.
Mike
07-12-2007 09:04 AM
07-12-2007 09:09 AM
07-12-2007 09:31 AM
07-12-2007 09:43 AM
Hi Lynn,
Thanks for the input given. Suppose I decided that if user has not press OK button on dialog box for some period(let's take 10 sec.) Then we will stop the vi running. With this I can wait for 10 sec and stop vi so user can see the message box on screen with vi in stop condition.So how can I implement this?
Mike
07-12-2007 09:54 AM