Programming in G Mode
Chapter 6
GPIB-SCSI-A User Manual
6-4
© National Instruments Corp.
Function Argument Delimiters
When specifying a function, separate the first argument from the function
name with at least one space. Separate each additional argument with at
least one space or comma.
In the syntax portions of the function descriptions in Chapter 7, G Mode
Functions, the square brackets (
[]
) that enclose some arguments indicate
that those arguments are optional. Do not enter the brackets as part of your
argument.
Numerical Input and Output
The GPIB-SCSI-A has variable numeric argument formats. In the
programming messages, numeric arguments can be specified in decimal
(base 10), binary (base 2), octal (base 8), or hexadecimal (base 16). To
indicate one of these bases, you must attach one of the following prefixes to
the number:
•
decimal
To indicate decimal numbers, just enter the number
without a prefix.
•
binary
To indicate a binary number, precede the number with
a #b or #B prefix. For example, #b11011001
represents the byte value of D9 hex, or 217 decimal.
•
octal
To indicate an octal number, precede the number with
a #q or #Q prefix. For example, #Q153 represents the
byte value of 6B hex, or decimal 107.
•
hexadecimal
To indicate a hexadecimal number, precede the
number with a #h or #H prefix. For example, #h45
represents the byte value of 45 hex, or decimal 69.
Unless otherwise indicated, when you are asked for a numerical value, you
can supply the value in any of the above mentioned ways.
Although the GPIB-SCSI-A accepts numerical values in any of the previous
four formats, all the responses generated by the GPIB-SCSI-A are in
decimal.
Содержание GPIB-SCSI-A
Страница 20: ......
Страница 27: ......
Страница 355: ...Appendix C Operation of the GPIB National Instruments Corp C 7 GPIB SCSI A User Manual Figure C 2 Linear Configuration ...
Страница 356: ...Operation of the GPIB Appendix C GPIB SCSI A User Manual C 8 National Instruments Corp Figure C 3 Star Configuration ...