10-10
Status Structure
Model 6485 Picoammeter Instruction Manual
Programming example — set MSS (B6) when error occurs
The first command of the following sequence enables EAV (error available). When an
invalid command is sent (line 4), bits B2 (EAV) and B6 (MSS) of the status byte register
set to 1. The last command reads the status byte register using the binary format (which
directly indicates which bits are set). The command to select format (FORMat:SREGister)
is documented in
. To determine the exact nature of the error, you will have to
*CLS
' Clear Error Queue.
*SRE 4
' Enable EAV.
FORM:SREG BIN
' Select binary format.
BadCommand
' Generate error.
*STB?
' Read Status Byte Register.
NOTE
An example program to demonstrate serial polling (Generating SRQ on buffer
full) is provided in
.
Status register sets
As shown in
, there are four status register sets in the status structure of Model
6485; standard event status, operation event status, measurement event status, and ques-
tionable event status.
Register bit descriptions
Standard event status
The used bits of the standard event register (
) are described as follows:
Table 10-3
Common commands — status byte and service request enable registers
Command
Description
Default
*STB?
Read status byte register.
*SRE <NDN> or <NRf>
Program the service request enable register:
<NDN> =
#Bxx…x
Binary format (each x = 1 or 0)
=
#Hx
Hexadecimal format (x = 0 to FF)
=
#Qx
Octal format (x = 0 to 377)
<NRf> =
0 to 255
Decimal format
(Note)
*SRE?
Read the service request enable register
Note: *CLS and STATus:PRESet have no effect on the service request enable register.
Содержание 6485
Страница 1: ...Model 6485Picoammeter Instruction Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E ...
Страница 20: ......
Страница 24: ......
Страница 44: ...1 20 Getting Started Model 6485 Picoammeter Instruction Manual ...
Страница 66: ...3 6 Measurements Model 6485 Picoammeter Instruction Manual ...
Страница 138: ...9 20 Remote Operation Model 6485 Picoammeter Instruction Manual ...
Страница 159: ...11 CommonCommands ...
Страница 164: ...11 6 Common Commands Model 6485 Picoammeter Instruction Manual ...
Страница 165: ...12 SCPISignalOriented MeasurementCommands ...
Страница 190: ...14 12 SCPI Reference Tables Model 6485 Picoammeter Instruction Manual ...
Страница 214: ...16 14 Calibration Model 6485 Instruction Manual ...
Страница 219: ...A Specifications ...
Страница 221: ...B StatusandErrorMessages ...
Страница 227: ...C GeneralMeasurement Considerations ...
Страница 233: ...D DDCEmulationCommands ...
Страница 247: ...E ExamplePrograms ...
Страница 250: ...E 4 Example Programs Model 6485 Picoammeter Instruction Manual ...
Страница 251: ...F IEEE 488BusOverview ...
Страница 266: ...F 16 IEEE 488 Bus Overview Model 6485 Picoammeter Instruction Manual ...
Страница 267: ...G IEEE 488andSCPI ConformanceInformation ...
Страница 311: ......