Numeric String Argument; Status Information; November - National Instruments GPIB-MAC User Manual

Table of Contents

Advertisement

November 1985

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 32), the talk address is 64 (primary address
plus 64), and the secondary address is 2 or 98, which are
equivalent. The next paragraph explains the \x notation.

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 0). To specify a hexadecimal integer, precede it with a
backslash x ox) or backslash X OX).
Each of the following numeric strings represents the decimal integer
value 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 GPIB-
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
112

Advertisement

Table of Contents
loading

Table of Contents