CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2014
    Posts
    3

    Problem with Serial port

    Hi coders
    I gotta check if the CTS pin is connected to RTS and this must be done with timers, It should check the pins every 1ms and if CTS was connected to RTS, it must change a label's text. I really have no idea how to do that!
    dot net frame work 3.5 within Visual studio 2010.

    I certainly need your help
    Thanks in advanced

  2. #2
    Join Date
    Jan 2014
    Posts
    3

    Re: Problem with Serial port

    No expert there?? honestly, to me
    This site reminds the story of an ancient cemetery!
    Any way I got my answer. I just enabled RTS using this syntax: RtsEnable = true. Then checked CTS stat using a timer:

    timer1.Tick()
    {
    if ( Cts.Holding == true )
    {
    //commands
    }
    }

    Thanks for the huge amount of visitors, Who just visited and never replied!

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured