Remote control commands
R&S
®
NGU
121
User Manual 1179.2531.02 ─ 03
Example: Configuring the output voltage
This example contains all commands to configure and query the output voltage.
// ************************************************
// Set upper or lower voltage safety limit
// ************************************************
//sets the safety limits to enable
ALIM 1
//queries the safety limits state
ALIM?
//response: "1"
//sets the safety limits for the upper voltage
VOLT:ALIM 15
//queries the safety limits for the upper voltage
VOLT:ALIM?
//response: "15.000"
//sets the safety limits for the lower voltage
VOLT:ALIM:LOW 0
//queries the safety limits for the lower voltage
VOLT:ALIM:LOW?
//response: "0.000"
// ************************************************
// Set the voltage value
// ************************************************
// selects a channel and sets the voltage
VOLT 10
// sets the voltage to maximum or minimum respectively
VOLT MAX
VOLT MIN
// queries the output voltage of a channel
VOLT?
// response: "10.000"
// ************************************************
// Query the range of the voltage values
// ************************************************
// queries the upper and lower limit of the output voltage
VOLT? MIN
// response: "0.000"
VOLT? MAX
// response: "20.050"
// ************************************************
// Increase or decrease the voltage stepwise
// ************************************************
// selects the output channel, sets the step width
// and increases the voltage from 4 Volts
VOLT:STEP 4
VOLT UP
// decreases the voltage from 4 Volts
VOLT DOWN
Configuration commands