Script control of waveform output
This script demonstrates how to place a waveform output configuration into an output file and how to set the values of the waveform.
It will adjust the currently loaded sampling configuration to put a high-speed waveform output section into it. It is a simple example of defining and controlling the waveform.
The code as it stands simply sets a few locations to 32767 (= 5 volts) to generate a short square pulse, but it is easily modifiable to allow you to create any desired waveform.