Error code, Table 5.2 - status word layout – National Instruments GPIB-PC User Manual

Page 199

Advertising
background image

Section Five

IBIC

©National Instruments Corp.

5-11

GPIB-PC User Manual

Table 5.2 - Status Word Layout

Mnemonics

Bit

Hex

Function

Description

Pos.

Value

Type

ERR

15

8000

db

GPIB error

TIMO

14

4000

db

Time limit exceeded

END

13

2000

db

END or EOS detected

SRQI

12

1000

b

SRQ interrupt received

RQS

11

800

d

Device requesting

service
CMPL

8

100

db

I/O completed

LOK

7

80

b

Lockout State

REM

6

40

b

Remote State

CIC

5

20

b

Controller-In-Charge

ATN

4

10

b

Attention is asserted

TACS

3

8

b

Talker

LACS

2

4

b

Listener

DTAS

1

2

b

Device Trigger State

DCAS

0

1

b

Device Clear State

Error Code

If a GPIB-PC function completes with an error,

IBIC

also displays the

error mnemonic. The following example illustrates an error condition
occurred in the data transfer.

Example:

dev1:

[8100] (err cmpl)

ERROR: ENOL

COUNT: 1

dev1:

ibwrt "f2t3x"

In this example, there are no Listeners; perhaps

dev1

is powered off.

Advertising