ibic—Interface Bus Interactive Control Utility
Chapter 5
NI-488.2M SRM for OS/2
5-24
© National Instruments Corp.
Print (Display the ASCII String)
You can use the
function to echo a string to the screen. The following
example shows how you can use ASCII or hex with the print command.
dev1:
hello
dev1:
and
goodbye
print "hello"
print "and\r\n\x67\x6f\x6f\x64\x62\x79\x65"
You can also use
to display comments from indirect files. The print
string appears even if the display is suppressed with the
-
function.
ibic Examples
This section presents examples for using NI-488.2 routines and NI-488 board
functions and device functions in
ibic
.
NI-488.2 Routines Example
This section shows how you might use
ibic
to test a sequence of NI-488.2
routines.
1.
Use the
set
command to set up
ibic
for NI-488.2 calls.