Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Serial Port Access in VB

Serial Port Access in VB

Scheduled Pinned Locked Moved Article Writing
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alok Pradhan
    wrote on last edited by
    #1

    I wanted to know whether it is possible to access individual pins of a serial port using the MSComm control in VB.I want to interface the Pc with an ADC card, and need to know whether it is possible to send Start _of_Conversion pulse to the ADC using the MSComm control. I'm using this for real time data acquisition.So I wanted to know whether it is a good idea to use the serial port in the first place. :confused:

    L 1 Reply Last reply
    0
    • A Alok Pradhan

      I wanted to know whether it is possible to access individual pins of a serial port using the MSComm control in VB.I want to interface the Pc with an ADC card, and need to know whether it is possible to send Start _of_Conversion pulse to the ADC using the MSComm control. I'm using this for real time data acquisition.So I wanted to know whether it is a good idea to use the serial port in the first place. :confused:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Is the ADC card external to the PC? If the MSComm control has control of the DTR / DSR lines, then you can use one those to pulse the serial port. As to the real-time aspect, that depends upon how fast you need the real-time acquisition to take place. A serial port is deterministic in that it can move data at a constant rate, but Windows is not a real-time operating system, so it may take time to receive that data. If you only need a few conversions per second, then you should be fine, depending on how much data there is to move.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups