November 1985
National Instruments
It is recommended that you always include the
bit
value in mask when you wait for an event.
WAIT MASK VALUES
Hex Decimal
Bit Value Value
Description
15
14
13
12
11
10
9
8
7
4
4000
1000
40
20
10
2
1
16384
128
64
32
16
2
LOK
REM
ATN
TACS
LACS
DTAS
DCAS
Reserved
Timeout
Reserved
SRQ detected while
Reserved
Reserved
Reserved
Reserved
Lockout state
Remote state
Controller-In-Charge
Attention asserted
Talker active
Listener active
Device trigger state
Device clear state
If
the function completes immediately,
If the
bit is 0 or the
timeio time
is set to 0
with
tmo,
timeouts for this function are disabled. You
should disable timeouts only when you are certain the
selected event will occur; otherwise, the
waits indefinitely for the event to occur.
If you call
wait
without an argument, the GPIB-MAC
records the
error.
Refer also to
stat
and
tmo.
86
SECTION FOUR FUNCTIONS