The standard instrument is equipped with a GPIB bus (IEC/IEEE bus) interface. The two interface connectors labeled IEC BUS and IEC SYSTEM BUS are located on the rear panel of the instrument.
The IEC BUS connector is intended for remote control of the analyzer from a controller (slave GPIB bus connector).
The IEC SYSTEM BUS is not fitted. To use the analyzer as a GPIB master and control other devices, e.g. external generators or power meters, option R&S ZVAB-B44 is required.
Option R&S ZVAB-B44, USB-to-IEC/IEEE Adapter
Option R&S ZVAB-B44 consists of an adapter and a driver software for controlling external devices which are equipped with a GPIB bus interface (but do not provide a USB interface). The driver software is installed on the network analyzer. It includes the VISA library which is a prerequisite for establishing a connection from the analyzer to an external device.
Connect the USB port of the adapter to any of the master USB connectors on the front or rear panel of the analyzer. The GPIB port of the adapter is connected to the external device.
Always use a shielded cable to connect the GPIB bus interfaces.
|
Characteristics of the interface
|
The analyzer provides the following functions to communicate via GPIB bus:
Instruments which can be controlled via GPIB bus can be equipped with different interface functions. The interface function for the network analyzer are listed in the following table.
Control character |
Interface function |
SH1 |
Handshake source function (source handshake), full capability |
AH1 |
Handshake sink function (acceptor handshake), full capability |
L4 |
Listener function, full capability, de-addressed by MTA. |
T6 |
Talker function, full capability, ability to respond to serial poll, deaddressed by MLA |
SR1 |
Service request function (Service Request), full capability |
PP1 |
Parallel poll function, full capability |
RL1 |
Remote/Local switch over function, full capability |
DC1 |
Reset function (Device Clear), full capability |
DT1 |
Trigger function (Device Trigger), full capability |
Interface messages are transmitted to the instrument on the data lines, with the attention line being active (LOW). They serve to communicate between controller and instrument.
Universal Commands
Universal commands are encoded in the range 10 through 1F hex. They are effective for all instruments connected to the bus without pervious addressing.
Command |
QuickBASIC command |
Effect on the instrument |
DCL |
IBCMD (controller%, CHR$(20)) |
Aborts the processing of the commands just received and sets the command processing software to a defined initial state. Does not change the instrument settings. |
IFC |
IBSIC (controller%) |
Resets the interfaces to the default setting. |
LLO |
IBCMD (controller%, CHR$(17)) |
The LOC/IEC ADDR key is disabled. |
SPE |
IBCMD (controller%, CHR$(24)) |
Ready for serial poll. |
SPD |
IBCMD (controller%, CHR$(25)) |
End of serial poll. |
PPU |
IBCMD (controller%, CHR$(21)) |
End of the parallel-poll state. |
Addressed Commands
Addressed commands are encoded in the range 00 through 0F hex. They are only effective for instruments addressed as listeners.
Command |
QuickBASIC command |
Effect on the instrument |
GET |
IBTRG (device%) |
Triggers a previously active device function (e.g. a sweep). The effect of the command is the same as with that of a pulse at the external trigger signal input. |
GTL |
IBLOC (device%) |
Transition to the "Local" state (manual control). |
PPC |
IBPPC (device%, data%) |
Configures the instrument for parallel poll. Additionally, the QuickBASIC command executes PPE/PPD. |
SDC |
IBCLR (device%) |
Aborts the processing of the commands just received and sets the command processing software to a defined initial state. Does not change the instrument setting. |
Instrument messages (commands) are transferred on the data lines of the GPIB bus while the ATN line is not active. ASCII code is used.
Structure and syntax of the instrument messages are described the SCPI Reference chapter. The chapter also provides a detailed description of all messages implemented by the analyzers.