EasyManua.ls Logo

R&S SMA100B - Page 547

R&S SMA100B
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote control commands
R&S
®
SMA100B
547User Manual 1178.3834.02 ─ 09
Programming examples
Example: Detecting and assigning a power sensor
SLISt:LIST?
// Response: "NRP33SN-V-900007-USB Legacy","NRP-Z211-900001-USB Legacy"
// Lists all automatically detected sensors.
SLISt:SCAN:STATe 1
// Searches for sensors connected in the LAN or via the USBTMC protocol.
SLISt:SCAN:LSENsor 'NRQ6',101624 // sensor name, serial number
SLISt:SCAN:LSENsor 11.123.1.123, 101624 // IP address, serial number
// Adds sensors to the list, that are connected to LAN.
SLISt:SCAN:USENsor 'NRQ6',101624 //sensor name, serial number
SLISt:SCAN:USENsor #H15b,101624 //device ID (hexadecimal), serial number
SLISt:SCAN:USENsor 347,101624 //device ID (decimal), serial number
// Adds a sensor to the list, that is connected to the USB interface.
SLISt:LIST?
// Response: "NRP33SN-V-900007-USB Legacy","NRP-Z211-900001-USB Legacy",
// "NRP33SN-V-900005-USBTMC","NRP33SN-V-900011-LAN"
// Lists all automatically detected sensors.
SLISt:ELEMent3:MAPPing SENS1
// Maps the third sensor from the list to the first sensor channel.
SLISt:SENSor:MAP "NRPS18S-100654-USB Legacy", SENS3
// Maps the sensor to channel 3.
SLISt:CLEar[ALL]
// Remove all sensors from the list.
SLISt:CLEar:LAN
// Remove all sensors from the list, that are connected over LAN.
SLISt:CLEar:USB
// Remove all sensors from the list, that are connected over USB.
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

Table of Contents

Other manuals for R&S SMA100B

Related product manuals