Results 1 to 6 of 6

Thread: [RESOLVED] Handle multiple COM ports using same AddressOf sub

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2005
    Location
    Huddersfield, England
    Posts
    83

    Resolved [RESOLVED] Handle multiple COM ports using same AddressOf sub

    I've got my serial/com port code working ok using the standard Port.DataReceived handler:

    Code:
    AddHandler Port.DataReceived, AddressOf port_DataReceived
    I now want to be able to handle multiple COM ports. Do I have to create multiple copies of the handler sub or is there a way the handler sub can tell which COM port it was called for?
    Last edited by consciouspnm; Jan 25th, 2011 at 01:27 PM.

Tags for this Thread

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