Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronizing 2 pulses

Using the daq pad 6020e and component works or nidaq functions, I need to synchronize 2 pulses. I need to have the option of making the 2nd pulse fire X msecs after the 1st fires.

If possible, a concrete example (i.e., code) would be appreciated.
0 Kudos
Message 1 of 2
(3,124 Views)
Paul;

If you installed the support files for Visual Basic when you installed NI-DAQ, you will have some good examples you can refer to on your hard drive.
To your particular application, you can take a look at C:\Program Files\National Instruments\NI-DAQ\examples\Visual Basic\Synchronize\Synchronized AI AO Counter. That example shows how to synchronize AI with AO after a fixed delay. You can use that as a start point for your application and change that so another AI task would start after a time delay, instead of the AO task.
Hope this helps.
Filipe
0 Kudos
Message 2 of 2
(3,124 Views)