PLUS+1 User Forum

PLUS+1 Software => Displays => Topic started by: gregbosma on April 25, 2024, 07:30:10 PM

Title: DP720 Touchscreen Inactivity Timer
Post by: gregbosma on April 25, 2024, 07:30:10 PM
Hi all!

On a DP720 touchscreen program, I have a customer who would like a timer that logs people out of a password-protected page after a certain amount of inactivity. What's the best way to define inactivity?

Tying this timer to the navigation buttons is no problem, but what about touchscreen taps? Is there a quick and easy way to see if anywhere on the screen has been touched?
Title: Re: DP720 Touchscreen Inactivity Timer
Post by: Camox on April 29, 2024, 08:54:22 AM
Hi, there,
If we look at the touchscreen inputs, I would test the X and Y values in the State bus to check that the touchscreen is not being used.

(https://i.ibb.co/wKGcsKr/Capture-d-cran-2024-04-29-085217.png) (https://ibb.co/wKGcsKr)

Have a nice day