Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous waveform generation on USB-6008 (C-API)

I want to generate a continuous waveform on a USB-6008 using the C-API and I want to use buffered data generation.
In the C-API documentation I do not find any functions to read how much data that is in the buffers. I need this to avoid starvation/growing buffers.

Another question, is there a distribution packet with dll's needed or is it required to install the complete SDK on every machine?

Thanks in advance,
0 Kudos
Message 1 of 2
(3,280 Views)
 

Hello!

 

 

You can use NI-DAQmx and look at some of the shipping examples with some minor modifications. You can read about these devices here which also mentions some exampled you can look at to getting started:

 

 

USB-6008/6009 Continuous Analog Output
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MtjSAE&l=en-US

 

 

These devices only support software-timed waveform generation which means that it is the software that sends a sample to the DAQ device, waits for the prescribed time interval, and then sends the next sample. So the timing of the waveform is driven by the software, using the computer's clock, instead of by the DAQ hardware. Software-timed is less reliable and has (often) lots more jitter because of competition for CPU resources.

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 2 of 2
(3,268 Views)