I have an application where I need to generate a waveform of a fixed frequency (~200kHz) and amplitude, but for differing burst lengths and different lengths of time between bursts. These bursts and delays are controlled by a DIO line to generate the pause trigger.
I also need to have the analog output voltage at a controlled voltage between waveform bursts. I've explored using various trigger options, the pause trigger seems to be the best fit, but I'm having difficulty controlling the specific end point of the waveform when the pause occurs to ensure that the paused voltage is at the same specified voltage when the waveform is masked.
I've attempting adapting the example post "Pause Analog Output of Periodic Signal with Regeneration on Specific Sample" but cannot consistently obtain the voltage during the pause that I'm after.
I'm using an X series DAQ card. Is there a simple way to pre-set the voltage that will be output during the pause condition when using a pause trigger? I haven't been able to locate it in any examples or documentation. I can't use the set AO reference code example as it is software driven and doesn't fit in the timing pattern I need to generate.