quick binary question
Jeff
Posts: 374
I'm working with a Kramer 6-1 VGA Switcher that has a rather simple 232 interface. I'm linking the protocol guide below
here
I've never dealt with this before so I wanted to double check, as I don't have a model in front of me to test with. The way I'm reading it, as long as my machine number is 1 (so N6N5N4 is 000), the number I'm sending for the input I want to switch to is just that input number (i.e., 00000011 for input 3, 00000101 for input 5).
If thats the case, do I just send it in decimal or hex? something like
Will both of those work? If sending it in decimal works, can I do this?
assuming dvSwitchBtns is an array of 6 buttons from 39 to 44, which should switch the VGA switch to inputs 1-6 respectively?
Thanks
here
I've never dealt with this before so I wanted to double check, as I don't have a model in front of me to test with. The way I'm reading it, as long as my machine number is 1 (so N6N5N4 is 000), the number I'm sending for the input I want to switch to is just that input number (i.e., 00000011 for input 3, 00000101 for input 5).
If thats the case, do I just send it in decimal or hex? something like
send_string dvVGASwitch,"$06" or send_string dvVGASwitch,"6"
Will both of those work? If sending it in decimal works, can I do this?
button_event [dvTP,dvSwitchBtns] { push: { send_string dvVGASwitch,"button.input.channel-38" } }
assuming dvSwitchBtns is an array of 6 buttons from 39 to 44, which should switch the VGA switch to inputs 1-6 respectively?
Thanks
0
Comments
Also, in my original example, I had the 6 by itself in double quotes, but not single. Thats decimal, not ASCII, right? Just want to make sure
J
Decimal, in the sense of binary!