This example function allows you to send arbitrary waveforms to Agilent's 33500 series of waveform generators including the Agilent 33521a, 33522a, 33521b, and 33522b using MATLAB software.
It uses a LAN connection to communicate with the waveform generator. The function takes the following arguments: vector containing the waveform points, desired amplitude level for the waveform (Vpp), desired sample rate of the waveform, IP address (string) for remotely connecting to waveform generator, and the name of the waveform (string).
Updated the description.
Create scripts with code, output, and formatted text in a single executable document.