LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

screen lock tab control

Hi!
 
I have almost the same problem as this guy:
 
 
but my problem is that I don't have a solve. I have a tab control with ontly two pages. I you press a button on the first page, the tab control switches to the second page. Before moving to the second page, it executes a subvi, which has nothing to do with it....., but maybe useful information...
 
After that the screen freezes......the problem is that i need to inoput some data on the second screen as well....
 
anyone knows a solve?
 
(by the way, my system configuration is Pentium 4, 2. Ghz, 1 gig RAM, so I don't expect it is in there...)
0 Kudos
Message 1 of 3
(2,636 Views)
Hi Btw...,

it would be better to see your code, so I can only guess:
You propably use an event structure to detect the button press and to switch to the next page of your tab control. In this event you start your subvi. Now the event structure waits until the subvi has finished - and so freezes your main vi.  To avoid this: switch off the setting 'Lock panel until...' (found by right-clicking the event structure)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,626 Views)

thanks a lot! I think that was the problem. I didn't test it yet, but I didn't see that checkbox either.

 

 

0 Kudos
Message 3 of 3
(2,622 Views)