Generating Data in Single-Waveform Mode

NI Digital Waveform Generator/Analyzer

Generating Data in Single-Waveform Mode

You can generate data in one of two generation modes: waveform or scripted. Use the niHSDIO Configure Generation Mode VI or the niHSDIO_ConfigureGenerationMode function to switch between the two modes. The default mode is waveform.

In waveform mode, call initiate to generate the waveform you specified by calling the niHSDIO Configure Waveform to Generate VI or the niHSDIO_ConfigureWaveformToGenerate function. Once you have generated the waveform, you can call the niHSDIO Configure Waveform To Generate VI or the niHSDIO_ConfigureWaveformToGenerate function again to switch to a different named waveform.

Tip  You can configure whether you want to generate a single waveform once, n times, or continuously by calling the niHSDIO Configure Generate Repeat VI or the niHSDIO_ConfigureGenerationRepeat function.