
Model 2790 SourceMeter
®
Switch System Reference Manual
11-9
Status byte and service request commands
The commands to program and read the Status Byte Register and Service Request Enable
Register are listed in
. For details on programming and reading registers, see
“Programming enable registers,” page 11-5
“Reading registers,” page 11-6
klqb
To reset the bits of the Service Requ.*SRE 0).
Programming example — set MSS (B6) when error occurs
The second command in the following sequence enables EAV (error available). When an
invalid command is sent (line 3), bits B2 (EAV) and B6 (MSS) of the Status Byte Register
set to 1. The last command reads the Status Byte Register. Keep in mind that you have to
address the Model 2790 to talk after sending a query command. To determine the exact
nature of the error, you will have to read the Error Queue (see
).
*CLS
' Clear Error Queue.
*SRE 4
' Enable EAV.
*XYZ
' Generate error.
*STB?
' Read Status Byte Register.
Table 11-2
Status byte and service request enable register commands
Command
Description
*STB?
Read Status Byte Register.
*SRE <NRf>
Program the Service Request Enable Register
(0 to 255).
*SRE?
Read the Service Request Enable Register.
Note: *CLS and STATus:PRESet have no effect on the Service Request Enable Register.
Содержание 2790
Страница 3: ......
Страница 7: ......
Страница 105: ...2 48 Model 2790 SourceMeter Switch System Reference Manual...
Страница 245: ...7 40 Model 2790 SourceMeter Switch System Reference Manual...
Страница 265: ...8 20 Model 2790 SourceMeter Switch System Reference Manual...
Страница 305: ...10 22 Model 2790 SourceMeter Switch System Reference Manual...
Страница 328: ...12 CommonCommands...
Страница 336: ...13 SCPISignalOriented MeasurementCommands...
Страница 345: ...13 10 Model 2790 SourceMeter Switch System Reference Manual...
Страница 355: ...14 10 Model 2790 SourceMeter Switch System Reference Manual...
Страница 356: ...15 SCPIReferenceTables...
Страница 419: ...16 38 Model 2790 SourceMeter Switch System Reference Manual...
Страница 461: ...A 2 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 462: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 3...
Страница 463: ...A 4 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 464: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 5...
Страница 465: ...A 6 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 466: ...Model 2790 SourceMeter Switch System Reference Manual Specifications A 7...
Страница 471: ...A 12 Specifications Model 2790 SourceMeter Switch System Reference Manual...
Страница 472: ...B StatusandErrorMessages...
Страница 479: ...B 8 Model 2790 SourceMeter Switch System Reference Manual...
Страница 493: ...C 14 Model 2790 SourceMeter Switch System Reference Manaul...
Страница 509: ...E 6 Model 2790 SourceMeter Switch System Reference Manual...
Страница 510: ...F IEEE 488BusOverview...
Страница 525: ...F 16 Model 2790 SourceMeter Switch System Reference Manual...
Страница 526: ...G CalibrationReference...