Interfaces and Protocols R&S FSL
1300.2519.12 5.32 E-11
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
N
ational Instruments interface.
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 Timeout 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).
Count variable – ibcntl
The variable ibcntl is updated with the number of transferred bytes each time a read or write function
is called.