Page 1 of 1

RS232 serial open

Posted: Fri Aug 13, 2010 11:27 am
by jltsale
I am using bidirectional communication via RS232 with Lutron homeworks. I use an autorun cuesheet on Marquee startup to close the serial port and then open the serial port with


wait 5 seconds


It opens the port MOST of the time. Sometimes it does not. The Lutron port is open all of the time. Can any one think of a reason that the command would not work everytime?

Re: RS232 serial open

Posted: Sat Aug 14, 2010 9:13 am
by BrianEvans
If you exitted without closing the port, this is most likely the problem.
The macro you are using is only a macro inside of the software,
if the software launches, and WIndows comes back with a port not avaibale error,
this would cause problems.

If you are using macros to restart and such, be sure to close the port out before exitting.

Re: RS232 serial open

Posted: Tue Aug 17, 2010 11:36 am
by jltsale
I will close the port as part of my reboot sequence. How should I proceed when the program crashes?

Re: RS232 serial open

Posted: Tue Aug 17, 2010 6:09 pm
by BrianEvans
One thing you may want to try is a delay BEFORE the serial close command.
I have noticed that system level things can get missed when so much is going on when launching the software.