Gpib Status Conditions - National Instruments GPIB-MAC User Manual

Table of Contents

Advertisement

November 1985
Status represents a combination of GPIB-MAC
conditions. Internally in the GPIB-MAC, status is
stored as a 16bit integer. Each bit in the integer
represents a single condition. A bit value of 1 indicates
that the corresponding condition is in effect; a bit value
of zero indicates that the condition is not in effect. Since
more than one GPIB-MAC condition may exist at one
time, more than one bit may be set in status. The highest
order bit of status, also called the sign bit, is set when
the GPIB-MAC detects either a GPIB error or a serial
port error. Consequently, when status is negative, an
error condition exists, and when status is positive, no
error condition exists.
gpib-error represents a single GPIB error condition
present.
serial-error represents a single serial error condition
present.
count is the number of bytes transferred over the GPIB
by the last rd, wrt, or cmd function.
Bit Value (n) Value (s) Description
15
14
13
12
11
10
9
8
7
76
SECTION FOUR - FUNCTIONS

GPIB STATUS CONDITIONS

Numeric
Symbolic
ERR
16384
8192
SRQI
4096
2048
1024
512
256
128
LOK
Error detected
Timeout
EOI or EOS detected
SRQ detected while
Reserved
Reserved
Reserved
Operation completed
Lockout state

Advertisement

Table of Contents
loading

Table of Contents