3 *esr? - standard event status register query, 4 *psc - power-on status clear command, 5 *sre - service request enable command – B&K Precision 4034 - Manual User Manual

Page 47

Advertising
background image


47

4.11.4.3 *ESR? - Standard Event Status Register Query

This query is used to read the value of the Standard Event Status Register. Reading the register clears
it.

COMMAND TYPE:

Common Command or Query

Syntax:

*ESR?

Response:

<NR1>

4.11.4.4 *PSC - Power-On Status Clear Command

This command is used to control the automatic power-on clearing of certain status functions.

COMMAND TYPE:

Common Command or Query

COMMON COMMAND

Syntax :

*PSC<ws><Boolean>

Arguments:

Type:

Boolean

Examples:

*PSC ON or *PSC 1
*PSC OFF or *PSC 0

QUERY

Syntax:

*PSC?

Response:

ASCII 0 for OFF
ASCII 1 for ON

When set to ON (1), the Service Request Enable Register and the Standard Event Status Enable
Register are cleared on power-on.

4.11.4.5 *SRE - Service Request Enable Command

This command sets the Service Request Enable Register bits.

COMMAND TYPE:

Common Command or Query

COMMON COMMAND

Syntax:

*SRE<ws><NRf>

Arguments:

Type:

NRf

Range:

0 to 255. Non integer arguments are rounded before execution.

The value of bit 6 is ignored, and is set always to zero.

Examples:

*SRE 48 (Enables reporting of ESB and MAV events)

QUERY

Syntax:

*SRE?

Response:

<NR1>

f) STB? - Status byte query

This query is used to read the value of the Status Byte.

COMMAND TYPE:

Common Query

Syntax :

*STB?

Advertising
This manual is related to the following products: