News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

RS-232 on 32LG3000

Started by Gaute, March 18, 2009, 08:55:25 PM

Previous topic - Next topic

Gaute

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:
Quote74: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

you miss line breaks or ';' between the log and the send commands,

br Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

Gaute

Okey, i have got i working.
Is there any way i can upload it to share it with others?

hari

if you do it on a 0810 installation we can commit it to the sqlCVS repository.

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation