EasyManua.ls Logo

R&S ESU Series - Page 388

R&S ESU Series
855 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operating Manual 1302.6163.12 - 03 4.357
R&S ESU Instrument Functions
RSIB Interface Functions
4.14.1.1 Variables ibsta, iberr, ibcntl
As with the National Instrument interface, the successful execution of a command
can be checked by means of the variables ibsta, iberr and ibcntl. For this pur-
pose, all RSIB functions are assigned references to these three variables.
Status word - ibsta
The status word ibsta provides information on the status of the RSIB interface. The
following bits are defined:
Error variable - iberr
If the ERR bit (8000h) is set in the status word, iberr contains an error code which
allows the error to be specified in greater detail. Extra error codes are defined for the
RSIB protocol, independent of the National Instruments interface.
Count variable - ibcntl
The variable ibcntl is updated with the number of transferred bytes each time a
read or write function is called.
Bit designation Bit Hex code Description
ERR 15 8000 Is set when an error has occurred on calling a
function. If this bit is set, iberr contains an error
code that specifies the error in greater detail.
TIMO 14 4000 Is set when a time-out has occurred on calling a
function.
CMPL 8 0100 Is set if the response of the GPIB parser has been
read out completely. If a parser response is read out
with the function RSDLLilrd() and the length of the
buffer is insufficient for the answer, the bit will be
cleared.
Error Error code Description
IBERR_CONNECT 2 Setup of the connection to the measuring instrument
has failed.
IBERR_NO_DEVICE 3 A function of the interface has been called with an
illegal device handle.
IBERR_MEM 4 No empty memory available.
IBERR_TIMEOUT 5 Time-out has occurred.
IBERR_BUSY 6 The RSIB protocol is blocked by a function that is still
running.
IBERR_FILE 7 Error when reading or writing to a file.
IBERR_SEMA 8 Error upon creating or assigning a semaphore (only
under UNIX).

Table of Contents

Related product manuals