LCX_UserManual_en_08_1.pdf - 第154页
Network operation and remote control R&S ® LCX Series 154 User Manual 1 179.2260.02 ─ 08 T o assign a user-specific port number , see Section 10.5, "Adjusting interface addresses" , on page 169. FTP communi…

Network operation and remote control
R&S
®
LCX Series
153User Manual 1179.2260.02 ─ 08
composed of the specific IP address of the instrument and some network and VISA-
specific keywords.
TCPIP::<host address>[::<LAN device name>][::INSTR]
TCPIP = designates the network protocol
host address = designates the IP address or hostname of the instrument
[::LAN device name] = defines the protocol and the instance number of a subinstrument
[::INSTR] = indicates the instrument resource class (optional)
The IP address (host address/computer name) is used by the programs to identify and
control the instrument. It is automatically assigned by the DHCP server the first time
the device is registered in the network. Optionally, you can also assign its LAN device
name.
The R&S LCX indicates the IP address in the Section 10.3.2, "LAN settings",
on page 161 dialog. You can also adjust the IP address manually, see "Assigning the
LAN interface addresses manually" on page 169.
The following section lists the characteristics of the VISA resource strings for the corre-
sponding interface protocols. The emphasized characters determine the protocol.
For description of the protocols refer to Remote control via SCPI.
VXI-11
TCPIP::<host address>[::inst0][::INSTR]
[::inst0]
= LAN device name that indicates that the VXI-11 protocol is used (optional).
[::inst0] selects the VXI-11 protocol by default and can be omitted.
Example:
TCPIP::192.1.2.3::INSTR
Socket communication
TCPIP::<host address>::<port>::SOCKET
port
= determines the used port number
SOCKET = indicates the raw network socket resource class
Socket communication requires the specification of the port (commonly referred to as
port number) and of "SOCKET" to complete the resource string.
Basically, instruments from Rohde & Schwarz use port number 5025 for socket com-
munication.
Example:
TCPIP::192.1.2.3::5025::SOCKET
Remote control interfaces and protocols

Network operation and remote control
R&S
®
LCX Series
154User Manual 1179.2260.02 ─ 08
To assign a user-specific port number, see Section 10.5, "Adjusting interface
addresses", on page 169.
FTP communication
ftp://<host address>[::<port>]
port = determines the used port number
By default, instruments from Rohde & Schwarz use port number 21 for FTP communi-
cation.
Example:
ftp://192.1.2.3/
To assign a user-specific port number, see "Assigning the FTP port address manually"
on page 171.
VNC communication
vnc://<host address>[::<port>]
port
= determines the used port number
By default, instruments from Rohde & Schwarz use port number 5900 for VNC commu-
nication.
Example:
vnc://192.1.2.3
To assign a user-specific port number, see "Assigning the VNC port manually"
on page 170.
10.2.2 USB interface
For remote control using USB, the PC and the instrument must be connected over the
USB B interface.
The USB B connector is at the rear panel of the instrument.
Software for instrument control and the VISA program library must be installed on the
controller. VISA detects and configures the Rohde & Schwarz instrument automatically
when the USB connection is established. You do not have to install a separate driver.
You can communicate with the instrument over the USB TMC class or the CDC class
protocols:
●
USBTMC
(USB Test & Measurement Class Specification) is a protocol that is built on top of
USB for communication with USB devices, like GPIB. It defines class code informa-
tion of the instrument that identifies its functionality to load the respective device
Remote control interfaces and protocols

Network operation and remote control
R&S
®
LCX Series
155User Manual 1179.2260.02 ─ 08
driver. Using the VISA library, it supports service request trigger, and other specific
operations, similar to GPIB.
For control, you can use the SCPI terminal function of the R&S HMExplorer soft-
ware. This software also provides logging of measurement values, or graphical dis-
play.
●
CDC
(Communications Device Class, also known as VCP Virtual COM Port) is a proto-
col used for emulating serial ports over USB. Using the CDC protocol, you have to
install the USB VCP driver corresponding to the Windows operating system of the
controller PC, available for download on the Rohde & Schwarz product site at
www.rohde-schwarz.com/driver/lcx/.
To select the USB interface, see "Selecting the USB communication class protocol"
on page 172-
USB resource string
The resource string represents an addressing scheme that is used to establish a com-
munication session with the instrument. It is based on the instrument address and
some instrument- and vendor-specific information.
The USB resource string syntax is as follows:
USB::<vendor ID>::<product ID>::<serial number>[::INSTR]
USB
= denotes the used interface
<vendor ID> = is the manufacturer ID for Rohde & Schwarz
<product ID> = is the product identification of the instrument
<serial number> = is the individual serial number at the rear of the instrument
[::INSTR] = indicates the instrument resource class (optional)
To select the USB communication protocol, see "Selecting the USB communication
class protocol" on page 172.
Example:
USB::0x0AAD::0x01DD::100001
0x0AAD is the vendor ID for Rohde & Schwarz.
0x01DD is the product ID for the R&S LCX.
100001 is the serial number of the particular instrument.
10.2.3 GPIB interface (IEC/IEEE bus interface)
Option: R&S NG-B105 GPIB (IEC 625/IEE 488) bus interface
The GPIB interface is at the rear panel.
To control the R&S LCX over the GPIB bus, the instrument and the controller must be
connected with a GPIB bus cable. A GPIB bus card, the card drivers and the program
libraries for the programming language used must be provided in the controller.
Remote control interfaces and protocols