Rmc <Name_String; Rst; Sre <Mask; Sre - Agilent Technologies E1406A User's Manual And Scpi Programming Manual

Command module scpi programming guide
Table of Contents

Advertisement

*RMC <name_string>
Example

*RST

*SRE <mask>
Example

*SRE?

Example
222
Agilent E1406A Command Reference
Remove Individual Macro Command purges an individual macro
identified by the name_string parameter.
OUTPUT 70900;"*RMC 'LIST'"
Reset Resets an instrument as follows:
Sets the instrument to a known state (usually the power-on state).
Aborts all pending operations.
Disables the
*RST
does not affect:
The state of the GPIB interface.
The GPIB address.
The output queue.
The Service Request Enable Register.
The Standard Event Status Enable Register.
The power-on flag.
Calibration data.
Protected user data.
Service Request Enable When a service request event occurs, it sets a
corresponding bit in the Status Byte Register (this happens whether or not the
event has been enabled (unmasked) by
you to identify which of these events will assert a service request (SRQ).
When an event is enabled by
Status Byte Register and issues an SRQ to the computer (sets the GPIB SRQ
line true). You enable an event by specifying its decimal weight for <mask>.
To enable more than one event, specify the sum of the decimal weights. Refer
to Chapter 4 in this manual for more information on the Status Byte Register.
OUTPUT 70900;"*SRE 160"
Status Register Enable Query returns the weighted sum of all enabled
(unmasked) events (those enabled to assert SRQ) in the Status Byte Register.
10
OUTPUT 70900;"*SRE?"
20
ENTER 70900;A
30
PRINT A
40
END
Remove macro command from
*DMC example.
*OPC
and
*OPC?
modes.
). The
*SRE
*SRE
and that event occurs, it sets a bit in the
Enables bits 5 and 7. Respective
weights are 32 + 128 = 160.
Send Status Register Enable query.
Place response in variable.
Print response.
command allows
*SRE
Chapter 5

Advertisement

Table of Contents
loading

Table of Contents