G Mode Functions
Chapter 8
GPIB-232CT User Manual
8-12
© National Instruments Corp.
srqen - Enable/Disable Setting of SRQ
Type:
GPIB Configuration function
Syntax:
srq
en [mask]
<CR>
Purpose:
You
use
srqen
when you wish to allow the GPIB-232CT to
assert SRQ under the conditions described in Chapter 7 in the
section entitled
Operation of the GPIB-232CT as a Serial
Device
.
Remarks:
When the argument
mask
is 0, the GPIB-232CT will never
assert SRQ. When the argument
mask
is > 0, the
GPIB-232CT will assert SRQ under the conditions
represented by each bit in the
mask
. The
mask
bits are as
follows:
Table 8-2. SRQ Mask Bits
!
Hex
Decimal Mne-
Bit Value Value
monic
Description
!
!
0
1
1
—
Not used
!
!
1
2
2
BF
Serial port receive buffer full and
serial device not addressed to talk
!
!
2
4
4
GERR
GPIB error - (see
stat
)
!
!
3
8
8
SERR
Serial error - (see
stat
)
!
!
4
10
16
BNE
Serial port receive buffer not
empty and serial device not
addressed
to
talk
!
!
5
20
32
EOS
EOS character received and serial
device not addressed to talk
!
!
6
40
64
—
Not used
!
!
7
80
128
—
Not
used
!