Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating synchronized pulse trains with programmable pulse width and pulse train repetition rate on two AO channels using a NI USB-6251

Hi,

 

I would like to generate two synchronized pulse trains on two AO channels using a NI USB-6251. These two pulse trains should have the same trigger. The pulse width, and number of pulses in each pulse train should be programmable, and the pulse width on each of the two channels can be different, but must be synchronized. These two pulse trains will be generated with a single repetition rate. Following is one specific example that I would like to implement in LabVIEW. Two AO channels, one generating pulse trains every 20 microSec, with each pulse train contains 5 2 microSec pulses, while the other channel generating pulse trains also every 20 microSec with the same 5 pulses but with pulse width 1.5 microSec. These two pulse trains are supposed to be generated synchronously all the time. Can some one give me an idea how to implement this in LabVIEW?

 

Many thanks to any tips and suggestions.

 

Best,

 

-Roger

0 Kudos
Message 1 of 2
(4,135 Views)

Hi Roger,

 

You could start by looking into the best practices for making the synchronization with our devices, here on the following link you can find an explanation of the methods that you can use or DAQmx API to get channel synchronization.

 

Additionally, for further reference you can also look at the synchronization examples of LabVIEW going to Help>Find Examples> Hardware Input and Output>Synchronization> Analog Input Synchronization.vi and the Help>Find Examples>Hardware Input and Output>Analog Output> Voltage- Continuous Output.vi

 

It's important to doublecheck also with your device specifications because the sychronization options may vary depending on the bus being used.

 

Hope you could find this informaiton helpful ! 

Regards,

Sil.VI
0 Kudos
Message 2 of 2
(4,092 Views)