Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Joe Gold
02/05/10 11:04
Read: 135 times
Melbourne
Australia


 
#172919 - Other RS232 Signals on connector
Responding to: Andy Neil's previous message
check out http://www.aggsoft.com/rs232-pinout-cable/pinout-and-signal.htm and
http://www.lammertbies.nl/comm/info/RS-232_flow_control.html There are few hardware signals.

The trick is see weather you PC program has direct access to theses RS232 hardware signals.

Some programming languages don't allow lower level hardware access to the RS232 signals.

For C# you can use the SerialPinChange Class on the SerialPort object.
See here http://msdn.microsoft.com/en-us/library/system.io.ports.serialpinchange.aspx

IE you can test on the PC weather a PIN has changed state for the following signals (PC is DTE)
CtsChanged The Clear to Send (CTS) signal changed state. This signal is used to indicate whether data can be sent over the serial port.

DsrChanged The Data Set Ready (DSR) signal changed state. This signal is used to indicate whether the device on the serial port is ready to operate.

CDChanged The Carrier Detect (CD) signal changed state. This signal is used to indicate whether a modem is connected to a working phone line and a data carrier signal is detected.

Ring A ring indicator was detected.

Break A break was detected on input.

Joe

List of 6 messages in thread
TopicAuthorDate
DCE and DTE      Robert Henneke      02/05/10 08:51      
   DCE = Modem      Andy Neil      02/05/10 09:53      
      Other RS232 Signals on connector      Joe Gold      02/05/10 11:04      
   Terminal program      Robert Henneke      02/05/10 11:35      
      If it's not a DCE (modem), then it must be DTE      Andy Neil      02/05/10 12:26      
   V.24: Definitions for interchange circuits between DTE & DCE      Andy Neil      02/05/10 13:07      

Back to Subject List