beautypg.com

Remote control commands and queries, Status – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 219

background image

Remote Control Commands and Queries

WM-RCM-E Rev D

ISSUED: February 2005

213

STATUS

*PRE

Command/Query

DESCRIPTION

The *PRE command sets the PaRallel poll Enable register (PRE).
The lowest eight bits of the Parallel Poll Register (PPR) are
composed of the STB bits. *PRE allows you to specify which bit(s)
of the parallel poll register will affect the ‘ist’ individual status bit.

The *PRE? query reads the contents of the PRE register. The
response is a decimal number that corresponds to the binary sum of
the register bits.

COMMAND SYNTAX

PRE

: = 0 to 65 535

QUERY SYNTAX

*PRE?

RESPONSE FORMAT

*PRE

EXAMPLE (GPIB)

The following instruction will cause the ‘ist’ status bit to become 1

as soon as the MAV bit (bit 4 of STB, i.e. decimal 16) is set, and
yields the PRE value 16:

CMD$=“*PRE 16”: CALL IBWRT(SCOPE%,CMD$)

RELATED COMMANDS

*IST