Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6008 not driving fast

In driving the USB-6008 daq its seem I can't get it to go faster than about 60S/sec.  The spec says 10000S/sec.

What am I doing wrong?  I just have a simple loop containing:  "digOutput = reader.ReadSingleSample".  I have a counter

in the loop that when I remove the above statement will output over 12000/sec.  But once I add the reader line it slows down.

0 Kudos
Message 1 of 2
(3,724 Views)

In order to get the best performance from a DAQ device, one should use buffered acquisition as opposed to collecting each sample directly from the device in a while loop. There are some good examples demonstrating continuous buffered data acquisition available in the following location with Measurement Studio installed:

 

In Start Menu go to Programs -> National Instruments -> NI-DAQ -> Text Based Code Support -> DotNET4.0 (or which)

This will take you to a folder and from there navigate to \Analog In\Measure Voltage\ContAcqVoltageSamples_IntClk\

 

The directories and names will vary slightly between programming language support installed and software versions but the general location is the same; find the Text Based Code Support link under NI-DAQ in the start menu and navigate to the Continuous Acquisition using an Internal Clock example.

 


Milan
0 Kudos
Message 2 of 2
(3,704 Views)