Page 1 of 1

COM Port RS232 Help!

Posted: Fri Sep 26, 2014 3:49 pm
by Subquantum
Can some one point me to a good RS-232 Tutorial?

I have been trying to open an RS-232 connection with a Comfile cubloc CB320. I keep getting a message in the Com Port log: "Trying to connect to COM5 - Failed to set configuration"
I'm using port 5, Baud 115200, stop 1, parity 0. I am using a USB to RS-232 cable adapter with the installed driver. I can send the word "Hello" from the cubloc to a Hyper terminal window. so I know the physical connection is good. I closed the hyper terminal window to make sure there is no conflict. The Com Port component does see COM5, but fails to connect. The documentation is sparce on the Com Port and I have no found much on the forums.

I want to use Flowstone to create a GUI app to control a cubloc which has A/D, IO, and PWM Ports.

Re: COM Port RS232 Help!

Posted: Fri Sep 26, 2014 5:44 pm
by Subquantum
I solved the problem by going back and reading the component reference guide for the com port more carefully.

"Stop bits (0 for 1, 1 for 1.5 and 2 for 2). Defaults to 1 stop bit."

I was entering '1' for 1 stop bit when I should have entered '0' for 1 stop bit. Doh!!!