Remote control commands
R&S
®
NGU
162
User Manual 1179.2531.02 ─ 03
7.7
Advanced operating commands
The following shows the subsystem that contains the commands for configuring the
arbitrary function, ramp and Digital I/O function.
7.7.1
Arbitrary
The
ARBitrary
subsystem contains the commands for configuring an arbitrary
sequence for the output channels.
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
NGU provides the arbitrary waveform at the output of the selected channel,
and repeats it 10 times.
// ************************************************
// Define and start the arbitrary sequence
// ************************************************
// 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
// 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
// clears the arbitrary table data
ARB:CLEAR
Advanced operating commands
www.allice.de
Allice Messtechnik GmbH