Since what you want is to retrigger an analog output channel instead of update channel. I found an example which might help you. This is not my example, but it does until some point what you want. I hope you find this helpful.
This is the explanation of the example:
Title: Retriggerable Analog Output Waveform Generation with E-series board and Labview
Description: This Vi shows how to perform a retriggerable Analog Output waveform generation.
None of NI DAQ boards have the retriggerable Analog Output feature, but, you can overcome that limitation by using the two general purpose counters of the board to do that.
To accomplish that, you need to configure the first counter as retriggerable pulse generation. Th
e output of that counter will be used as the gate input of the second counter, which will be configured as gated pulse train generation. Then, you can use each pulse of that second counter as the update clock of your board.
Based upon the update rate needed for the analog output channel, you can determine the frequency of the second counter output pulse train, which is going to be the analog output update rate.
You need to make sure tough, that the burst time set at the front panel of the VI is shorter than the time in between trigger pulses, otherwise, you will loose some trigger pulses.
VI Instructions:
- Set the desired update rate, cycles in the buffer, and time of burst in between trigger pulses
- Set the gate source where the external trigger pulse train will be connected to (the default is PFI0)
I/O Connections:
- If you leave the gate source control at the Front Panel of the VI as default - connect the external trigger pulse train to PFI0
- Otherwise the external t
rigger pulse train must match the selection made at the gate source Front Panel control
Aguila