Sterm – Measurement Computing Analyzer488 User Manual

Page 176

Advertising
background image

Section 4

Serial Controller

4.82

STERM

The STERM command sets the end-of-line terminators for output to the serial

host. All output from the Analyzer488 through the serial port is terminated by the
serial output terminator(s). All input from the serial host must be terminated by either
a Line Feed (LF) or Carriage Return (CR) except OUTPUT #count.

During INPUT, the Analyzer488 takes the data it receives from the bus device

until it detects the LF or other optionally specified input terminator. It strips all CR
and LF from the input data and appends the serial output terminator(s) before sending
it to the serial host. The default serial terminators for output are factory set for CR LF.

The query command STERM? returns the current serial output terminators.

TYPE

System command

SYNTAX

STERM[;]{[?]|term[term]|[NONE]}

term

is one of CR, LF, $char, or 'X, specifying a terminator

character.

RESPONSE

None

MODE

Any

BUS STATES

None

QUERY

Returns the string STERM followed by the current serial output

RESPONSE

terminators.

Advertising