RS232 control

If you have a question or need help, this is the place to be.

RS232 control

Postby Fulltopuk » Thu Dec 09, 2010 10:30 pm

Hi

I am new to eventghost but am finding it is absolutely brilliant.

I am using RS232/Serial plugin to control my lighting system (helvar) but have a small problem.

I try to read back the command acknowledgement with a serial read straight after the serial write.

But I do not see any data in the event window.

Does anyone know if I am correctly expecting the data to appear or do I need a different approach?

Thanks

Fulltopuk
Fulltopuk
 
Posts: 3
Joined: Wed Dec 01, 2010 10:10 pm

Re: RS232 control

Postby Pako » Fri Dec 10, 2010 7:26 am

Perhaps this might help.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic

Re: RS232 control

Postby Fulltopuk » Fri Dec 10, 2010 11:07 pm

Thanks Pako

But how do I use the {eg.result}? Do I add it after the serial sent command or do I format it another way. Sorry I am missing this but I just don't quite understand the syntax.

Thanks
Fulltopuk
 
Posts: 3
Joined: Wed Dec 01, 2010 10:10 pm

Re: RS232 control

Postby Pako » Sat Dec 11, 2010 6:08 am

How can I respond?
I do not know what data you expect and what to do with them then put you intend to do.
It would be best if you said an example.

Pako
User avatar
Pako
Plugin Developer
 
Posts: 1282
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic


Return to General Support

Who is online

Users browsing this forum: Bing [Bot], Google Adsense [Bot] and 3 guests

cron