Remote Control Basics
R&S
®
NRPxxTWG
101
User Manual 1178.8371.02 ─ 04
USB Resource String
The syntax of the used USB resource string is:
USB::<vendor ID>::<product ID>::<serial number>[::INSTR]
where:
●
<vendor ID> is the vendor ID for Rohde & Schwarz (0x0AAD)
●
<product ID> is the product ID for the Rohde & Schwarz sensor
●
<serial number> is the individual serial number on the rear of the sensor
Table 9-2: R&S
NRPxxTWG USB product IDs
R&S NRPxxTWG power sensor
USB product ID
R&S NRP75TWG
0x01D1
R&S NRP90TWG
0x01D2
R&S NRP110TWG
0x01D3
Example:
USB::0x0AAD::0x01D1::100001
0x0AAD is the vendor ID for Rohde & Schwarz.
0x01D1 is the product ID for the R&S NRP75TWG power sensor.
100001 is the serial number of the particular power sensor.
9.2
SCPI Command Structure
SCPI commands - messages - are used for remote control. Commands that are not
taken from the SCPI standard follow the SCPI syntax rules. The power sensor sup-
ports the SCPI version 1999. The SCPI standard is based on standard IEEE 488.2 and
aims at the standardization of device-specific commands, error handling and the status
registers.
SCPI commands consist of a so-called header and, usually, one or more parameters.
The header and the parameters are separated by a "white space" (ASCII code 0 to 9,
11 to 32 decimal, e.g. blank). The headers can consist of several mnemonics (key-
words). Queries are formed by appending a question mark directly to the header.
The commands can be either device-specific or device-independent (common com-
mands). Common and device-specific commands differ in their syntax.
9.2.1
Syntax for Common Commands
Common (=device-independent) commands consist of a header preceded by an aster-
isk (*) and possibly one or more parameters.
Examples:
SCPI Command Structure