
IEEE-488 Reference
3-36
*RST — reset
Reset the Model 2002
When the *RST command is sent, the Model 2002 performs the following operations:
1. Returns the Model 2002 to the *RST default conditions (see SCPI tables).
2. Cancels all pending commands.
3. Cancels response to any previously received *OPC and *OPC? commands.
PRINT #1, "output 16; *rst"
' Return 2002 to *rst defaults
*SAV — save
Save the current setup in memory
No extended
Model 2002-MEM1
Model 2002-MEM2
memory
installed
installed
<NRf> = 0
<NRf> = 0 to 4
<NRf> = 0 to 9
The *SAV command is used to save the current instrument setup configuration in memory for
later recall. Any control affected by *RST can be saved by the *SAV command. The *RCL com-
mand is used to restore the instrument to a saved setup configuration.
If the Model 2002 does not have any extended memory installed, only one setup configuration
can be saved and recalled. In this situation, memory location “0” is the only valid parameter for
the *SAV command. If the Model 2002-MEM1 memory element is installed, up to five setup
configurations can be saved and recalled. In this situation, memory locations “0” through “4”
are valid parameters. If the Model 2002-MEM2 memory element is installed, up to 10 setup
configurations can be saved and recalled. Memory locations “0” through “9” are then valid
parameters.
PRINT #1, "output 16; *SAV 0"
' Store setup at memory location 0.
*SRE <NRf> — service request enable
Program the Service Request Enable Register
*SRE? — service request enable query
Read the Service Request Enable Register
<NRf> = 0
Clears enable register
= 1
Set MSB bit (Bit 0)
= 4
Set EAV bit (Bit 2)
= 8
Set QSB bit (Bit 3)
= 16
Set MAV bit (Bit 4)
= 32
Set ESB bit (Bit 5)
= 128 Set OSB bit (Bit 7)
= 255 Sets all bits
The *SRE command is used to program the Service Request Enable Register. This command is
sent with the decimal equivalent of the binary value that determines the desired state (0 or 1) of
each bit in the register. This register is cleared on power-up.
This enable register is used along with the Status Byte Register to generate service requests
(SRQ). With a bit in the Service Request Enable Register set, an SRQ occurs when the corre-
sponding bit in the Status Byte Register is set by an appropriate event. For details on register
structure, refer to paragraph 3.7.
3.10.9
Description
Program fragment
3.10.10
Parameters
Description
Program fragment
3.10.11
Parameters
Description
Summary of Contents for 2002
Page 123: ...Front Panel Operation 2 106...
Page 145: ...IEEE 488 Reference 3 22...
Page 167: ...IEEE 488 Reference 3 44...
Page 284: ...A Specifications A 1...
Page 362: ......
Page 364: ...This page left blank intentionally...
Page 365: ......