Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

measure like the testpanel of the USB-6008

Hello,

I want to measure like the testpanel of the USB-6008. What is the right example of the nidaq installation or what are the necessary c-functions?
The most c-examples quits with an error. So I don`t no what is the right. I searched in the dictionary  "Analog In".

Thx  Pellaeon
0 Kudos
Message 1 of 3
(7,477 Views)

Hello,

you can find all examples for DAQ in C:\Programme\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage.

Do not forget adding the include file and the library file to your project. That is described under NI-DAQmx C Reference Help. You can find this under Start->Programs->National Instruments->NI-DAQ-> NI-DAQmx C Reference Help and there under Getting Started--> ANSI C

USB-6008 is supported in NI-DAQmx 7.5 or NI-DAQmx Base. http://digital.ni.com/public.nsf/websearch/4D915A820A76823C862570390075EBF5?OpenDocument

regards

Peter K.

National Instruments

0 Kudos
Message 2 of 3
(7,468 Views)
I testet the sampe source code, but the most programms failed. I searched with the debugger and detected, that trigger functions failed on my system. When I comment out this functions, the program works, but I have the output "Acquired 1000" the whole time.

Is there anyone who have a short sample code to read the current voltage of the USB-6008?

regards Pellaeon
0 Kudos
Message 3 of 3
(7,415 Views)