Jump to content

Take action after front panel inactivity


Recommended Posts

Posted

Hi,

I have been breaking my head on this function for my program.

The function is that after for example a time of 10 minutes in which nothing on the front panel has been touched by a user,

a tab control should jump to tab 3.

Because the program constantly runs a webcam capture loop, I can not use modules that cause wait time etc.

Does anyone of you smart guys know the answer?

Thanks!

Posted

If you use events, you could set the timeout event to get fired after the desired time of inactivity. Else, you can implement a while loop that checks the amount of time elapsed. Add a queue or notifier to inform this loop it must reset the count when another control has been pressed, etc.

Saludos,

Aitor

Posted

Here is something that I think could be modified for your purpose. It was designed for lab stations that have corporate mandated inactivity lockout, causing you to have

to login to the workstation again if you leave it unattended for a period of time.

Mike Sachs

iSG Technologies

Posted

QUOTE(sachsm @ Feb 7 2008, 01:58 PM)

Here is something that I think could be modified for your purpose. It was designed for lab stations that have corporate mandated inactivity lockout, causing you to have

to login to the workstation again if you leave it unattended for a period of time.

Mike Sachs

iSG Technologies

Thank you very much for the tips, I will be trying them next week when I am back form my work trip!

Bye!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.