LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lock Frontpanel when user takes no activity in a specified time

Hello !

I have a PanelPC with Touchscreen and want to lock the frontpanel when the user doesn't make an input for a specified time. After this time the frontpanel locks and shows a password input to unlock the frontpanel. How do i detect if the user makes no input ? The VI has to run, because it makes an automatic control/ regulation of a factory. I found an example with a password protection, but i don't know how to detect the user input. Can anyone help me ?

0 Kudos
Message 1 of 2
(2,261 Views)

You can monitor the "mouse events" and also the "keypress events (using the keyboard)" and with this FP can be locked/unlocked based on the time out. 

 

Create an event structure so that it will be easy to handle the mouse events. Add another frame of this event structure which can be used for handling the timeout and when ever a event occurs on the FP you can reset it to 0

Regards
Guru (CLA)
Message 2 of 2
(2,255 Views)