Home AMX Design Tools

G4 panel channel port

Hi,

does the Channel Port number in TPD4 work the same as the "Devices Used" option in TPD3?
Im programming a system which has a G4 panel as well as a G3 panel. I need more than 255 buttons so an extra device is needed, but i can't use button number >255 in TPD4 because then my G3 panel won't support them, hence the question :)

Regards,
Yuri

Comments

  • GSLogicGSLogic Posts: 562
    The ports in the G4 panel add devices but keep the same address number, unlike below.
    10001:1:0
    10001:2:0
    10001:3:0
    10001:4:0

    "Devices Used" will give you up to 4 total devices (255x4), but they won't follow the G4 buttons because they are virtual G3 panels.
    128:1:0
    129:1:0
    130:1:0
    131:1:0
  • alexanboalexanbo Posts: 282
    To get around this you can use an array of devices.

    So do something like

    dev dvTP2[] = {10001:2:0,129:1:0,10002:2:0}

    and then you can write code like:

    button_event[dvTP2,[1-255]]
    {
    push:
    {

    }
    }

    and then it abstracts what the actual device numbers are...
  • yuriyuri Posts: 861
    nice, thanks for the answers. Made it clear :)
Sign In or Register to comment.