beautypg.com

2 command description format, 1 syntax – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 72

background image

Section 5

Command Descriptions

5.2

5.2 Command Description Format

Each command description is divided into several areas:

5.2.1 Syntax

The syntax section of the command description describes the proper

command syntax which must be sent to the Micro488/EX using the IBM
BASIC PRINT# command, or its equivalent in other languages, to the
COM port. The following conventions are used in the syntax descriptions:

No command, along with its options, may be more than 127 characters

long. The data part of the OUTPUT command is not constrained by this
length. It is, however, limited to the available USER MEMORY. The
OUTPUT #count;data

may contain be as long as necessary. Refer to

the OUTPUT command for more information on this.

Items in capital letters, such as ENTER or OUTPUT must be used

exactly as stated. Abbreviations may be used with some commands to
reduce serial transmission traffic.

Items in lower case, such as addr or count represent parameters

which must be substituted with an appropriate value.

Blank spaces in commands are generally ignored. Thus, LOCAL

LOCK

OUT is the same as LOCALLOCKOUT. Spaces are not ignored in four

places: the data part of an OUTPUT command, within quoted strings in a
SEND

command, after an apostrophe (') in a terminator specification

(term), and after the semi-colon following the ID command.

The number sign character (#) and the semi-colon (;) must be present

exactly as shown. A comma (,) represents an address separator. The
oblique or slash character (/) or period (.) may be used in its place as the
address separator.

Optional semicolons ([;]) may be used, if desired, for consistency

with other IOtech products.