Advantech PCI-1671UP Startup Manual page 113

High-performance gpib pci interface card; high-performance gpib usb interface module
Hide thumbs Also See for PCI-1671UP:
Table of Contents

Advertisement

IBSTA
Bit
15
ERR
Hex
8000
Value
Bit
7
LOK
Hex
80
Value
GPIB-488
Every GPIB library routine returns a 16-bit status word to the variable
(
ibsta
gpib-32.dll
describes the current condition of the GPIB bus lines and the GPIB
Interface Board. By examining the status word, the programmer may
determine what path the application program is to take.
Note that the mnemonics used to describe each bit of the status word are
defined within the header file for each language.
The status word contains 16-bits. If a bit equals 1 (set), the corresponding
condition is true. Likewise, if a bit equals 0, then the corresponding
condition has not occurred. The status word is of the format shown below.
If your application performs GPIB operations in multiple threads, your
application should examine the thread status function,
instead of the global
of
for a particular thread of execution. Along with
Ibsta()
ThreadIbsta()
ThreadIberr()
functions.
14
13
TIMO
END
4000
2000
6
5
REM
CIC
40
20
) or
(
Ibsta()
gpib488.dll
.
Ibsta()
ThreadIbsta()
, your multithreaded application should examine
and
ThreadIbcnt()
12
11
SRQI
RQS
1000
800
4
3
ATN
TACS
10
8
B-1
). This status word
ThreadIbsta()
returns the current value
instead of the global GPIB status
10
9
2
1
LACS
DTAS
4
2
Programming Reference Manual
B
,
8
CMPL
100
0
DCAS
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Usb-4671

Table of Contents