How to control the UI from the AMX master?
winstonma
Posts: 45
Now my situation is.. I have 2 panels controlling 2 rooms (sharing). Both panels can control both room1 and room2.
But I just want to make sure that each room is controlled by 1 room only. So I want panel1 to show up a warning message when room1 is currently controlled by panel2. And allow panel2 to further control room1 (switch the UI to another page) once panel2 is not controlling room1.
Thanks for the help.
But I just want to make sure that each room is controlled by 1 room only. So I want panel1 to show up a warning message when room1 is currently controlled by panel2. And allow panel2 to further control room1 (switch the UI to another page) once panel2 is not controlling room1.
Thanks for the help.
0
Comments
dvMyTps is a dev Array containing your touchpanels,
nMyRoomButtons an array containing your two Channel Codes of the buttons that lead you to the rooms.
nMyExitButton as a button on the room page that is pushed when the user finishes controlling the room
are things a little bit clearer?
For example if there is conflict I will load Page A... otherwise I'll load Page B. How can I do that on Netlinx Master?
It depends on how you did make this sharing?
a send_command to the touchpanel device, I don't know the command, as we use a Library with a function doing this. but it is in a tp programming manual... i can't tell more for the moment
if you use the examplew with
SEND_COMMAND dvTPa, "'PAGE-DVD'" (careful with " and ' !)
in TP4Design you name one page "DVD" and the other page "ERROR". or wasn't that the question?