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

Page 53

Advertising
background image

Syntax: *OPC?
Response: ASCII character 1
Example FREQ 1KHz;*OPC?


c) *WAI - Wait-to-continue command

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

Advertising
This manual is related to the following products: