How can I get feedback from DVX-3155HD
Hallo everybody!
Need help: I can't get feedback from matrix inside DVX-3155HD. I do in programm SEND_COMMAND 5002:1:0,"'VI1O1'" And it works.
Befor in my programm CREATE_BUFFER 5002:1:0, fb_Matrix
Then I do SEND_COMMAND 5002:1:0,"'?OUTPUT-VIDEO,1'" But I can't receive any symbol.
Help me please! Perhaps I try to receive feedback from wrong port?
Need help: I can't get feedback from matrix inside DVX-3155HD. I do in programm SEND_COMMAND 5002:1:0,"'VI1O1'" And it works.
Befor in my programm CREATE_BUFFER 5002:1:0, fb_Matrix
Then I do SEND_COMMAND 5002:1:0,"'?OUTPUT-VIDEO,1'" But I can't receive any symbol.
Help me please! Perhaps I try to receive feedback from wrong port?
0
Comments
Try removing that create_buffer and use this to see if you get something back:
Data_EVENT [5002:1:0] //Or better yet define the switch device in define_device. dvSysSwitch = 5002:1:0 { String: { //Put nothing here because you don't need string information } Command: { local_var char cNewReply[50] local_var integer tin local_var integer tout cNewReply = "data.text" //Just like the String Handler, the Command Handler stores replies in the data.text field fb_Matrix = "fb_Matrix,cNewReply" //Put logic to parse buffer here. The commands coming back should all look like this "SWITCH-LVIDEOI3O2" } }Also the DVX uses channels and levels on different ports to indicate which inputs are going to which outputs. For example if you send video input 6 to out 2 with this command: VI6O4 (or the old-school CLVIDEOI6O4) the DVX will reply:
And if you're using audio AI6O4 (or the old-school CLAUDIOI6O4) the DVX will reply:
Note though the channel and level events only happen when switching to a different input than the current one.
I hope this helped.
Edit: feddx beat me to it. Another note, turn on diagnostics for device 5002 all ports and watch how much info the switcher gives out, there are several ways to use that data to drive feedback
I take this code:
DEFINE_EVENT BUTTON_EVENT[dvTP,48] { PUSH: { [dvMatrix,210]=![dvTP,48] } } BUTTON_EVENT[dvTP,51] { PUSH: { [dvMatrix,213]=![dvTP,51] } } DEFINE_PROGRAM [dvTP,48]=[dvMatrix,210] //Video Mute [dvTP,51]=[dvMatrix,213] //Video FreezeAnd it works! It is realy save a lot of time! Thank you!