Hameg HMC8012 Programmer's Manual page 11

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

Advertisement

SCPI Commands HMC8012
Overview of Syntax Elements
The following table provides an overview of the syntax elements:
:
The colon separates the mnemonics of a command. In a command line the separating semicolon-
marks the uppermost command level.
S C P I P r o g r a m m e r s M a n u a l
;
The semicolon separates two commands of a command line. It does not alter the path.
,
The comma separates several parameters of a command.
?
The question mark forms a query.
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 asterisk marks a common command.
"
Quotation marks introduce a string and terminate it.
A „white space" (ASCII-Code 0 to 9, 11 to 32 decimal, e.g. blank) separates the header from the
parameters.
Table 1.6: Syntax Elements
Structure of a command line
A command line may consist of one or several commands. It is terminated by one of the following:
– a ‹New Line›
– a ‹New Line› with EOI
– an EOI together with the last data byte
Several commands in a command line must be separated by a semicolon „;". If the next command belongs to a diffe-
rent command system, the semicolon is followed by a colon.
If the successive commands belong to the same system, having one or several levels in common, the command line
can be abbreviated. To this end, the second command after the semicolon starts with the level that lies below the
common levels. The colon following the semicolon must be omitted in this case.
Example:
:ACQuire
This command line is represented in its full length and contains two commands separated from each other by the
:CHAN1OFFSet
semicolon. Both commands are part of the CALC command system, i.e. they have one level in common. When abbre-
viating the command line, the second command begins with the level below CALC The colon after the semicolon is
omitted. The abbreviated form of the command line reads as follows:
A new command line always begins with the complete path.
Example:
Responses to Queries
A query is defined for each setting command unless explicitly specified otherwise. It is formed by adding a question
mark to the associated setting command. According to SCPI, the responses to queries are partly subject to stricter
rules than in standard IEEE 488.2.
– The requested parameter is transmitted without a header.
Example:
Response:
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
CALC:FUNC NULL; CALC ON
:DISPlay
CALC:FUNC NULL;ON
CALC:FUNC NULL
:HCOPy
CALC ON
*ESR?
HCOPy:FORMat?,
BMP
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
: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
11
1
1
1

Advertisement

Chapters

Table of Contents
loading

Table of Contents