Table A-1. Status Word (Ibsta) Layout - National Instruments NI-488.2M Software Reference Manual

For os/2
Hide thumbs Also See for NI-488.2M:
Table of Contents

Advertisement

Appendix A
Status Word Conditions
This appendix gives a detailed description of the conditions reported in the status
word, ibsta. For information about how to use ibsta in your application
program, refer to Chapter 3, Developing Your Application.
If a function call returns an ENEB or EDVR error, all status word bits except the
ERR bit are cleared. These error codes indicate that it is not possible to obtain
the status of the GPIB board.
Each bit in ibsta can be set for device calls (dev), board calls (brd), or both
(dev, brd).
The following table lists the status word bits.
Mnemonic
ERR
TIMO
END
SRQI
RQS
CMPL
LOK
REM
CIC
ATN
TACS
LACS
DTAS
DCAS
© National Instruments Corp.

Table A-1. Status Word (ibsta) Layout

Bit
Hex
Pos.
Value
15
8000
14
4000
13
2000
12
1000
11
800
8
100
7
80
6
40
5
20
4
10
3
8
2
4
1
2
0
1
Type
dev, brd
dev, brd
dev, brd
brd
dev
dev, brd
brd
brd
brd
brd
brd
brd
brd
brd
A-1
NI-488.2M SRM for OS/2
Description
GPIB error
Time limit exceeded
END or EOS detected
SRQ interrupt received
Device requesting service
I/O completed
Lockout State
Remote State
Controller-In-Charge
Attention is asserted
Talker
Listener
Device Trigger State
Device Clear State

Advertisement

Table of Contents
loading

Table of Contents