13-16 Return to Section Topics 6482-901-01 Rev. A / August 2012
Section 13: Status Structure Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual
NOTE The bits of any enable register can be reset to 0 by sending the 0 parameter value with
the appropriate enable command (for example, STATus:OPERation:ENABle 0).
Programming example - program and read register set
The command sequence in Table 13-8 programs and reads the measurement register set.
Registers are read using the binary format (which directly indicates which bits are set). The
command to select format (FORMat:SREGister) is documented in Table 13-2.
Queues
The Model 6482 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. For a listing of error and status
messages, see Appendix A.
The Model 6482 status model (Figure 13-1) shows how the two queues are structured with the
other registers.
Table 13-7
Event enable register commands
Command Description Default
*ESE <NDN> or <NRf>
*ESE?
STATus
:OPERation
:ENABle <NDN> or <NRf>
:ENABle?
:MEASurement
:ENABle <NDN> or <NRf>
:ENABle?
:QUEStionable
:ENABle <NDN> or <NRf>
:ENABle?
Program Standard Event Enable Register. See “Parameters.”
Read Standard Event Enable Register.
STATus Subsystem:
Operation Event Enable Register:
Program enable register. See “Parameters.”
Read enable register.
Measurement Event Enable Register:
Program enable register. See “Parameters.”
Read enable register.
Questionable Event Enable Register:
Program enable register. See “Parameters.”
Read Measurement Event Enable Register.
Note
Parameters:
<NDN>=#Bxx…x Binary format (each x = 1 or 0)
= #Hx Hexadecimal format (x = 0 to FFFF)
= #Qx Octal format (x = 0 to 177777)
<NRf>=0 to 65535 Decimal format
Note: Power-up and STATus:PRESet resets all bits of all enable registers to 0. *CLS has no effect.
Table 13-8
Program and read register programming example
Command Description
FORM:SREG BIN
STAT:MEAS:ENAB 512
STAT:MEAS:COND?
STAT:MEAS?
Select binary format to read registers.
Enable BFL (buffer full).
Read Measurement Condition Register.
Read Measurement Event Register.