Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Output a analog wavform a Specified Number of times with a specified frequency.

I want to output an arbitrary waveform using the PCI-6713, this waveform is to be generated N times with a frequency F. How do I accomplish this? Can I use the 6713 internal counters to generate the waveform N times? I have a 6601 card and can use two of the counters on this card instead but how do I connect the two cards and what instructions do I give to get the desired effect, repetition and frequency?

All help is appreciated.
Thanks.
/Chatri
0 Kudos
Message 1 of 3
(3,265 Views)
Hello;

You can accomlish that task by using 2 general purpose counters together with the analog output channels. You can configure both counters to generate a finite pulse train, and have the pulses of the train being configured in a way that the update rate needed by the analog output is met.

Then, you will route the counter's output to the AO Update signal. By doing that, you will have the counter that is generating the pulse train controlling the update clock of the analog output channel. Also, make sure to have the counter generating the exact number of pulses necessary to have the analog output updating the analog out channels N times.

You can find examples on how to do finite pulse train generation at both Labview and NI-DAQ, depending on what prog
ramming language you are using.

Also, you can use the route signal.vi, in case you are using Labview, or Select_Signal() in case you are using NI-DAQ function calls; to route the counter output to the AO Update signal. That is the only extra VI/function call you need to do to internally route the counter output to the analog output update clock signal.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,265 Views)
Hi Filipe,
Thank you for your reply.
Do you have any examples where anything similar is done? For the record, I'm writing the program using LabView.

Thaks again.
Chatri H.
0 Kudos
Message 3 of 3
(3,265 Views)