Sense Subsystem; Sense:serial[1|2|3|4][:Text?] [N] - HP E2261A User Manual

Quad serial m-module
Table of Contents

Advertisement

Syntax
SENSe:SERIAL[1|2|3|4][:TEXT?] [ n ]
The SENse subsystem receives data from an external device and sends it to the host
(system) computer. The port to be affected by the command is specified by the port
number after the
:SERial
If a port number is not specified, Port 1 is defaulted (that is
).
:SERial1
SENSe
:SERial[1|2|3|4]
This command receives an unquoted text string from the external device. The
command stores the ASCII characters in a buffer until a terminating condition is
reached. When the terminating condition is reached, the text string is sent to the host
(system) computer. The maximum string length is 2048 characters. If you need to
receive more than 2048 characters, multiple
There are three possible terminating conditions (see the
SYStem:COMMunicate:SERIAL[1|2|3|4]:TERMinator
The first terminating condition is when a specified terminating character is
received. This is typically a Carriage Return (CR) or Line Feed (LF) or both
(CRLF). The terminating character must not be set to
command returns the data as soon as the terminator is received. Use the
SYStem:COMMunicate:SERIAL[1|2|3|4]:TERMinator:RECeive
set the terminating character.
The second terminating condition is a specified number of bytes are received
from the external device. Use the
Default and maximum number of bytes is 2048.
The third terminating condition is a time-out. The unquoted text string is
returned to the host computer when a specified amount of time has elapsed. Set
the timeout value with the
SYStem:COMMunicate:SERIAL[1|2|3|4]:TERMinator
warning message, "Read/write job timeout" is added to the error queue.
The terminator is normally not part of the returned ASCII string. You can use the
SYStem:COMMunicate:SERIAL[1|2|3|4]:TERMinator:PASSthrough
make the terminator character(s) part of the returned data string.

SENSe Subsystem

command (i.e.
:SERial1
[:TEXT?] [ n ]
:DATA? [ n ]
:TEXT?
parameter [ n ]
is Port 1,
:SERial2
is Port 2, etc.).
:SERial
is the same as
command must be used.
commands).
. The
NONE
:TEXT?
command to
to set the number of bytes.
:
command. The
TIMEout
command to
SCPI Command Reference
29

Advertisement

Table of Contents
loading

Table of Contents