Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Two channel analog output generation using NI USB 6221

Hi all,
              I am trying to generate two sinusoidal waveforms with a VI for USB 6221 which has two analog output channels. My aim is to generate two waveforms simultaneously and introducing phase difference between them. i used two different VI's to solve the problem but couldnt succeed, i am posting the VI's here. I can see only one output, is given by the card and i checked it with oscilloscope, and also after running the both VI's  for a while they show error. i think the problem is with triggering digital signal. Please help me out of this problem.

Thanks
Visu
0 Kudos
Message 1 of 2
(3,113 Views)

Visu,

You need to create a single AO task that contains both channels.  Suggest you read the section in the DAQmx manual on the Task State Model. 

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