how to get data(coming from an actual hardware DAQ through USB) into a c/c++ program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • utsavbhatt
    New Member
    • Jun 2010
    • 3

    how to get data(coming from an actual hardware DAQ through USB) into a c/c++ program

    i am beginner in c programming even , in my project work my guide has given me a work in which i have to process the temperature data coming from a DAQ module of FLUKE compnay through USB using c/c++ programing , and i dont know even how to get the data into the program . can any one help me in this by giving a model code using which i can make my code for my particular application .

    hope ill get some positive response as soon as possible !!!
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Check the data sheet for the module, it should tell you everything you need to know about interfacing with it.

    Most likely it will appear as a serial port and you just use the normal facility provided by your platform to interface to a serial port.

    Comment

    • utsavbhatt
      New Member
      • Jun 2010
      • 3

      #3
      Originally posted by Banfa
      Check the data sheet for the module, it should tell you everything you need to know about interfacing with it.

      Most likely it will appear as a serial port and you just use the normal facility provided by your platform to interface to a serial port.
      thanks for replying !!!
      actually this module has its own software to read these data !! but i want to do further programing on this data using c/c++, real time (online). for that i have to take this data into my program , now how to do it, that i want to know .and i dont know even how to get serial port data in c programing . if u have related code with some description , then plz give me so i can learn from that !!
      i hope , u get my problem !!!

      Comment

      • code green
        Recognized Expert Top Contributor
        • Mar 2007
        • 1726

        #4
        I find it hard to believe this is a 'beginners' project. Does the FLUKE have a USB interface? Or are you reading via a USB converter?
        is there are USB dll you should be using?
        You need to learn through which port you are communicating on your PC.
        You also need to learn the FLUKE commands for handshaking, start and stop reading.

        This is before you artempt processing the data

        Comment

        • utsavbhatt
          New Member
          • Jun 2010
          • 3

          #5
          Originally posted by code green
          I find it hard to believe this is a 'beginners' project. Does the FLUKE have a USB interface? Or are you reading via a USB converter?
          is there are USB dll you should be using?
          You need to learn through which port you are communicating on your PC.
          You also need to learn the FLUKE commands for handshaking, start and stop reading.

          This is before you artempt processing the data
          ya actually this has to be done by me as my M.tech project , my guide is not concerned that am i beginner or not ?
          FLUKE has complete DAQ module with USB converter and finally connecting to PC through USB!!! from where i can know about port number in my PC??
          and the software given by FLUKE gives data directly in one text file , can i use that to get that data into my program ? and if this is possible then why to learn FLUKE command ? because after getting data into program ,there is nothing to do with FLUKE .
          what i should read for learning these things !! is there any book or do you have some material on this which can help me in learning these things??

          Comment

          • Banfa
            Recognized Expert Expert
            • Feb 2006
            • 9067

            #6
            This will all be proprietary to Fluke, you will need to get and read the Fluke data sheets if they publish such things.

            Comment

            Working...