Remote Control Commands
R&S
®
SMA100B
352
User Manual 1178.3834.02 ─ 03
Programming examples
Example: Detecting and assigning a power sensor
SLISt:LIST?
// Response: "NRP33SN-V-900007-USB Legacy","NRP-Z211-900001-USB Legacy"
// list of automatically detected sensors
SLISt:SCAN:STATe 1
// searches for sensors connected in the LAN or via the USBTMC protocol
SLISt:LIST?
// Response:
// "NRP33SN-V-900007-USB Legacy","NRP-Z211-900001-USB Legacy",
// "NRP33SN-V-900005-USBTMC","NRP33SN-V-900011-LAN"
// list of automatically detected sensors
// the list can contain more entries
SLISt:ELEMent3:MAPPing SENS1
// maps the third sensor from the list to the first sensor channel
SLISt:SENSor:MAP "NRPS18S-100654-USB Legacy", SENS4
// maps the sensor directly to channel 4
Example: Performing a simple power measurement
Prerequisite: The sensor is connected to the instrument and mapped to the first sensor
channel.
:INITiate1:CONTinuous ON
//Switches the continous power measurement on
:READ1?
// Triggers the measurement and displays the results
SENSe, READ, INITiate and SLISt Subsystems