Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to sync EACH BUFFER OUTPUT with an external signal on a 6733 board using Visual Basic.

I am using Measurement Studio and NI 6733 board. I can use the Start Condition on PFI0 pin to start the initial buffer output which works. But can not figure out how to get it to trigger on the next buffer output. Does this card support this?
0 Kudos
Message 1 of 4
(2,670 Views)
To setup a hardware-timed retriggerable analog output, you will need to utilize the hardware retriggerable capability of the counters on the 6733. Counter 1 will need to be configured for retriggerable pulse train. The output of counter one will be used as the gate to counter 0, which will be configured for gated pulse train generation. Then the output of counter 0 would serve as the update clock for your analog output. The frequency of the counter 0's pulse train will be the desired frequency of the update clock.

For software-timed retriggering, take a look at the attached example program written in Visual Basic 6. It retriggers the operation by calling the cwao1.configure, cwao1.write, and cwao1.start.

Good luck.

Kristi Hummel
Applcations Eng
ineer
National Instruments
0 Kudos
Message 2 of 4
(2,670 Views)
Thanks for the information, the counter solution may work for me.
I get an missing file error when I open the project in the Zip file you provided (Waveform Generation.frm).
0 Kudos
Message 3 of 4
(2,670 Views)
Sorry about that. Here's the attachment again.

Kristi Hummel
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,670 Views)