This program causes the instrument to take 100 measurements on channel CH1-1, and reads the measured values.
The number of data objects stored in instrument memory is first obtained by the ":MEMORY:MAXPOINT?" query.
When this query returns 0, the program is ready to receive measurement data.
Pressing the Execute button then causes the instrument to start measuring and sending the measured values.
Example program