COMMAND REFERENCE

4 - 95

STATus:QUEue[:NEXT]?

Syntax: STATus:QUEue[:NEXT]?

Response: <error_number>,"<error_description>"

<error_number>

A predefined number. If 0 (zero) is returned,

 

there are no errors in the queue.

<error_description> A short description of the error. When there are no errors in the queue, the description is "No error".

Description:

The STATus:QUEue? query reports the next event from the error/event queue and removes this event from the queue. The error queue is a "First-In First-Out" (FIFO) queue. Therefore, the error query returns the oldest error. Once an error is read, it is removed from the queue and the next error message is made available. STATus:QUEue? is the alias of the SYSTem:ERRor? query. If the queue is empty, the instrument responds with:

0,"No error"

The error/event queue has space for 20 messages. If there are more messages than the queue can hold, it will overflow. The oldest messages stay in the queue, but the most recent message is discarded and the latest message is written in its place. When the event/error queue overflows, the last position in the queue is set to:

-350,"Queue overflow"

The error/event queue is cleared:

After power on.

When *CLS is received.

When the last error in the queue is read.

Example:

Send STATus:QUEue?

Read -222,"Data out of range"

The error number is -222 and the meaning is "Data out of range".

Page 195
Image 195
Fluke PM-3380B STATusQUEueNEXT?, No error, 350,Queue overflow, Error number is -222 and the meaning is Data out of range