Hi,
Is it possible to monitor key press events? We want the display to monitor key press events during an x amount of time and trigger an action with that if nobody presses a key during that period.
I am using a PV480, but imagine this would be all the same for the color displays.
Mario
Monitor key press
- verschuren
- Posts: 79
- Joined: Wed Oct 28, 2015 8:40 am
Monitor key press
Mario Verschuren
Controls Integration
Controls Integration
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Monitor key press
You can do this by monitoring the KeyManager.KeyState. The system puts the key number in the KeyState variable when a key is pressed. It worked on my PV780, hopefully it will work the same on the PV480. I just made a Keypress Reset Event that fires when the KeyState changes. In that event you can add actions to fire an event to reset a timer, etc.
Boyce Schrack
Enovation Controls
Enovation Controls
- verschuren
- Posts: 79
- Joined: Wed Oct 28, 2015 8:40 am
Re: Monitor key press
Hi Boyce,
That was the missing link. I can make something work with that. The PV480 seems to have the same variable KeyManager.KeyState.
Thanks!
Mario
That was the missing link. I can make something work with that. The PV480 seems to have the same variable KeyManager.KeyState.
Thanks!
Mario
Mario Verschuren
Controls Integration
Controls Integration