From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

MultiChannel Control in DAQmx

Hi  guys.

    I program the code to control the AO0 to output the volt. The code is in the Pic.

AO0 codeAO0 code

    While task of Output is starting, I control the AI0 to recieve the volt  volt wave. But the task is always failed.

 

    How can I simultaneous control  the AI0 and the AO0?

0 Kudos
Message 1 of 2
(791 Views)

taskHandleInGB is initialized in the function getDAQAI()

If the task of taskHandleInGB  is started,it always be failed.AI0INIT.jpg

0 Kudos
Message 2 of 2
(786 Views)