beautypg.com

Print (display the ascii string), E or q (exit or quit) – National Instruments GPIB-PC User Manual

Page 206

background image

IBIC

Section Five

GPIB-PC User Manual

5-18

©National Instruments Corp.

PRINT

(Display the ASCII String)

The

PRINT

function can be used to echo a string to the screen.

Example:

dev1:

hello

dev1:

and

goodbye

print "hello"

print "and\r\n\x67\x6f\x6f\x64\x62\x79\x65"

PRINT

can be used to display comments from indirect files. The print

strings will appear even if the display is suppressed with the

-

function.

The second

PRINT

example illustrates the use of hex values in

IBIC

strings.

E

or

Q

(exit or quit)

The DOS exit command or the

IBIC

function

E

or

Q

returns you to

DOS.