Dear Sir or Madame,
I want to use Visual C/C++ (but not the .NET language) to contorl a USB-6216 BNC device, and to write a simple application for a small project in my lab. What I want to do is very simple. I just want to deliver an output signal through a AO channle and to record an input signal from an AI channel. I do not wish to LabVIEW, LabWindows/CVI, or Measurement Studio, so that this simple application can be stand-alone, and not dependent on LabVIEW, LabWindows/CVI, or Measurement Studio. Can someone advise me on what I need to do in order to accomplish that?
My naive thought is that I shall follow the following steps:
- install DAQmx drivers onto acomputer,
- connect the USB-6216 BNC device to this computer,
- make sure that this device is recognized by the computer, through Windows Device Manager
- write a Visual C/C++ program to include the NIDAQmx.h and to utilize the NIDAQmx.lib library. By the way,. I found the NIDAQmx.h and NIDAQmx.lib files in the C:\Program Files x86)\National Instruments\NI-DAQ\DAQmx ANSI C Dev\ folder that was created automatically for me when I installed LabVIEW on another computer in m lab a few years ago.
Please let me know if I have missed anything. Also, if there is any example code available for a simple task like this, it will be extremely helpful.
By the way, the computer that I am working on has Windows 7 and DAQmx 9.3 installed.
Thank you!
Fuh