Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

COM Port RS232 Help!

For general discussion related FlowStone

COM Port RS232 Help!

Postby Subquantum » Fri Sep 26, 2014 3:49 pm

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.
User avatar
Subquantum
 
Posts: 24
Joined: Tue Mar 11, 2014 10:20 pm
Location: USA

Re: COM Port RS232 Help!

Postby Subquantum » Fri Sep 26, 2014 5:44 pm

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!!!
User avatar
Subquantum
 
Posts: 24
Joined: Tue Mar 11, 2014 10:20 pm
Location: USA


Return to General

Who is online

Users browsing this forum: No registered users and 100 guests