Hameg HMC8012 Programmer's Manual page 8

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

Advertisement

SCPI Commands HMC8012
1.4.2
SCPI Command Structure
SCPI commands consist of a so-called header and, in most cases, one or more parameters. The header and the para-
meters are separated by a „white space" (ASCII code 0 to 9, 11 to 32 decimal, e.g. blank). The headers may consist of
several mnemonics (keywords). Queries are formed by appending a question mark directly to the header.
The commands can be either device-specific or device-independent (common commands). Common and device-speci-
S C P I P r o g r a m m e r s M a n u a l
fic commands differ in their syntax.
Syntax for Common Commands
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
Common (= device-independent) commands consist of a header preceded by an asterisk (*) and possibly one or more
parameters.
Examples:
*RST
*ESE
*ESR?
*IDN?
Table 1.4: Examples of Common Commands
Syntax for Device-Specific Commands
Not all commands used in the following examples are necessarily implemented in the instrument.
For demonstration purposes only, assume the existence of the following commands for this section:
- CALCulate:FUNCtion {NULL | DB | DBM | AVERage | LIMit}
:ACQuire
- CALCulate:FUNCtion?
- CALCulate[:STATe] {OFF | ON}
:CHAN1OFFSet
- CALCulate[:STATe]?
Long and short form
The mnemonics feature a long form and a short form. The short form is marked by upper case letters, the long form
corresponds to the complete word. Either the short form or the long form can be entered; other abbreviations are not
permitted.
Example:
CALCulate:FUNCtion NULL is equivalent to CALC:FUNC NULL
Case-insensitivity
Upper case and lower case notation only serves to distinguish the two forms in the manual, the instrument
itself is case-insensitive.
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
RESET
EVENT STATUS ENABLE
EVENT STATUS QUERY
IDENTIFICATION QUERY
: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
Resets the instrument.
Sets the bits of the event status enable registers.
Firmware Version: 01.020 and later
Firmware Version: 01.020 and later
Firmware Version: 03.00 and later
Queries the contents of the event status register.
Queries the instrument identification string.
:MEASure
:LOGic:SIZE
*OPC?
HMO352x, HMO2524
HMO72x ... HMO202x
:POD1
:SYSTem
*SRE?
Subject to change without notice
Subject to change without notice
Subject to change without notice
English
English
English
8
1
1
1

Advertisement

Chapters

Table of Contents
loading

Table of Contents