Mask – Measurement Computing Analyzer488 User Manual

Page 139

Advertising
background image

Section 4

Serial Controller

4.45

MASK

The MASK command is used to mask the most significant bit (MSB) of serial

input data. Some serial host computers set the MSB (high bit) when using eight bit
serial data lengths. When the MASK ON command is issued, each serial character
received is logically ANDed with &H7F (127 decimal).

MASK

OFF is the factory default. In default operation, all serial input data is

automatically masked with &H7F. The exception to this is any data which follows a
semi-colon (;), an apostrophe (') or a quotation mark ("). After a MASK ON
command, all characters are masked.

The query option MASK? returns the state of the MASK command.

TYPE

System command

SYNTAX

MASK

{[ON | OFF]}

RESPONSE

None

MODE

Any

BUS STATES None

QUERY

The string MASK ON

or MASK OFF

RESPONSE

EXAMPLE

PRINT#1,"MASK ON"

Advertising