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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Serial port interfacing

Serial port interfacing

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++iotworkspace
3 Posts 3 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.
  • S Offline
    S Offline
    srija
    wrote on last edited by
    #1

    am a novice in working with VC++,actually am working on sensor interfacing, could anybody help me with Port configuration of the serail port interfacing. After configuring the port by default parameters like baudrate,etc, i should send telegram code in HEX to sensor, but am getting an error message. I couldnt proceed further. I would appreciate, if anybody helps me out. srija

    M D 2 Replies Last reply
    0
    • S srija

      am a novice in working with VC++,actually am working on sensor interfacing, could anybody help me with Port configuration of the serail port interfacing. After configuring the port by default parameters like baudrate,etc, i should send telegram code in HEX to sensor, but am getting an error message. I couldnt proceed further. I would appreciate, if anybody helps me out. srija

      M Offline
      M Offline
      Milton Karimbekallil
      wrote on last edited by
      #2

      be more specific, then it will be easy to suggest a solution. Which API call failed? whats the error code returned? Use ::GetLastError() API to see the error code. rgds...mil10

      1 Reply Last reply
      0
      • S srija

        am a novice in working with VC++,actually am working on sensor interfacing, could anybody help me with Port configuration of the serail port interfacing. After configuring the port by default parameters like baudrate,etc, i should send telegram code in HEX to sensor, but am getting an error message. I couldnt proceed further. I would appreciate, if anybody helps me out. srija

        D Offline
        D Offline
        Dan McCormick
        wrote on last edited by
        #3

        What function (or method) is returning an error code to you and what is the error code? Dan

        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