Print (Display The Ascii String); Ibic Examples; Ni-488.2 Routines Example - National Instruments NI-488.2M Software Reference Manual

For os/2
Hide thumbs Also See for NI-488.2M:
Table of Contents

Advertisement

ibic—Interface Bus Interactive Control Utility

Print (Display the ASCII String)

You can use the print function to echo a string to the screen. The following
example shows how you can use ASCII or hex with the print command.
dev1:
print "hello"
hello
print "and\r\n\x67\x6f\x6f\x64\x62\x79\x65"
dev1:
and
goodbye
You can also use print 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.
NI-488.2M SRM for OS/2
5-24
© National Instruments Corp.
Chapter 5

Advertisement

Table of Contents
loading

Table of Contents