Hameg HMC8012 Programmer's Manual page 12

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

Advertisement

SCPI Commands HMC8012
– Maximum values, minimum values and all other quantities that are requested via a special text parameter are returned
as numeric values.
Example:
Response:
– Numeric values are output without a unit. Physical quantities are referred to the basic units or to the units set using the
Unit command. The response 3.5E9 in the previous example stands for 3.5 GHz.
S C P I P r o g r a m m e r s M a n u a l
– Truth values (Boolean values) are returned as 0 (for OFF) and 1 (for ON).
Example:
Setting command: CALCulate:STATe ON
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
Query:
Response:
1.5
Command Sequence and Synchronization
IEEE 488.2 defines a distinction between overlapped and sequential commands:
– A sequential command finishes executing before the next command starts executing. Commands that are processed
quickly are usually implemented as sequential commands.
– An overlapping command does not automatically finish executing before the next command starts executing. Usually,
overlapping commands take longer to process and allow the program to do other tasks while being executed. If over-
lapping commands do have to be executed in a defined order, e.g. in order to avoid wrong measurement results, they
must be serviced sequentially. This is called synchronization between the controller and the instrument.
Setting commands within one command line, even though they may be implemented as sequential commands, are
not necessarily serviced in the order in which they have been received. In order to make sure that commands are actu-
ally carried out in a certain order, each command must be sent in a separate command line.
Example: Commands and queries in one message
The response to a query combined in a program message with commands that affect the queried value is not predictable.
The following commands always return the specified result:
:ACQuire
:CALC:FUNC DB;CALC:STAT ON;CALC:DB:REF MAX :CALC:DB:REF?
:CHAN1OFFSet
Result:
7.500E+02
As a general rule, send commands and queries in different program messages.
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
CALCulate:LIMit:LOWer? MAXimum,
1E3
CALCulate:STATe?
1
: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
: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
12
1
1
1

Advertisement

Chapters

Table of Contents
loading

Table of Contents