November 1985
National Instruments
The following examples all specify a primary address of 0 and a
secondary address of 2. A plus sign
separates the primary
address from the secondary address. The listen address is 32
(primary address plus
the talk address is 64 (primary address
plus
and the secondary address is 2 or 98, which are
equivalent. The next paragraph explains the notation.
or
or
or
Numeric String Argument
Another type of argument is a numeric string. A numeric string
represents an integer, which you may express using decimal, octal,
or hexadecimal digits. To specify an octal integer, precede it with a
backslash
To specify a hexadecimal integer, precede it with a
backslash x
or backslash X
Each of the following numeric strings represents the decimal integer
value 112:
112
The GPIB address argument described previously under “GPIB
Address” consisted of one or two numeric strings.
Status Information
The function descriptions in Section Four explain that the
MAC “records” specific status and error information. This means
that it stores that information in its memory so that the status
information is available to you when you request it.
The function descriptions also explain that the GPIB-MAC “returns
to you” certain information. This means that the GPIB-MAC sends
information to you over the serial port. You then read this
information from your serial port
20
SECTION THREE PROGRAMMING THE GPIB-MAC