11-22
Model 2790 SourceMeter
®
Switch System Reference Manual
On power-up, all error messages are enabled and will go into the Error Queue as they
occur. Status messages are not enabled and will not go into the queue. As listed in
, there are commands to enable and/or disable messages. For these commands,
the <list> parameter is used to specify which messages to enable or disable. The messages
are specified by their codes. The following examples show various forms for using the
<list> parameter.
<list>
= (-110)
Single message
= (-110:-222)
Range of messages (-110 through -222)
= (-110:-222, -220)
Range entry and single entry (separated by a comma)
When you enable messages, messages not specified in the list are disabled. When you dis-
able messages, each listed message is removed from the enabled list.
klqb
To prevent all messages from entering the Error Queue, send the enable com-
mand along with the null list parameter as follows:
STATus:QUEue:ENABle ().
Programming example — read error queue
The following command reads the error queue:
STAT:QUE?
Table 11-6
Error queue commands
Command
Description
Notes
STATus:QUEue:[:NEXT]?
Read and clear oldest error/status (code and message).
1
STATus:QUEue:ENABle <list> Specify error and status messages for Error Queue.
2
STATus:QUEue:ENABle?
Read the enabled messages.
STATus:QUEue:DISable <list> Specify messages not to be placed in queue.
2
STATus:QUEue:DISable?
Read the disabled messages.
STATus:QUEue:CLEar
Clear messages from Error Queue.
SYSTem:ERRor?
Read Error Queue.
1
SYSTem:CLEar
Clear messages from Error Queue.
Notes:
1. Power-up and *CLS empties the Error Queue. STATus:PRESet has no effect.
2. Power-up enables error messages and disables status messages. *CLS and STATus:PRESet have no effect.
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...