Author Topic: RS-232 on 32LG3000  (Read 591 times)

Gaute

  • Regular Poster
  • **
  • Posts: 33
    • View Profile
RS-232 on 32LG3000
« on: March 18, 2009, 08:55:25 pm »
Hello!
I know i have asked about this before (with no result), but now i have moved my tv and use it on another system so:

I'm trying to make my new tv work with rs-232 controll. It is a 32LG3000. I have started, made a device template and implanted a on/of command.

But when i reload the router this error comes up in the log:
Quote
74:01  03/18/09 20:47:43.059           Failed loading code: Error loading code:
error: (eval):72: compile error
(eval):7: syntax error, unexpected tIDENTIFIER, expecting kEND
log('Sending ON Command') conn_.Send("ka 01 01\r")
                               ^
(eval):14: syntax error, unexpected tIDENTIFIER, expecting kEND
log('Sending OFF Command') conn_.Send("ka 01 00\r")
                                ^, line: 72

. <0xb585bb90>

Can anybody help me with this?

Gaute

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: RS-232 on 32LG3000
« Reply #1 on: March 18, 2009, 09:04:18 pm »
you miss line breaks or ';' between the log and the send commands,

br Hari
rock your home - http://www.agocontrol.com home automation

Gaute

  • Regular Poster
  • **
  • Posts: 33
    • View Profile
Re: RS-232 on 32LG3000
« Reply #2 on: March 18, 2009, 10:07:29 pm »
Okey, i have got i working.
Is there any way i can upload it to share it with others?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: RS-232 on 32LG3000
« Reply #3 on: March 18, 2009, 10:21:10 pm »
if you do it on a 0810 installation we can commit it to the sqlCVS repository.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation