Hameg HMC8012 Programmer's Manual page 15

Scpi commands
Hide thumbs Also See for HMC8012:
Table of Contents

Advertisement

SCPI Commands HMC8012
1.6.2
Hierarchy of status registers
The status information has an hierarchical structure.
– STB, SRE
The STatus Byte (STB) register and its associated mask register Service Request Enable (SRE) form the highest level of
the status reporting system. The STB provides a rough overview of the instrument status, collecting the information of
S C P I P r o g r a m m e r s M a n u a l
the lower-level registers.
– ESR, SCPI registers
The STB receives its information from the following registers:
– The Event Status Register (ESR) with the associated mask register standard Event Status Enable (ESE).
S C P I P r o g r a m m e r s M a n u a l
S C P I P r o g r a m m e r s M a n u a l
– The STATus:OPERation and STATus:QUEStionable registers which are defined by SCPI and contain detailed
instrument information.
– Output buffer
The output buffer contains the messages the instrument returns to the controller. It is not part of the status reporting
system, but determines the value of the MAV bit in the STB and thus is represented in the overview.
All status registers have the same internal structure.
SRE, ESE
The service request enable register SRE
according to SCPI. By analogy, the
1.6.3
Contents of the Status Registers
In the following sections, the contents of the status registers are described more detailed (please refer to page 20).
Status Byte (STB) and Service Request Enable Register (SRE)
The STatus Byte (STB) is already defined in IEEE 488.2. It provides a rough overview of the instrument status by
collecting the pieces of information of the lower registers. A special feature is that bit 6 acts as the sum bit of the
remaining bits of the status byte.
The STB can thus be compared with the CONDition part of an SCPI register and assumes the highest level within the
SCPI hierarchy.
:ACQuire
The STB is using the command
:CHAN1OFFSet
The STatus Byte (STB) is linked to the Service Request Enable (SRE) register. Each bit of the STB is assigned a
bit in the SRE. Bit 6 of the SRE is ignored. If a bit is set in the SRE and the associated bit in the STB changes from 0 to
1, a service request (SRQ) is generated. The SRE can be set by using the command
command *SRE?.
HAMEG Instruments GmbH • Industriestr. 6 • D-63533 Mainhausen • Deutschland
HAMEG Instruments GmbH • Industriestraße 6 • D-63533 Mainhausen
HAMEG Instruments GmbH • Industriestraße 6 • D-63533 Mainhausen
Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: info@hameg.com
Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: info@hameg.com
Tel.: +49 (0) 6182 800 0 • Fax: +49 (0) 6182 800 100 • E-Mail: info@hameg.com
Geschäftsführer: Dipl.-Ing. Holger Asmussen, Dipl.-Ing. Andre Vander Stichelen • AG Offenbach am Main HRB 41200
Geschäftsführer: Dipl.-Ing. Holger Asmussen • AG Offenbach am Main HRB 41200
Geschäftsführer: Dipl.-Ing. Holger Asmussen • AG Offenbach am Main HRB 41200
ESE
*STB
or a serial poll.
:DISPlay
:HCOPy
*ESR?
H M O S e r i e s
H M S S e r i e s
H M S S e r i e s
Firmware Version: 01.020 and later
Firmware Version: 01.020 and later
Firmware Version: 03.00 and later
ENABle
can be used as
part of the
ENABle
can be used as the
:MEASure
:LOGic:SIZE
*OPC?
HMO352x, HMO2524
HMO72x ... HMO202x
STB
STB
if the
is structured
part of the ESR.
:POD1
:SYSTem
*SRE
and can be read by using the
Subject to change without notice
Subject to change without notice
Subject to change without notice
English
English
English
*SRE?
15
1
1
1

Advertisement

Chapters

Table of Contents
loading

Table of Contents