beautypg.com

Operation status and questionable status registers, Error/event queue – AMETEK SFA Series Ethernet Programming User Manual

Page 77

background image

SG Series Programming

SCPI Command Operation

M550129-03 Rev K

6-5

6.2.4

Operation Status and Questionable Status

Registers

The Operation Status and Questionable Status Registers will always
return 0 when queried. The Operation Status Enable and Questionable
Status Enable Registers can be programmed and queried to allow SCPI
compatibility but have no effect on the Operation Status and Questionable
Status Registers.

6.2.5

Error/Event Queue

The Digital Interface Adapter (DIA) maintains an Error/Event Queue as
defined by SCPI. The queue holds up to 10 error events. It is queried
using the SYSTem:ERRor? command which reads in a First In/First Out
(FIFO) manner. The read operation removes the entry from the queue.
The *CLS command will clear all entries from the queue.

The following error codes are defined in the SCPI 1995.0 specification and
are supported by the DIA. Error codes are in the range of [-32768,
32767]. SCPI reserves the negative error codes and 0, while error codes
greater than 0 are device specific errors.

Table 6-4 Table 6-5. SCPI Error Codes

Error Code Description

206

No channels setup to trigger
This means that an attempt was made to trigger the DIA using the
TRIG:TYPE <1|2|3> command when there are no armed trigger settings.
This error is not generated when the GET is received, even when there are
no armed trigger settings.

205

GPIB GET not allowed during message
This error means that the GPIB G(roup) E(xecute) T(rigger) multiline
command was errantly generated by the system computer while or very
shortly after a message is or was sent. Give a few milliseconds after a
message was sent before attempting a GET; and never send a GET during
the midst of a message transfer over the GPIB.

204

GPIB IFC caused warm boot
This error relates to the GPIB IFC signal, and is available only in
association with a proprietary command.

203

Hardware watchdog warm boot
This error is caused by a hardware fault either in the power supply proper,
or on the DIA. One possible explanation might be that the mains power to
the supply was interrupted for a short but sufficient time to cause the DIA
processor to reset and re-boot. Also, it might be possible to generate this
error by a very momentary off action of the front panel power switch.

202

Foreground watchdog warm boot
This error means that the internal firmware on the DIA found an internal
error condition that halted processing; to force resumption of processing, a
warm boot was required.