5 status subsystem, 1 status preset, 2 error queue read – B&K Precision 4078 - Manual User Manual

Page 78: 3 error queue enable

Advertising
background image

4.13.5 Status Subsystem

This subsystem controls the SCPI-defined status reporting structures, which are the QUEStionable and OPERation
status registers, and the error/event queue. The OPERation status registers are mandated by SCPI, and so are
implemented, but are not used by the hardware. No status is ever reported through them, and they are not detailed in
this manual. The following shows the STATus structure used:


:STATus

:PRESet

:QUEue

[:NEXT]?

:ENABle

:QUEStionable

:CONDition?

:PTRansition <NRf>

:NTRansition <NRf>

:EVENt?

:ENABle <NRf>

4.13.5.1 Status Preset


:STATus:PRESet


This command is used to set certain status values to defined values.


a) The OPERation and QUEstionable enable registers are cleared.

b) The Positive transition filters are set to 32767.

c) The Negative transition filters are set to 0.

d) Only errors in the range (-440:-100) are enabled to be reported in the event queue.

Command Type: Setting only
Setting
Syntax:

:STATus:PRESet

4.13.5.2 Error Queue Read


:STATus:QUEue?

This query returns the first entry in the error queue, and removes that entry from the queue. Its function is identical
to that of the :SYSTem:ERRor? query.

Command Type: Query only
Query
Syntax:

:STATus:QUEue[:NEXT]?

Response:

<Error number>, "<error description>"

4.13.5.3 Error Queue Enable


:STATus:QUEue:ENABle

This command is used to enable individual errors to be placed in the queue when they occur. Those errors not
specified in the :ENABle command are disabled from being reported in the error queue. Errors and events enabled to
be reported at power on depends on the Power on Status Clear status (set with the *PSC common command). If PSC
is set, the status is cleared on power on, and the range of errors enabled is as set by the STATus:PRESet command,
ie -440 to -100. If PSC is cleared, the status is not cleared on power on, and the errors and events enabled are those

Advertising
This manual is related to the following products: