Kramer 64 Matrix Protocol
thepainter
Posts: 69
Is anyone familiar with the Kramer 64 Matrix Protocol. From the manual the Hex code for Input 1, Output 1 = 01,81,81,81. I'm not sure if I am writing the code right or if I have the dreaded NI-3000 com port problem (new to AMX Programming)
PUSH [TOUCH_PANEL,188] //CAMERA
{
SEND_STRING MATRIX, ' "$01,$81,$81,$81" '
}
Thanks,
Paul
PUSH [TOUCH_PANEL,188] //CAMERA
{
SEND_STRING MATRIX, ' "$01,$81,$81,$81" '
}
Thanks,
Paul
0
Comments
The string you are sending looks correct for switching video input 1 to output 1. I can't remember how forwards-compatible the old Axcess coding is with NetLinx, but you could try the following:
I haven't used these Kramers for a while, but here are a few functions that may make it easier for you.
And finally, from our slew of Kramers that we've had here in the past I've seen three different protocols, depending on the vintage of the matrix switcher. The above examples are called "Kramer Protocol 2000". There was an older protocol which only used 3 bytes rather than 4. I saw this on a 5x4 switcher. These older units do not support audio breakaway.
Hope this helps.
Roger McLean
Swinburne University.
Lose the single quotes in your send string line. Then it should work fine...
Single quotes indicate a pure ASCII string to be sent.
So it must be:
SEND_STRING MATRIX, "$01,$81,$81,$81"
Thanks again for the quick responses and I am keeping my fingers crossed that the coding is the solution.
Paul
This is a powerfull tool to debug serial protocol issue's
Paul
"$01,$81,$81,$81"
which is absolutely incorrect. It will not in any way shape or form be sending the hex values that you want to send.
Instead it will send a string made up of the hex value of ", then the hex value of $, then the hex value of 0, then the hex value of 1, etc... (watch it in notifications and you will see $22,$24,$30,$31 etc...
SEND_STRING MATRIX "$01,$81,$81,$81" will actually send a string made up of the hex value $01then the hex value $81 etc..
PUSH [TOUCH_PANEL,188] //CAMERA
{
SEND_STRING MATRIX, "$01,$81,$81,$81"
}
or (as Anuello suggested ...... I started out learning with Axcent so some Axcent code creeps in)
button_event [TOUCH_PANEL,188]{
push:{
send_string MATRIX,"$01,$81,$81,$81"
}
}
Is this correct? Just for future reference - Newbie learning as I go.
Thanks
Paul
Your commands are indeed correct, but as has been said, watch your syntax.