![background image](http://html1.mh-extra.com/html/keithley/kpci-488-lpa/kpci-488-lpa_user-manual_3940953058.webp)
2-32
Return to
KPCI-488LPA-900-01 Rev. A / December 2008
Section 2: NI Command Compatible Functions
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Return Value
The value of the
ibsta
Error Codes
EARG, EDVR, ENEB, EOIP
ibtrg
Description
This command sends the
Group Execute Trigger (GET)
message to a device.
Support Level
Device level
Syntax
Microsoft C/C++ and Borland C++
int ibtrg (int ud)
Visual Basic
ibtrg (ByVal ud As Integer) As Integer
- or -
call ibtrg (ByVal ud As Integer)
Parameters
ud
: device descriptor
Return Value
The value of the
ibsta
Error Codes
EARG, EBUS, ECIC, EDVR, ENEB, EOIP
ibwait
Description
ibwait
waits for one or more events described by mask (including
TIMO
) to occur. If
TIMO
in the wait mask is set,
ibwait
returns when the timeout period has expired even
if no other GPIB events occur. Setting
TIMO
to zero returns the newest
ibsta
immediately. If the
TIMO
in the wait mask is cleared, the function waits indefinitely for
a GPIB event (described by mask).
The present
ibwait
mask bits are the same as
ibsta
bits. Only the
TIMO
,
END
,
RQS
,
and
CMPL
are valid wait mask bits if
ud
is a device descriptor. Except for
RQS
, if
ud
is a board descriptor, all wait mask bits are valid.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibwait (int ud, int mask)
T30ms
8
30ms
T100ms
9
100ms
T300ms
10
300ms
T1s
11
1s
T3s
12
3s
T10s
13
10s
T30s
14
30s
T100s
15
100s
T300s
16
300s
T1000s
17
1000s
Table 2-13 (continued)
ibtmo timeout
Constant
V Value
Minimum Timeout