Home AMX User Forum AMX Technical Discussion

One panel, multiple masters...

I have 3 rooms with their own masters and panels. They are all the same. In a fourth room there is another panel that needs to monitor and control the other 3 rooms. So I just have it connect to one of the masters and do master to master with the other two.
I'd like to use the same TP file in the 3 rooms, but I don't see how the 4th panel will be able to tell which master the feedback is coming from if the other 3 panels use the exact same channel numbers and are only independent because they are on different system numbers.

Comments

  • truetrue Posts: 307
    Have that fourth panel connect only to one master, and write code so details from each master are kept on this master organized in the order you need them and displayed accordingly.

    Without more specifics I really don't know what to say :/
  • Spire_JeffSpire_Jeff Posts: 1,917
    I am not quite sure of the actual implementation as I don't do this, but you might be able to use combine_devices() with a virtual and an array of touch panels. You would have a virtual on each master, a TP array with the local touch panel as the first device, and then button events for the 4th touch panel that add/remove the 4th touch panel from the array.

    Another method might be to set a flag if the 4th touch panel is "viewing" each master and when the flag is activated, update the feedback and respond to button pushes accordingly.

    Hope this helps,
    Jeff
  • yuriyuri Posts: 861
    Create a device array for each touchpanel which you can update with the 4th touchpanel

    DEV dvtp_1[]= {dvtp, dvtp_4}

    Something Like that :)
  • travistravis Posts: 180
    Thanks for the suggestions. I only have one master at the moment so I can't test; will this work if I master to master?

    //in first master...
    dvTP1 = 10001:1:1
    dvTP4_1 = 10002:1:1
    dvTPs = {dvTP1 ,dvTP4_1}

    //second master
    dvTP2 = 10001:1:2
    dvTP4_2 = 10002:2:1
    dvTPs = {dvTP2 ,dvTP4_2}


    The buttons on the "master" touchpanel will have port numbers corresponding to the system number of the buttons on the related touchpanel.
Sign In or Register to comment.