Master to Master Communications - Button Press?
jabramson
Junior Member
I have 2 separate systems that I would like to link together.
Master A (Master Master) I have full control over as I have the code for this one.
Master B (Slave) I have limited control over as I do not have to the code for this.
I would essentially like to have Master A "press" a button on master B (or at least on a TP connected to Master A).
What would be the best way to handle this (I'm new to M2M). I do have the 2 units talking and have sent strings to the ports on B from A.
Master A (Master Master) I have full control over as I have the code for this one.
Master B (Slave) I have limited control over as I do not have to the code for this.
I would essentially like to have Master A "press" a button on master B (or at least on a TP connected to Master A).
What would be the best way to handle this (I'm new to M2M). I do have the 2 units talking and have sent strings to the ports on B from A.
Comments
-
Hi jabramson,
Pressing a button on a TP via code is being done with the DO_PUSH function (Search the Netlinx Help for details).
But if the referenced panel is connected to the Slave system then the DO_PUSH might not help. Read this thread
for more info:
http://www.amxforums.com/showthread.php?8852-Emulate-TP-Button-Press-in-Code -
I was able to figure this out. It was ridiculously easy, not sure why I was making it so complicated. here is the code in case anyone needs to do the same. No changes were made on Master 1, only on Master 2.
Added Master 1 in Master 2 URL listDEFINE_DEVICE dvTP1Remote = 10001:1:1 (*Touch Panel Remote Connected to System 1 - Note System Number..This is also the name device number as the number on Master 1*) dvTP2Local = 10002:1:0 (*Touch Panel Local Connected to System 2 - Note System Number*) DEFINE_EVENT BUTTON_EVENT[dvTP2Local,###] //Some Button Number (same button number as master 1 panel 10001) { do_push (dvTP1Remote,BUTTON.INPUT.CHANNEL) }
That's it!
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