Common Commands

*PRE (Parallel Poll Enable Register Enable)

 

*PRE (Parallel Poll Enable Register Enable)

Command

*PRE <mask>

 

The *PRE command sets the parallel poll register enable bits. The Parallel

 

Poll Enable Register contains a mask value that is ANDed with the bits in the

 

Status Bit Register to enable an IST during a parallel poll. Refer to table 9-4

 

for the bits in the Parallel Poll Enable Register and for what they mask.

<pre_mask>

An integer from 0 to 65535.

 

 

Example

This example allows the HP 16500C to generate an IST when a message is

 

available in the output queue. When a message is available, the MAV

 

(Message Available) bit in the Status Byte Register will be high.

 

OUTPUT XXX;"*PRE 16"

 

 

Query

*PRE?

 

The *PRE? query returns the current value of the register.

Returned format

<mask><NL>

<mask>

An integer from 0 through 65535 representing the sum of all bits that are set.

 

 

Example

OUTPUT XXX;"*PRE?"

 

 

See Also

Chapter 7, "Parallel Poll," for more information on conducting a parallel poll.

9–13

Page 125
Image 125
HP Sander 16500C manual PRE Parallel Poll Enable Register Enable, PRE mask, Pre?