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. General Programming
  3. C / C++ / MFC
  4. How to reach external devices?

How to reach external devices?

Scheduled Pinned Locked Moved C / C++ / MFC
game-devtutorialquestion
4 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.
  • C Offline
    C Offline
    cemlouis
    wrote on last edited by
    #1

    Hi to all, I need sources for programming external devices, actually I have to make a program to control electronic circuit boards... I collect some info from the net and I think it is easier to reach circuit boards with serial ports. Finally I guess there are some resources out there and if someone post these, I really will be gratefull to him/her... Thanx in advance. Not: I need these resources for our project (to add real physics to our robot project in school)...

    T K 3 Replies Last reply
    0
    • C cemlouis

      Hi to all, I need sources for programming external devices, actually I have to make a program to control electronic circuit boards... I collect some info from the net and I think it is easier to reach circuit boards with serial ports. Finally I guess there are some resources out there and if someone post these, I really will be gratefull to him/her... Thanx in advance. Not: I need these resources for our project (to add real physics to our robot project in school)...

      T Offline
      T Offline
      Toni78
      wrote on last edited by
      #2

      There are a few Serial Communications classes around here (in codeproject) that help you have access to a serial port. You could search for them (I would give you the links but I don't remember where they are. I also need to go to bed, I am very tired). But, being an electrical engineer myself I have always programmed devices by dumping the binary the code into eeproms (assembly code), so serial communications were not always required. (I don't know your project specifications so I better stop here). :) Good luck with your project! Here are three links by the way (since you are a fellow engineer):): http://www.codeproject.com/useritems/chaiyasit\_t.asp?target=serial|communication http://www.codeproject.com/system/cserialcom.asp?target=serial|communication http://www.codeproject.com/system/serial\_com.asp?target=serial|communication // Afterall, I realized that even my comment lines have bugs When one cannot invent, one must at least improve (in bed).-My latest fortune cookie

      1 Reply Last reply
      0
      • C cemlouis

        Hi to all, I need sources for programming external devices, actually I have to make a program to control electronic circuit boards... I collect some info from the net and I think it is easier to reach circuit boards with serial ports. Finally I guess there are some resources out there and if someone post these, I really will be gratefull to him/her... Thanx in advance. Not: I need these resources for our project (to add real physics to our robot project in school)...

        K Offline
        K Offline
        KarstenK
        wrote on last edited by
        #3

        Read the manual of the device carefully. Maybe there is a API for the device. Also ensure that the device is installed properly and the OS is supported. To tell a long story short: RTFM:) PS: I have done this over and over with modems X| Try this @ home. (B&B)

        1 Reply Last reply
        0
        • C cemlouis

          Hi to all, I need sources for programming external devices, actually I have to make a program to control electronic circuit boards... I collect some info from the net and I think it is easier to reach circuit boards with serial ports. Finally I guess there are some resources out there and if someone post these, I really will be gratefull to him/her... Thanx in advance. Not: I need these resources for our project (to add real physics to our robot project in school)...

          T Offline
          T Offline
          Toni78
          wrote on last edited by
          #4

          You know what? KarstenK is right. But at the same time, to save you the trouble of learning windows programming (if you don't know any) and in case the device is designed by you or it doesn't have an API interface, just use plain MS-DOS and functions such as outp() to send data through a serial port. // Afterall, I realized that even my comment lines have bugs When one cannot invent, one must at least improve (in bed).-My latest fortune cookie

          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