TP Send_Command for inactivity page
vining
Posts: 4,368
Has any one seen a send_command that would allow me to change the inactivity page flip page. I would like to change this based on the currently displayed page via page tracking or by other means. I currently flip to Picture Frame full screen after the inactvity timer times out but would like to change to a smaller Picture Frame window for certain pages (sort of a widow to the outside world). I've looked in Software history but didn't see anything that would work.
If there is such a command is there also one that would allow me to change the time out time as well.
I suppose I could figure this out and write code but if the inactivity page flip function is already in the system I'd prefer to use it.
Any help would be appreciated!
If there is such a command is there also one that would allow me to change the time out time as well.
I suppose I could figure this out and write code but if the inactivity page flip function is already in the system I'd prefer to use it.
Any help would be appreciated!
0
Comments
Thought I'd bump this as it's as close to what I'm looking for as I could find.
From other posts, I hear that you can't use DO_PUSH with buttons that are on the TP setup pages. I know I can make those buttons available by copying to user accessible pages, but....
I'm trying to set the inactivity page timeout value (in code) so that if the client is watching TV on a CV15, they don't have the inactivity page come up.
I hear there are some TP functions that you can call such as Reboot(), but I haven't been able to find any info or documentation about what I'm specifically looking for.
Any insight would be greatly appreciated.
Rich
There's a transparent button covering the entire inactivity page that flips to a default home page plus a couple popups when pressed.
What I originally wanted to do was set the inactivity time to 0 when the client was watching TV on the touchpanel.
Unfortunately there's no support on this touchpanel (CV15) for ^DTO and ?DTO commands.
So I tried setting up a timeline that would run during the TV watching period that would do a DO_PUSH every second on the transparent button on the inactivity page effectively hiding the page as soon as it came up.
The timeline ran fine and ran the DO_PUSH command as it was supposed to, but the page flips associated with the button press never took place. Tried emulating the button press with no luck as well.
Not sure where I'm going wrong here, as it seems like this should be a pretty simple endeavor.
** update: just realized that allowing the inactivity page to even come up would take the client away from the TV page, gotta rethink this a bit - Rich
if you're using the panel's functions to make the page flips, etc... The Do_push command doesn't work. It only happens in code.
If you do all your actions in code, you're going to have the control you need. Don't use any of the panel's built-in functions.
You can still have your normal button events that handle your normal TP pushes and this would just be for this sort of tracking.
That's basically how I'd do it too.
Thanks to everyone for the replies and Vining, thanks for that example!
Hate it when you get in a rut and spend way too much time trying to do something in what you think should be the easiest way.
Ended up using IF..ELSE with Button.Input.Device.Port conditions rather than the Switch...Case
Have yet to implement the code, but it seems like it should work.
BTW, my code implied flips but you can just sleep if you want. You could also nest additional code in the sleep waits so that after x amount of time you send sleep and then after the additonal amount of time you can then flip.
Figure if nobody pushes for 10 minutes sleep but if it's sleeping for a day then go back to the main page so when the client returns they don't have to back out from where they were the day before or earlier. Of course it all depends on the job.