Remote Control Commands
R&S
®
NGL200/NGM200
150
User Manual 1178.8736.02 ─ 09
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
// ************************************************
// selects channel 1
INST OUT1
// defines the sequence, i.e. starting at 1V, 1A for 1sec,
// and increments the voltage and current each second by 1
ARB:DATA 1,1,1,0,2,2,1,0,3,3,1,0
// sets the repetition rate
ARB:REP 10
// ARB:REP? queries the set number of repetitions
//sets the arbitrary endpoint behavior, when the arbitrary function is finished
ARB:BEH:END HOLD
//ARB:BEH:END? queries the arbitrary endpoint behavior
// transfers the arbitrary points to channel
ARB:TRAN 1
//Enable the arbitrary sequence
ARB 1
// starts the sequence in channel 1
// ARB 0 stops the sequence in the selected channel
//turns on the output
OUTP ON
// ************************************************
// Save and recall an arbitrary sequence
// ************************************************
//sets the filename "01.CSV" and storage location for arbitrary function
ARB:FNAM "01.CSV", INT
// saves the sequence into the internal memory
ARB:SAVE
// loads a previously saved sequence from the internal memory
ARB:LOAD
INST OUT1
// clears the arbitrary table data for the selected channel
ARB:CLEAR
................................................................................................ 151
Advanced Operating Commands