How to exit ibic, Important programming note – National Instruments GPIB-PC User Manual

Page 193

Advertising
background image

Section Five

IBIC

©National Instruments Corp.

5-5

GPIB-PC User Manual

This command receives data from the device and displays it on the
screen in hexadecimal format, and provides its ASCII equivalent, along
with information about the data transfer such as the Status Word and the
Byte Count.

How to Exit

IBIC

Typing

e

or

q

will return you to DOS.

Important Programming Note

Some GPIB instruments require special termination characters or End of
String (EOS) characters to indicate to the device the end of
transmission. If your device requires any EOS characters, you must add
these to the end of the data string sent out by the

IBWRT

statement.

The following example illustrates the addition of the two most
commonly used EOS characters, the carriage return and the linefeed.

Example:

dev1:

[0100] (cmpl)

count: 6

ibwrt "F3R5T1\r\n"

The

\r

and

\n

represent the carriage return and linefeed characters

respectively. See Table 5.3 for a more detailed description on the
representation of non-printable characters.

Advertising