LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I download a waveform to DAQ card, and then send it out after a delay (using easy i/o for lab windows)?

I am using lab windows cvi and the 6071-E card. I can easily send out an waveform through an analog output using the easy i/o library within lab windows. But I want to be able to download the waveform to the card and have it send out the waveform after a time delay. Is this possible? Thanks!
0 Kudos
Message 1 of 2
(2,838 Views)
Brian;

That is definitely possible, however, in case you need an accurate time delay, you will need to use both general purpose counters together with your existent application.

The main idea is to use one of the general purpose counters as pulse train generation and have that pulse train routed to the Analog Output update clock. Then, you can use the first counter to generate the delayed pulse that will enable the second counter generation.

You can use the NI-DAQ shipping examples that show how to program the general purpose counters. You can find those examples at C:\Program Files\National Instruments\NI-DAQ\examples\VisualC\ctr. Pick the ones that have the STC prefix.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,838 Views)