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. Hardware & Devices
  4. Visual C++ for Control Hardware

Visual C++ for Control Hardware

Scheduled Pinned Locked Moved Hardware & Devices
c++hardwarehelpquestionlearning
5 Posts 3 Posters 1 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.
  • M Offline
    M Offline
    Max
    wrote on last edited by
    #1

    I want to use Visual C++ for control hardware via RS232 or USB port. Anyone know what is the good book or website which I can get the infomation about this issue.

    E 1 Reply Last reply
    0
    • M Max

      I want to use Visual C++ for control hardware via RS232 or USB port. Anyone know what is the good book or website which I can get the infomation about this issue.

      E Offline
      E Offline
      Ed Poore
      wrote on last edited by
      #2

      Max++ wrote:

      website which I can get the infomation about this issue.

      Google, AFAIK there are not many dedicated sites. The MSDN Library has a good article on reading and writing data to and from the COM ports (sorry can't remember the title). Most USB drivers come with something that will allow the USB port to look like an RS232 port with a higher baud rate. So generally all you need to know is how to read and write data to and from RS232 ports. Regarding actually controlling the hardware you'll have to provide more information.


      Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

      S 1 Reply Last reply
      0
      • E Ed Poore

        Max++ wrote:

        website which I can get the infomation about this issue.

        Google, AFAIK there are not many dedicated sites. The MSDN Library has a good article on reading and writing data to and from the COM ports (sorry can't remember the title). Most USB drivers come with something that will allow the USB port to look like an RS232 port with a higher baud rate. So generally all you need to know is how to read and write data to and from RS232 ports. Regarding actually controlling the hardware you'll have to provide more information.


        Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

        S Offline
        S Offline
        svsundar Vairavan
        wrote on last edited by
        #3

        Can u give some more info reg ur requirements?.If u want to control ur hardware with RS232/USB u need to create handle to ur device then u can do read/write to ur device.For that u should know the command formats supported by ur device.Is it a printer/storage/camera or any thing else?. If u give give more details i will be able to provide more info. regards Vairavan

        E 1 Reply Last reply
        0
        • S svsundar Vairavan

          Can u give some more info reg ur requirements?.If u want to control ur hardware with RS232/USB u need to create handle to ur device then u can do read/write to ur device.For that u should know the command formats supported by ur device.Is it a printer/storage/camera or any thing else?. If u give give more details i will be able to provide more info. regards Vairavan

          E Offline
          E Offline
          Ed Poore
          wrote on last edited by
          #4

          Was that intended for me or for the thread-starter?


          Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

          S 1 Reply Last reply
          0
          • E Ed Poore

            Was that intended for me or for the thread-starter?


            Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9 Ed

            S Offline
            S Offline
            svsundar Vairavan
            wrote on last edited by
            #5

            Sorry,Its intended for thread starter. regards Vairavan

            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