Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to output the same signal on 2 AO channels with a phase lag between them?

I am trying to write a simple sine wave to 2 different AO channels, but with a phase lag between them. It looks like instead, the original sine wave is coming out fine on first channel, but the waves are both superimposed on the second channel. What is the easiest way to generate different waves on the different channels? I am using a usb 6211.
0 Kudos
Message 1 of 2
(2,999 Views)
Hey mohowski,

Thanks for contacting National Instruments support.  I'm not sure why this would happen.  I attempted this myself, and here is the resulting vi.  I also am attaching a subvi that I used.  Go ahead and run the Cont Gen Voltage Wfm-Int Clk.vi, but be sure to save the second vi on your desktop along side that vi first.

Let me know if you have further questions.

I don't normally just post code, but this question seemed best answered in that manner since you didn't specify exactly how you were attempting to program this application.

Regards,
Kenn North
Principal Product Manager - Search, Digital Analytics
http://ni.com/search
0 Kudos
Message 2 of 2
(2,994 Views)