LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set the cursor busy steered by supanel vi

I let run a vi and there is a subpanel. Is there a way that I can set the cursor busy steered by the subpanel vi. I pass the reference of the mainvi over a global variable into subvi. Without success there is no error message but the busy cursor does not appear. Just setting the cursor in subvi creates a null window error. Is there a easy way to implement it. Or do I have to use user events in main vi called by suvi an then se it busy. Would be not so nice to understand it later.
 
kind regards reto
0 Kudos
Message 1 of 5
(4,168 Views)
Hi,
I try to implement it, but do not encounter your problem.
 
In mainvi
1. Pass mainvi reference to a global.
2. Insert subvi reference to sub panel.
3. Run subvi by reference and do not wait until done.
In subvi
1. All in a infinite while loop.
2. Read mainvi reference from global.
3. Set cursor busy.
 
The only problem I encounter is that since the cursor is set busy in mainvi, it is unable to close the mainvi by click Abort Exec button. 🙂
 
I don't think it is a good idea to set cursor busy steered by the subpanel vi.
0 Kudos
Message 2 of 5
(4,157 Views)
Are you setting busy in the subvi?
0 Kudos
Message 3 of 5
(4,153 Views)
I attach my test VI (LV 8.0). You can try it.
Download All
0 Kudos
Message 4 of 5
(4,150 Views)
Thank's: It's working well.
0 Kudos
Message 5 of 5
(4,146 Views)