LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically determine if TPC is hibernating

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.

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

Untitled.png

Timer it is:

timeout.png

mouse down.png

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