Jump to content
C4 Forums | Control4

shawn@completeav.us

c4Forums Member
  • Posts

    7
  • Joined

  • Last visited

shawn@completeav.us's Achievements

  1. I got it figured out. My code works, but the hex command was off. [EDIT]. It was wrong in the documentation. should be 00 not FF for all displays. thanks for all the help
  2. Thanks, that makes sense. I made some changes but it's still not working. I'm not sure if it's a problem in the way I have my connections set up. I put the code here: https://gist.github.com/shelbydz/5ba93a77b61a507e643d993e0964fb03 thanks for the continued help
  3. Thanks Alan, I guess that's what I thought SendToSerial() did. Or am I sending the wrong binding id? Thanks
  4. I'm writing a very simple serial driver to control On/Off for a video wall. I loaded the driver onto our director and made the physical and composer connections, but when I issue the power on command, the display doesn't do anything. I have the following code: CMDS_SERIAL = { --Power ["ON"] = "F5 88 FF FE FE 01", ["OFF"] = "F5 88 FF FE FE 00", --Input Toggle ["DP"]= "F5 88 FF FE 01 01", ["HDMI"]= "F5 88 FF FE 01 02" } function ReceivedFromProxy(idBinding, strCommand, tParams) if CMDS_SERIAL[strCommand] ~= nil then C4:SendToSerial(idBinding, tohex(CMDS_SERIAL[strCommand])) print("sending " .. strCommand) print("command is " .. CMDS_SERIAL[strCommand]) else print (strCommand .. " command not found") end end I know the hex commands work. I can connect to the displays directly via serial wire and putty. I can turn the display on and off that way. I imagine I am just missing something simple. thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.