Remote Control Commands
R&S
®
NGL200/NGM200
132
User Manual 1178.8736.02 ─ 05
Example: Configuring an arbitrary sequence
This programming example generates an arbitrary sequence for a selected channel.
The sequence starts at 1 V and 1 A for 1 sec, and both values are incremented each
second by 1. The generated arbitrary waveform is transferred to Ch1. When activated,
the R&S
NGL/NGM provides the arbitrary waveform at the output of the selected chan-
nel, and repeats it 10 times.
// ************************************************
// Define and start the arbitrary sequence
// ************************************************
INST OUT1
ARB:DATA 1,1,1,0,2,2,1,0,3,3,1,0
// selects channel1
// defines the sequence, i.e. starting at 1V, 1A for 1sec,
// and increments the voltage and current each second by 1
ARB:REP 10
// sets the repetition rate
// ARB:REP? queries the set number of repetitions
ARB:BEH:END HOLD
//sets the arbitrary endpoint behavior, when the arbitrary function is finished
ARB:TRAN 1
// transfers the arbitrary points to channel
//Enable the arbitrary sequence
ARB 1
// starts the sequence in channel 1
// ARB 0 stops the sequence in the selected channel
OUTP ON
//turns on the output
//ARB:BEH:END? queries the arbitrary endpoint behavior
INST OUT1
ARB:CLEAR
// deletes the arbitrary waveform data of the selected channel
// ************************************************
// Save and recall an arbitrary sequence
// ************************************************
ARB:SAVE 1
// saves the sequence into the internal memory
ARB:LOAD
// loads a previously saved sequence from the internal memory
................................................................................................ 133
Advanced Operating Commands