LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Rs 232 controlling an external device.

Hello ,
I am new to using the RS 232 and have a couple of questions which I am not able to find in books about Rs 232,
I am controlling or communicate with a microcontroller over Rs232 and reading data that it sends back to the Pc.(in CVI).
However I need  to ask which is the standard protocol for establishing that the external device is connected to the bus and now the PC is allowed to send data and how do I determine that the microcontroller is now ready to receive data or ready to send data,
I suspect that this is done by RTS and the CTS lines .
when the PC is ready it puts a high on the RTS Line and then the Controller must set a High on the CTS line then the PC sends data as long as the CTS line is high.
could the inverse also be true That if the RTS is High the controller sends data .
Understanding this hand shaking is difficult for me.
The Voltage levels at these line a High what voltage level denotes this and a low denotes ?
Thank you very much
 
0 Kudos
Message 1 of 3
(3,279 Views)

Hi wenko,

On the link below, you will find several links to serial comm documents, which answers all of your questions. 

http://zone.ni.com/devzone/cda/tut/p/id/4370

I hope it helps!

Evrem

Message 2 of 3
(3,250 Views)

Hallo Evrem,

Thank  you for the link I am sure it will help me thank you again

Message Edited by wenko on 01-04-2007 12:32 PM

0 Kudos
Message 3 of 3
(3,235 Views)