Page Tracking
remeolb
Junior Member
Is it possible to ask a touch panel what page it is on?
e.g.
Can I...
e.g.
Can I...
IF(dvTP is on page1)
{
do this
}
Comments
-
Is it possible to ask a touch panel what page it is on?
Turn page tracking on (TPAGEON) and it will send all page/popups executed back to the master.
Paul -
Does this work with current panels? I can't seem to get it to do anything with an NXD-500i.
-
You can turn page tracking on in the protected setup of the panel itself.
If you're using the tpageon command, it should be in an online event. Make sure you're not sticking it in Define_Start or something like that.DATA_EVENT[dvTP] { ONLINE: { SEND_COMMAND DATA.DEVICE, 'TPAGEON' } }
--John -
You can't query after the fact, but the page tracking will let you know at the time the page actually changes. It only reports on port 1 though, no matter what port the page's buttons are assigned to. And yest, it works with all panels, old and new.
-
DHawthorne wrote: »You can't query after the fact, but the page tracking will let you know at the time the page actually changes. It only reports on port 1 though, no matter what port the page's buttons are assigned to. And yest, it works with all panels, old and new.
The following statement is firmly in the realm of, "Why in the world would you want to do such a thing???"...
but,
I suppose one could telnet into the TP and get this kind of information fromt there.
This kind of thing is why I run my interface from code. But, that horse has been beaten into hamburger already. -
ericmedley wrote: »The following statement is firmly in the realm of, "Why in the world would you want to do such a thing???"...
but,
I suppose one could telnet into the TP and get this kind of information fromt there.
This kind of thing is why I run my interface from code. But, that horse has been beaten into hamburger already.
I don't believe the G4 telnet connection provides that kind of information. It's pretty limited. -
DHawthorne wrote: »I don't believe the G4 telnet connection provides that kind of information. It's pretty limited.
Your probably right. It's been a while since I telneted into a TP. -
By simply turning the Page tracking ON (even if ON already), the panel will reply with the name of the current page, at the desired moment in your code.
SEND_COMMAND dvTP, "'TPAGEON'"
This, if the information is needed by all means... -
Very helpful. Thanks guys!
-
Will the above command work for iPod touch/iPhone when using the tpcontrol app?
-
It works on the iPad so I assume it will work for the iPod touch and iPhone.Damo the Sumo wrote: »Will the above command work for iPod touch/iPhone when using the tpcontrol app? -
Thank you for your speedy reply Joe.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums