Section Five
IBIC
©National Instruments Corp.
5-9
GPIB-PC User Manual
Table 5.1 - Syntax of GPIB Functions in
IBIC
(continued)
Request service
ibrsv v
d
3
Change seconday address
ibsad v
db
3
Send interface clear
ibsic
b
3
Set/clear remote enable line
ibsre [v]
b
2,3
Abort asynchronous operation
ibstop
db
Change/disable time limit
ibtmo v
db
3
Configure applications monitor
ibtrap
mask v
db
3,8
Trigger selected device
ibtrg
d
Wait for selected event
ibwait
[mask]
db
2,8
Write data
ibwrt
stringd
b
4
Write data asynchronously
ibwrta
string
db
4
Write data to file
ibwrtf
flname
db
7
NOTES
1.
bname
is the symbolic name of the new board, e.g.,
ibbna
gpib1
.
2.
Values enclosed in square brackets (
[]
) are optional. The
default value is 0 for
ibwait
and 1 for all other functions.
3.
v
is a hex, octal, or decimal integer. Hex numbers must be
preceded by zero and x (e.g.,
0xD
). Octal numbers must be
preceded by zero only (e.g.,
015
). Other numbers are assumed
to be decimal.
4.
string
consists of a list of ASCII characters, octal or hex
bytes, or special symbols. The entire sequence of characters
must be enclosed in quotes. An octal byte consists of a
backslash character followed by the octal value. For example,
octal 40 would be represented by
\40
. A hex byte consists of a
backslash character and a character
x
followed by the hex
value. For example, hex 40 would be represented by
\x40
.
The two special symbols are
\r
for a carriage return character
and
\n
for a linefeed character. These symbols provide a more
convenient method for inserting the carriage return and linefeed