LCX_UserManual_en_08_1.pdf - 第152页

Network operation and remote control R&S ® LCX Series 152 User Manual 1 179.2260.02 ─ 08 Interface Protocols, VISA *) address string and library Remarks GPIB (IEC/IEEE Bus Interface) (option R&S NG-B105 ● – GPIB:…

100%1 / 265
Network operation and remote control
R&S
®
LCX Series
151User Manual 1179.2260.02 ─ 08
Remote file access (FTP)
A remote client device accesses the instrument's file system over an Ethernet con-
nection, using FTP (file transfer protocol).
The protocol enables you to get direct access to the file directory of the R&S LCX
to transfer files from or to the instrument.
The access requires a dedicated FTP client on the host device. Usually, each oper-
ating system provides a basic build-in FTP client, but the functionality can vary and
be limited to upload and download operation. The accessible file types depend on
the contents of the instrument's file manager, see Section 9.1, "File and data man-
agement", on page 120.
For authentication, you require the instrument's user name and password.
How to: see Section 10.6.2, "Accessing the file system of the R&S LCX using FTP",
on page 177.
10.2 Remote control interfaces and protocols
The R&S LCX supports various interfaces for remote control. You need the connection
between both devices and an apllication on the controller PC that supports communi-
cation over the used interface. Table 10-2 gives an overview on the connectivity:
Table 10-2: Remote control interfaces and protocols
Interface
Protocols, VISA
*)
address string and library
Remarks
Local area network
(LAN)
Address string
TCPIP::host address[::
LAN device name][::INSTR]
VISA
VXI-11
TCPIP::host address[::inst0][::INSTR]
VISA
Socket communication (Raw Ethernet, simple
Telnet)
TCPIP::host address[::
LAN device name]::<port>::SOCKET
VISA or socket controller
The LAN connector is at the rear panel of the
instrument.
The interface is based on TCP/IP, see Sec-
tion 10.2.1, "LAN interface", on page 152 for
details on the address information.
USB
USBTMC
USB::<vendor ID>::<product ID>::
<serial number>[::INSTR]
VISA
CDC
(communications device class, corresponds to
VCP (virtual COM port))
The USB B connector is at therear panel of the
instrument.
For a description of the interface, see Sec-
tion 10.2.2, "USB interface", on page 154
Remote control interfaces and protocols
Network operation and remote control
R&S
®
LCX Series
152User Manual 1179.2260.02 ─ 08
Interface
Protocols, VISA
*)
address string and library
Remarks
GPIB (IEC/IEEE Bus
Interface)
(option R&S NG-B105
GPIB::<address>[::INSTR] (no secondary
address)
VISA (optional)
The optional GPIB bus interface according to
standard IEC 625.1/IEEE 488.1 is at the rear
panel of the instrument.
For a description of the interface, see Sec-
tion 10.2.3, "GPIB interface (IEC/IEEE bus
interface)", on page 155.
*
) VISA (Virtual Instrument Software Architecture) is a standardized software interface library providing input and output functions to
communicate with instruments. A VISA installation on the controller is a prerequisite for remote control over LAN and USB inter-
face. For remote control over socket communication VISA installation is optional. When using socket communication or the GPIB
interface, VISA installation is optional. For basic information, see Remote control via SCPI.
Rohde & Schwarz provides the standardized I/O software library R&S VISA for down-
load at the Rohde & Schwarz website http://www.rohde-schwarz.com/rsvisa.
How to: see Section 10.4, "Connecting the R&S LCX for remote access", on page 167
and Section 10.5, "Adjusting interface addresses", on page 169
LAN interface........................................................................................................ 152
USB interface........................................................................................................154
GPIB interface (IEC/IEEE bus interface)...............................................................155
Status reporting system........................................................................................ 156
10.2.1 LAN interface
To be integrated in a LAN, the instrument is equipped with a LAN interface, consisting
of a connector, a network interface card and protocols.
The network card can be operated with the following interfaces:
10 Mbit/s Ethernet IEEE 802.3
100 Mbit/s Ethernet IEEE 802.3u
For remote control, the PC and the instrument must be connected over the LAN inter-
faces to a common network with TCP/IP network protocol. The instruments are con-
nected with a commercial RJ45 cable (shielded or unshielded twisted-pair category 5).
The TCP/IP network protocol and the associated network services are preconfigured
on the instrument. Software for instrument control and (for specified protocols only) the
VISA program library must be installed on the controller.
Identifying instruments in a network
If several instruments are connected to the network, each instrument has its own IP
address and associated resource string. The controller identifies these instruments by
the resource string.
10.2.1.1 VISA resource strings
The VISA resource string is required to establish a communication session between
the controller and the instrument in the LAN. The resource string is a unique identifier,
Remote control interfaces and protocols
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