4 status and event commands – B&K Precision 4079 - Manual User Manual

Page 56

Advertising
background image

50

This command is intended for use with overlapped commands. No commands in the instrument are overlapped, and

so this command has no effect.

Type:

Common Command

Syntax: *WAI

4.12.4 Status and Event Commands

a) *CLS - Clear status

The clear status command clears the SESR and Error Queue status data structures.

Type:

Common Command

Syntax: *CLS

b) *ESE - Standard event status enable

This command is used to set the value of the Standard Event Status Enable Register.

Arguments

Type: NRf

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

Type:

Common Command or Query

Syntax: *ESE<ws><NRf>

Examples: *ESE 48 (Enables the CME and EXE bits)

*ESE 255 (Enables all standard events)

Query

Syntax: *ESE?

Response: <NR1>

c) *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.

Type:

Common Query

Syntax: *ESR?

Response: <NR1>

d) *PSC - Power on status clear command

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

Arguments

Type: Boolean

Type:

Common Command or Query

Command

Syntax: *PSC<ws><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.

Advertising
This manual is related to the following products: