5 reading, writing and clearing status registers, 2) clearing and resetting methods – Anritsu MP1777A User Manual

Page 70

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

Advertising
background image

6.5 Reading, Writing and Clearing Status Registers

(2) Clearing and resetting methods

The table below shows clearing and resetting methods of status registers and the range of their effects.

Table 6-8 Clearing and Resetting Methods of Status Registers

Register

*RST

*CLS

Power

Source ON

#

STATus:PRESet

Other Clearing

Methods

Status byte register

No change

Clear

Clear

No change

Service request

No change

No change

Clear

No change

Execution of *SRE 0

Standard event status

register

No change

Clear

Clear

No change

Reading of events by

*ESR? to clear the status

register

Standard event status

enable register

No change

No change

Clear

No change

Execution of *ESE 0

SCPI event register

No change

Clear

Clear

No change

Reading of events by .

: STATUS:...: EVENC to

clear the status register

1

SCPI enable register ! No change

No change

Reset

Reset

Execution of

: STATUS:... : ENABle 0

Execution of the

SCPI Transition filter

No change

No change

Reset

Reset

: STATUS:...: PTRansition 0

: STATUS:...: NTRansition 0

Error/event queue

No change

Clear

Clear

No change

Reading of all the events

by : SYSTem : ERRor?

NOTES :

The SCPI event register, SCPI enable register and SCPI transition filter correspond to the event register, enable

register and transition filter in the status registers specified by SCPI and device-specific status registers.

Cleared (or reset) when the power source is switched ON with the *PSC (Power-ON Status Clear) flag set as

true by the common PSC command.

The table below shows the reset values of registers influenced by the : STATus : PRESet command.

Register 0

Enable/Filter

Reset Value

OPERational status register

Enable register

ALLO

QUEStionable status register

PTRansition filter

ALL 1

NTRansition filter

ALLO

Enable register

ALL 1

INSTrument status register

PTRansition filter

ALL 1

NTRansition filter

ALLO

Enable register

ALL 1

Other status registers

PTRansition filter

ALL 1

NTRansition filter

ALL 1

6-9

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising