Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Finite Pulse train using 6713.

I am trying to generate two finite pulse trains on two separate channels using analog output board 6713.I used AO config and AO write.But I am not getting both the waveforms to be in phase.It is writing one waveform on one channel and then writes on the other channel.Please suggest some way to write both waveforms simultaneously on both the channels.
Also, if I want 10 pulses and if I give that number in "AO Start", it outputs only on one channel. How will I output 10 pulses on both the channels?

Please answer asap...
Thanks in advance,
Sameer
0 Kudos
Message 1 of 2
(2,548 Views)
Hi Sameer,

It seems strange that you are getting those results. In theory, both channels should start simultaneously on analog output boards when the AO Start.vi runs. As for the 10 pulses in AO Start, it also should operate on both channels. Here is an example that I found helpful if you search ni.com/support and click Example Code... Search for the following document "Generating Sine Waves Continuously on Two Analog Output Channels" You can modify it to output square waves or pulses. Hope that helps.

Ron
0 Kudos
Message 2 of 2
(2,548 Views)