KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-31
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
ibstop
Description
This command stops asynchronous I/O operation. If the
ibsta
command is used when
asynchronous I/O is operating, the error code EABO is returned to show the I/O was
successfully stopped.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibstop (int ud)
Visual Basic
ibstop (ByVal ud As Integer) As Integer
- or -
call ibstop (ByVal ud As Integer)
Parameters
ud
: board or device descriptor
Return Value
The value of the
ibsta
Error Codes
EABO, EBUS, EDVR, ENEB
ibtmo
Description
This command sets the board or device timeout period. The timeout period is the
maximum continuous time allowed for synchronous I/O operation (
ibrd
and
ibwrt
for
example); or the maximum waiting time of
ibwait
or
ibnotify
that uses
TIMO
in the
mask. If the operation is not completed within the timeout period, the operation is
stopped and returns
TIMO
in
ibsta
.
Support Level
Board / device level
Syntax
Microsoft C/C++ and Borland C++
int ibtmo(int ud, int v)
Visual Basic
ibtmo (ByVal ud As Integer, ByVal v As Integer)
As Integer
- or -
call ibtmo (ByVal ud As Integer, ByVal v As Integer)
Parameters
ud
: board or device descriptor
v
: timeout period value. The valid timeout values are shown in
:
Table 2-13
ibtmo timeout
Constant
V Value
Minimum Timeout
TNONE
0
Disabled - no timeout period
T10
μ
s
1
10
μ
s
T30
μ
s
2
30
μ
s
T100
μ
s
3
100
μ
s
T300
μ
s
4
300
μ
s
T1ms
5
1ms
T3ms
6
3ms
T10ms
7
10ms