Hameg HMC8012 Programmer's Manual page 4

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

Advertisement

SCPI Commands HMC8012
Example: If the instrument has the IP address 192.1.2.3; the valid resource string is:
TCPIP::192.1.2.3::5025::SOCKET
If the LAN is supported by a DNS server, the host name can be used instead of the IP address. The DNS server
(Domain Name System server) translates the host name to the IP address. The resource string has the form:
S C P I P r o g r a m m e r s M a n u a l
TCPIP::‹host_name›::‹IP_port›::SOCKET
To assign a host name to the HMC8012, select SETUP button › Misc › Device name.
Example: If the host name is HAMEG1; the valid resource string is:
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
TCPIP::HAMEG1::5025::SOCKET
The end character must be set to linefeed (LF).
1.1.3 GPIB Interface (IEC/IEEE Bus Interface)
In addition to the GPIB functions which are available via USB TMC class, the HMC8012 is optionally available with
an integrated GPIB interface. This solution is particularly attractive for customers who already have an existing GPIB
environment. With minimum efforts, an old instrument can be replaced by a model of the HMC8012.
To be able to control the instrument via the GPIB bus, the instrument and the controller must be linked by a GPIB bus
cable. A GPIB bus card, the card drivers and the program libraries for the programming language must be provided in
the controller. The controller addresses the instrument with the GPIB instrument address.
Characteristics
The GPIB interface is described by the following characteristics:
– Up to 15 instruments can be connected
– The total cable length is restricted to a maximum of 15m; the cable length between two instruments should not exceed
2m.
– A wired „OR"-connection is used if several instruments are connected in parallel.
GPIB Instrument Address
In order to operate the instrument via remote control, it must be addressed using the GPIB address. The remote con-
:ACQuire
trol address is factory-set to 20, but it can be changed in the network environment settings or in the „Setup" menu
under „Interface › Parameter". For remote control, a GPIB address from 0 to 30 are allowed. The GPIB address is
:CHAN1OFFSet
maintained after a reset of the instrument settings.
1.2
Setting Up a Network (LAN) Connection
1.2.1
Connecting the Instrument to the Network
The network card can be operated with a 10 Mbps Ethernet IEEE 802.3 or a 100 Mbps Ethernet IEEE 802.3u inter-
face.
Risk of network failure
Before connecting the instrument to the network or configuring the network, consult your network admini-
strator. Errors may affect the entire network.
To establish a network connection, connect a commercial RJ-45 cable to one of the LAN ports of the instru-
ment and to a PC.
1.2.2 Configuring LAN Parameters
Depending on the network capacities, the TCP/IP address information for the instrument can be obtained in different
ways.
– If the network supports dynamic TCP/IP configuration using the Dynamic Host Configuration Protocol (DHCP), and a
DHCP server is available, all address information can be assigned automatically.
– Otherwise, the address must be set manually. Automatic Private IP Addressing (APIPA) is not supported.
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
: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
4
1
1
1

Advertisement

Chapters

Table of Contents
loading

Table of Contents