11-11-2011 02:07 AM - edited 11-11-2011 02:09 AM
Hi,
I've the following problem:
A Sub-VI which has several initialisation routines while start-up (takes about ~10sec). I want to set the cursor to 'busy' for this time.
The sub VI sets the cursor to 'busy' while start up, and after finishing the init routines the curser is set back to 'standard. When the Panel is open this works for shure,
but when the window is closed while start-up and opend then from main panel in between the init routine it doesn't work....
It seams that the (VI-)reference for setting the cursor is ignored o.s. when the panel is not open.
I think setting the cursor from main panel by using the VI-path of the sub-VI will work, but is there another way soving this?
Any suggestions?!
11-11-2011 03:28 AM
Hi,
I think what you must be doing is follow the data flow and use error clusters for setting the icon busy. Check the attached example.
Regards,
NitzZ
(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved)
11-17-2011 08:22 AM
Dear _EMG_,
i have set the cursor to 'busy' in the Initialization SubVI and it worked fine too, if the
SubVI Frontpanel is not opened.
Here is the example.
01-06-2012 03:55 AM - edited 01-06-2012 03:57 AM
Maybe need to add more description about the "VI reference". It should be the current front panel VI reference!
Sunny
01-06-2012 07:41 AM
@Sunnyliu wrote:
Maybe need to add more description about the "VI reference". It should be the current front panel VI reference!
Sunny
Ditto that.
If you are saying that ALL FP are minimized then I would look to Windows in that case. The cursor is genearlly an indication of the state of the top most app and if the VI FP are closed...
Ben
01-06-2012 09:03 AM
Enable "show FP when open" in the VI properties. Then on your BD use a VI reference and set the FP to minimize wired to in/out error cluster. The FP ctrls don't update if it FP is not open. This is a way to enable update of controls shown on your VI FP.