To Receive Hex value from serial port.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rameez Akbar
    New Member
    • Mar 2013
    • 1

    To Receive Hex value from serial port.

    Hi,

    I have a micro-controller based circuit. I need to make a software interface. I am a beginner in VB.net. So far I have managed to do the transmission from software to the hardware successfully, I still cannot figure out how to do the 'receiving' part.

    The task is to create a 'Test Connection' button. On pressing the button, a hex signal (say 'FF') will be sent to the controller and the controller will return a hex value as an acknowledgement (in a successful communication, the controller returns the same value. So 'FF' in this case). The software needs to receive it and verify whether the received signal is the same as the one sent.

    Thanks in Advance.
Working...