G4 panel channel port
yuri
Posts: 861
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
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
0
Comments
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
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...