User Profile

Collapse

Profile Sidebar

Collapse
max232
max232
Last Activity: Oct 26 '07, 12:12 PM
Joined: Nov 14 '06
Location: Cheltenham
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • max232
    started a topic Special characters and hyperterminal

    Special characters and hyperterminal

    Guys,
    I'm trying to send some stuff to a remote device via RS232.
    Before coding it I want to test the string is sent and received OK via Hyperterminal.
    The string is [SYN]T[CR] or 16 54 0D in hex.
    But how do i send SYN via hyperterminal? If I type 'T' then using port monitor sw I can see that 54 is sent and the same for CR. But how do send SYN?
    Thanks in advance
    See more | Go to post

  • max232
    replied to How to handle rs232 recieved string?
    in .NET
    Thanks for the reply and please excuse my ignorance but....
    I have a class that handles all the RS232 stuff and have now located the DataRecieved event but am not sure how to use it. I have

    Region "events"
    Public event DataReceived(By val Source As Rs232, ByVal DataBuffer() as Byte)
    End region

    But how do I use this?
    Thanks....
    See more | Go to post

    Leave a comment:


  • max232
    started a topic How to handle rs232 recieved string?
    in .NET

    How to handle rs232 recieved string?

    Hi.
    I am using VB.net and am trying to establish the best way to handle data coming in on the serial port.
    I have the code
    m_commport.time out = x
    m_commport.read (y)
    dim sread as string = m_commport.inpu tstreamstring
    and the associated error handling.

    No problems there. However all this is currently within a timer tick event. Is there not an equivalent of VB6's on_comm event??

    ...
    See more | Go to post
No activity results to display
Show More
Working...