![Rohde & Schwarz R&S FSP Series Скачать руководство пользователя страница 322](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsp-series/rands-fsp-series_operating-manual_1477864322.webp)
R&S FSP
Instrument Functions
RSIB Interface Functions
4.250
Operating Manual 1164.4556.12 - 06
4.12.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).
Содержание R&S FSP Series
Страница 1: ...R S FSP Spectrum Analyzer Operating Manual 1164 4556 12 06 Test Measurement Operating Manual ...
Страница 24: ...R S FSP Putting into Operation 1 2 Operating Manual 1164 4556 12 06 ...
Страница 72: ...R S FSP Manual Operation 3 2 Operating Manual 1164 4556 12 06 ...
Страница 362: ...R S FSP Instrument Functions Trigger Port Option R S FSP B28 4 290 Operating Manual 1164 4556 12 06 ...
Страница 764: ...R S FSP Remote Control Programming Examples More Complex Programming Examples 7 30 Operating Manual 1164 4556 12 06 ...
Страница 793: ...R S FSP Index Operating Manual 1164 4556 12 06 4 11 ...
Страница 794: ...R S FSP 4 12 Operating Manual 1164 4556 12 06 ...
Страница 795: ...Operating Manual 1164 4556 12 06 4 13 R S FSP ...
Страница 796: ...R S FSP 4 14 Operating Manual 1164 4556 12 06 ...