
R&S ZVL
Interfaces and Connectors
Rear Panel Connectors
Operating Manual 1303.6580.32-05
593
Command
Effect on the instrument
&LLO
(Local Lockout)
Disables switchover from remote control to manual control by means of the
front panel keys.
&POL
(Serial Poll)
Starts a serial poll.
&NREN
(Not Remote Enable)
Enables switchover from remote control to manual control by means of the
front panel keys.
RSIB Interface Functions
This section lists all functions of the DLL
"RSIB.DLL" or "RSIB32.DLL"
or
"librsib.so"
, which
allow to produce control applications.
•
Variables
•
Interface Functions
Variables ibsta, iberr, ibcntl
Same as with the National Instruments interface, successful execution of a command can be checked by
means of the variables
ibsta
,
iberr
and
ibcntl
. To this end, references to the three variables are
transferred to all RSIB functions. In addition, the status word
ibsta
is returned as a function value by all
functions.
Status word ibsta
All functions send back a status word that provides information on the status of the RSIB interface. The
following bits are defined:
Bit
name
Bit
Hex
code
Description
ERR
15 8000
This bit is set if an error occurs during a function call. If this bit is set,
iberr
contains an error code
which specifies the error.
TIMO
14 4000
This bit is set if a timeout occurs during a function call. A timeout may occur in the following situations:
- while waiting for an SRQ with the function
RSDLLWaitSrq()
.
- if no acknowledgment is received for data sent to an instrument with
RSDLLibwrt()
or
RSDLLilwrt()
.
- if no response from server to a data request with function
RSDLLibrd()
or
RSDLLilrd()
.
CMPL
8
0100
This bit is set if the reply of the IEC/IEEE-bus parser is completely read. If a reply of the parser is read
with the function
RSDLLilrd()
and the buffer length is not sufficient, the bit is cleared.
Error variable iberr
If the ERR bit (8000h) is set in the status word,
iberr
contains an error code that specifies the error. The
RSIB has error codes of its own independent of the National Instrument interface.
Error Error
code
Description
IBERR_DEVICE_REGISTER 1
RSIB.DLL cannot register any new device.