hello
I tring to send a serial code to a hitachi cp-x2011n
here a snip of code I tring to send
SendCommand(\xBE\xEF\x03\x06\x00\x2A\xD3\x01\x00\x00\x60\x\x00\x00)
and here is error I am getting
198:01 02/11/16 1:43:34.261 Failed loading code: Error loading code:
error: (eval):196: compile error
(eval):52: syntax error, unexpected $undefined, expecting ')'
SendCommand(\xBE\xEF\x03\x06\x00\x2A\xD3\x01\x00\x00\x60\x\x00\x00)
^, line: 196
Names Operation Type Header Command Data
CRC Action Type Setting Code
Power Set Turn off BE EF 03 06 00 2A D3 01 00 00 60 00 00
Turn on BE EF 03 06 00 BA D2 01 00 00 60 01 00
Get BE EF 03 06 00 19 D3 02 00 00 60 00 00
dark
You start with ( and ' - but you end only with ) instead of ' )
that did not seem to work..
so I uploaded technical info on it..
http://www.filedropper.com/11technicalmanual
maybe some one could see if I am doing this wrong..
this what I tried.
made a new template for the projector.... selected generic serial device control rs232c
then for power on and off I used the sendcommand('\xBE\xEF\x03\x06\x00\xBA\xD2\x01\x00\x00\x60\x01\x00\)
that did not seem to work.
but in tech manual says it has tcp port 23
when I try to telnet in that port it timesout
dark
Quote from: darkwizard864 on February 11, 2016, 05:44:55 PM
then for power on and off I used the sendcommand('\xBE\xEF\x03\x06\x00\xBA\xD2\x01\x00\x00\x60\x01\x00\)
Again, the end is wrong. Try
sendcommand('\xBE\xEF\x03\x06\x00\xBA\xD2\x01\x00\x00\x60\x01\x00')
if it still doesn't work, you have a connectivity issue, that you need to check first.
thank you posed that seemed to work