Remote Control Commands
R&S
®
NGL200
114
User Manual 1178.8736.02 ─ 02.01
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
NGL200 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,2,2,1,3,3,1
// 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
ARB:STAT 1
// starts the sequence
// ARB:STOP 1 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 1
// 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:REST
// loads a previously saved sequence from the internal memory
................................................................................................ 115
Arbitrary Setting Commands