
Model 2790 SourceMeter
®
Switch System Reference Manual
11-21
Queues
The Model 2790 uses two queues, which are first-in, first-out (FIFO) registers:
•
Output Queue
— Used to hold reading and response messages.
•
Error Queue
— Used to hold error and status messages.
The Model 2790 status model (
) shows how the two queues are structured with
the other registers.
Output queue
The Output Queue holds data that pertains to the normal operation of the instrument. For
example, when a query command is sent, the response message is placed in the Output
Queue.
When data is placed in the Output Queue, the Message Available (MAV) bit in the Status
Byte Register sets. A data message is cleared from the Output Queue when it is read. The
Output Queue is considered cleared when it is empty. An empty Output Queue clears the
MAV bit in the Status Byte Register.
A message is read from the Output Queue by addressing the Model 2790 to talk after the
appropriate query is sent.
Error queue
The Error Queue holds error and status messages. When an error or status event occurs, a
message that defines the error/status is placed in the Error Queue.
When a message is placed in the Error Queue, the Error Available (EAV) bit in the Status
Byte Register is set. An error/status message is cleared from the Error Queue when it is
read. The Error Queue is considered cleared when it is empty. An empty Error Queue
clears the EAV bit in the Status Byte Register.
The Error Queue holds up to 10 error/status messages. The commands to read the Error
Queue are listed in
. When you read a message in the Error Queue, the “oldest”
message is read and then removed from the queue. If the queue becomes full, the message
“350, ‘Queue Overflow’” will occupy the last memory location. On power-up, the Error
Queue is empty. When empty, the message “0, No Error” is placed in the queue.
Messages in the Error Queue are preceded by a code number. Negative (-) numbers are
used for SCPI-defined messages and positive (+) numbers are used for Keithley-defined
messages. The messages are listed in the appendices at the end of this manual.
Summary of Contents for 2790
Page 3: ......
Page 7: ......
Page 105: ...2 48 Model 2790 SourceMeter Switch System Reference Manual...
Page 245: ...7 40 Model 2790 SourceMeter Switch System Reference Manual...
Page 265: ...8 20 Model 2790 SourceMeter Switch System Reference Manual...
Page 305: ...10 22 Model 2790 SourceMeter Switch System Reference Manual...
Page 328: ...12 CommonCommands...
Page 336: ...13 SCPISignalOriented MeasurementCommands...
Page 345: ...13 10 Model 2790 SourceMeter Switch System Reference Manual...
Page 355: ...14 10 Model 2790 SourceMeter Switch System Reference Manual...
Page 356: ...15 SCPIReferenceTables...
Page 419: ...16 38 Model 2790 SourceMeter Switch System Reference Manual...
Page 461: ...A 2 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 462: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 3...
Page 463: ...A 4 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 464: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 5...
Page 465: ...A 6 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 466: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 7...
Page 471: ...A 12 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Page 472: ...B StatusandErrorMessages...
Page 479: ...B 8 Model 2790 SourceMeter Switch System Reference Manual...
Page 493: ...C 14 Model 2790 SourceMeter Switch System Reference Manaul...
Page 509: ...E 6 Model 2790 SourceMeter Switch System Reference Manual...
Page 510: ...F IEEE 488BusOverview...
Page 525: ...F 16 Model 2790 SourceMeter Switch System Reference Manual...
Page 526: ...G CalibrationReference...