Read RXD line in RS232
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Read RXD line in RS232

  1. #1
    Join Date
    Jan 2009
    Posts
    1

    Read RXD line in RS232

    Hello

    I use WriteFile etc. function to access COM port in PC. I can read DSR,CTS linie when I use GetCommModemStatus() but not RxD. Is posible to read state RxD linie in this port?


    regards

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,604

    Re: Read RXD line in RS232

    The GetCommModemStatus function retrieves modem control-register values.
    But RXD (Receive Data) is
    The data signal to the PC. What the user sees from the remote host.
    You have to use ::ReadFile API to read this data. See Serial Communications in Win32
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center