no button press timeout action
Dubbledex
Posts: 17
Hi AMX experts..
My VC equipment is always overheating as nobody turns it off. (well before you couldn't turn it off - but with your help I have got it powering off on the occassions when people exit on the panel).
However, many people don't exit. The credenza is shut (manually, nothing fancy) and the screens/camera then proceed to cook!
my power off just works on a simple relay switch on the amx which activates a power sequencer,
is there some code that would do the following?
Or something like that...
Thanks,
David
My VC equipment is always overheating as nobody turns it off. (well before you couldn't turn it off - but with your help I have got it powering off on the occassions when people exit on the panel).
However, many people don't exit. The credenza is shut (manually, nothing fancy) and the screens/camera then proceed to cook!
my power off just works on a simple relay switch on the amx which activates a power sequencer,
is there some code that would do the following?
Button_event {If vPanelOne no button is pushed for 2 hours & relay is on, then {PUSH:{Send_Command vPanelOne,'PPON-system shutting down'} if cancel button is pressed, reset timeout, if not switch relay off.}
Or something like that...
Thanks,
David
0
Comments
The 0 makes the button event trigger when ever any button is pressed on the touchpanel, restarting the timeline. The times array for the timeline only has one entry, and that is for however long you want for the timeout. In the timeline event, you put whatever code you want for the shutdown of the system.
Hope that helps.
Another option would be to use a named wait. Cancel the named wait on any button press, and start the named wait on the button release. That will create the inactivity timer you are seeking. My example below is lengthy, but is intended to be readable and demonstrate one approach for this.
In some venues we also allow people to blank (video mute) the projectors. If a projector is blanked for 30 minutes we assume they don't want to use it any more so we turn it off but leave the rest of the system running.
Roger McLean
Swinburne University