10-16-2020 10:46 AM
I've got a few TCP-2230's that I'm using as HMIs for equipment in our shop. I was wondering if there was a way for my VI to be aware of the hibernate/sleep state of the screen?
The issue is the way to wake it up is to tap the screen, but the VI will register that as a button press if you happen to hit the location where a button is, and of course if you aren't very familiar with the equipment you have no way of knowing where the buttons are if the screen is off. I've got all my controls on a tab control that is larger than the actual screen, and it switches to a tab with only a string indicator while the vi is initializing, and establishing connections with the various things it needs to connect to. So, if the VI was aware of the hibernate status of the TPC I could have it just automatically tab over to that until woken up.
I'm aware I could just set the screen's to never sleep, but I'd rather not if it could be avoided.
My other idea is to set the VI up to automatically tab over on a timer, and set that the same as the sleep timer for the PC, but that seems a little clunky.
10-23-2020 08:27 AM
Timer it is: