System - HP E2261A User Manual

Quad serial m-module
Table of Contents

Advertisement

SYSTem . . . :TERMinator:RECeive CR | LF | CRLF | NONE | <NRf>
SYSTem . . . :TERMinator:RECeive?
SYSTem . . . :TERMinator:PASSthrough 1 | 0 | ON | OFF
SYSTem . . . :TERMinator:PASSthrough?
48 SCPI Command Reference
This command defines a termination character for the specified port's receive
operations. The port to be affected by the command is specified by the port number
after the :SERial command (i.e. SERial1 is Port 1, SERial2 is Port 2, etc.). If a port
number is not specified, Port 1 is defaulted (that is :SERial is the same as :SERial1).
The termination character can be:
Carriage Return (CR)
Line Feed (LF)
Both Carriage Return and Line Feed (CRLF)
Termination character ignored (NONE)
Any ASCII character (specify the ASCII value -2 to 255, -2 is CRLF, -1 is
NONE)
If a terminator character is set, the driver sends the data after the terminator character
is received.
Power-on/reset default is LF.
This command returns the ASCII numeric equivalent of the current defined
termination character:
13 for Carriage Return (CR)
10 for Line Feed (LF)
-2 for both CR and LF
-1 for NONE
An ASCII integer value
When enabled (1 or ON), and a read operation is active, the termination character
is passed-through as part of the data. Power-on/reset is disabled (OFF).
Returns an integer, either 1 or 0, representing the passthrough status of the specified
port. A 1 indicates terminator passthrough is enabled; a 0 (power-on default) means
the terminator passthrough is disabled.

Advertisement

Table of Contents
loading

Table of Contents