Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple o/p generation with different sample rates in NI-6251 (NIDAQmx 8.0.0 linux)

Hi,

    I intended to generate two signals simultaneously using AO0 and AO1 channels on NI-6251 card using NIDAQmx driver for linux. I tried to create/configure two separate o/p tasks each with different 'sample rate' using DAQmxCfgSampClkTiming function but the driver issued the resource allocation error. I am also using  AI0 channel in parallel to aforesaid channels.

 

Adeel

0 Kudos
Message 1 of 2
(2,961 Views)
You won't be able to create seperate tasks for analog output. Since they will share the sample clock, all you need to do is to create analog waveforms of different frequencies and then send it through to the DAQ card. Search for 'multiple channel analog output' on NI's website to find some examples.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 2
(2,955 Views)