
Chapter 5
ibic—Interface Bus Interactive Control Utility
© National Instruments Corp.
5-19
NI-488.2M SRM for OS/2
6.
string
consists of a list of ASCII characters, octal or hex bytes, or special
symbols. You must enclose the entire sequence of characters in quotation
marks. An octal byte consists of a backslash character followed by the octal
value. For example, octal 40 is represented by
\040
. A hex byte consists
of a backslash character and a character
x
followed by the hex value. For
example, hex 40 is represented by
\x40
. The two special symbols,
\r
for
a carriage return character and
\n
for a linefeed character, are a more
convenient method for inserting the carriage return and linefeed characters
into the string as shown in this example:
"F3R5T1\r\n"
. Because the
carriage return can be represented equally well in hex,
\xD
and
\r
are
equivalent strings.
7.
Valid options for
buffer
are 0, 1, 2, and 3, which denote
off
,
ascii
,
full
, and
brief
, respectively.
Set (Select Device or Board)
Use the
set
command to change which device you are communicating with.
dev1:
plotter:
set plotter
This example assumes that you used
ibconf
to define the name
plotter
and
that you had already called
ibfind plotter
during an earlier
ibic
session.
The following example summarizes the use of
ibfind
and
set
in a typical
program.