RS232
Posted: Fri Jan 06, 2012 3:48 pm
Hello,
I am trying to communicate to a testing machine using flowstone 2 through a Com Port RS232. I'm using the Com port component as per attached file.
I can send a read command followed by a <CR> using a new line component and get a response back through the log.
When I do it a second time, it comes back with "?", in the manual this is an error as it did not understand the message.
It is strange I have to reboot to get it to work once, as the software that comes with the machine works as normal.
When I reboot the computer it works for the first time again, then a repeat. I've been considering where the Flow control is for RS232, as the flowcontrol should be set to none. Do I set this in flowstone?
As I am new to RS232, I know my ASCII commands need a <CR> to send but could they also need a <CR> or line feed for incoming messages?
Any examples relating to RS232 and how you manipulate/handle the response into channels or buses would really assist me.
Thank you
I am trying to communicate to a testing machine using flowstone 2 through a Com Port RS232. I'm using the Com port component as per attached file.
I can send a read command followed by a <CR> using a new line component and get a response back through the log.
When I do it a second time, it comes back with "?", in the manual this is an error as it did not understand the message.
It is strange I have to reboot to get it to work once, as the software that comes with the machine works as normal.
When I reboot the computer it works for the first time again, then a repeat. I've been considering where the Flow control is for RS232, as the flowcontrol should be set to none. Do I set this in flowstone?
As I am new to RS232, I know my ASCII commands need a <CR> to send but could they also need a <CR> or line feed for incoming messages?
Any examples relating to RS232 and how you manipulate/handle the response into channels or buses would really assist me.
Thank you