ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disabling the ront panel

Hi guys, is there a way to disable a front panel, like how you can disable a control?

 

I want to freeze some of my VI's say, after 5 minutes of inactivity.

 

Tyhanks inadvance for the help!!

0 Kudos
Message 1 of 6
(3,642 Views)
Message 2 of 6
(3,639 Views)
Can you get away with simply using Set Busy.vi to disable the cursor & keyboard?
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 6
(3,618 Views)

Say that you freezed the VI, then how will you unfreeze them?

What exactly are you trying to do?

Setting the mouse/keyboard busy is a good option.. 

 

 

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 4 of 6
(3,608 Views)

Another option is to use a modal popup, like a logout.

 

I do this in state machine architectures when user login is required, when the system has been idle for too long goto the login state, in this state I hide the FP and popup a modal login screen.

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 5 of 6
(3,590 Views)
Yet another way is to use a large, transparent button over the controls you want to disable, and set this to Visible with a property node to lock out users. This doesn't lock out hotkeys, however.
Richard






Message 6 of 6
(3,582 Views)