11-23-2010 03:13 PM
11-23-2010 03:23 PM
How can you add a watchdog that has no paws??? If it's part of the main VI it will be stopped too. You could only tell after you un-paused that it ever paused. I think the OP needs feedback that the VI is currently in a paused state.
11-23-2010 03:31 PM
From the sounds of it all that is needed is to know if the code has been paused so that the devices can be re-configured when resumed. It isn't the most elegant solution but it seems that it would work(the band-aid approach)...and would not require a major achetectural change.
11-23-2010 03:31 PM - edited 11-23-2010 03:36 PM
11-23-2010 03:46 PM
Shouldn't that be "had been paused" then?
You're right though, the OPs second post makes it clear. Besides the inherent impossibility of course!
11-23-2010 03:47 PM
From the "Where there is a will, there is a way department", here you go. Unzip the attachment and run the "IsVIPaused.vi", hit pause a few times.
This also falls under the "Now that you know how it is done, don't do it" category. The state machine approach and hiding the toolbar from the running application is really the way to go.
Sorry about the Password on the XControl facade, the IsVIPaused property that altenbach mentions is the 'wrong' color at least in LV9. I am sure the savvy LV users will guess very quickly how it is done.
11-23-2010 03:53 PM