Sterm – Measurement Computing Micro 488/EX rev.2.1 User Manual
Page 153

Section 5
Command Descriptions
5.83
STERM
The STERM command sets the end-of-line terminators for output to the serial
host. All output to 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 Micro488/EX takes the data it receives from the bus device
until it detects the LF of other optionally specified input terminating condition. 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 set by internal
DIP switches and are factory set for CR LF.
SYNTAX
STERM[;]{term[term]|[NONE]}
or
STE[;]{term[term]|[NONE]}
term is one of CR, LF, $char, or 'X, specifying a terminator
character.
RESPONSE
None
MODE
Any
BUS STATES
None
EXAMPLES
PRINT#1,"STERM CR"
Set the serial output terminator to carriage-return.
PRINT#1,"STERM NONE"
Disable sending any serial output terminators.
PRINT#1,"STERM $&H0D"
Set the serial output terminator to carriage-return.
PRINT#1,"STERM $0"
Set the serial output terminator to NULL.