EasyManua.ls Logo

Rohde & Schwarz R&S SMW200A - Page 890

Rohde & Schwarz R&S SMW200A
1403 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
®
SMW200A
890User Manual 1175.6632.02 ─ 30
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:SCAN:LSENsor 'NRQ6',101624 //sensor name, serial number
:SLISt:SCAN:LSENsor 'NRQ6',11.123.1.123, 101624 //IP address, serial number
// add sensor connected in the LAN to the list
: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
// add sensor connected at the USB interface to the list
: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", SENS3
// maps the sensor directly to channel 3
:SLISt:CLEar[ALL] // remove all sensors from the list
:SLISt:CLEar:LAN // remove sensors connected in the LAN from the list
:SLISt:CLEar:USB // remove sensors connected over USB from the list
// remove all sensors from the list
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