Home
SCPI ProgrammersManual HMC8012
Contents
1. 38 SENSe CURRent AC RANGel UPPer MINIMAX nennen 39 CONFigure CURRent AC lt Range gt AUTO MINIMAXIDEF Configures the instrument for AC measurements but does not initiate a measurement Use the READ command to query the AC measurement value with specified range or the CONF command to query the AC function configura tion Parameters lt Range gt 20mA 200mA 2A 10A AUTO Auto range MIN 20mA MAX 10A DEFault 20mA If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RST AUTO HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 O e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe CURRent AC BANDwidth lt Threshold gt MINIMAX DEF Sets the AC filter of the AC measurement function Parameters lt Threshold gt 101501400 10 10Hz filter Slow 50 50Hz filter Medium 400 400Hz filter Fast MIN Slow MAX Fast DEF Slow RST 5 00000000E 01 SENSe CURRent AC BANDwidth MIN MAX Returns the AC filter state of the AC measurement function Return values lt State gt 1 00000000E 01 5 0000000E 1
2. MAX 5 00000000E 04 DEF 5 00000000E 09 Continuity configuration commands AO A EAE AE 35 SENSe CONTinuity THReshold lt Threshold gt lMINIMAXIDEF neen 35 SENSe CONTinuity THReshold MINIMAXIDEF ceecee 35 SENDEICONTNUDEBEEF Ei STATE ONO Pia 36 SENSe ICONTinuity BEEPer STATel ooccccccccccnoconcccccccconononononononncccnnnononononinononinonos 36 CONFigure CONTinuity Configures the instrument for continuity measurements but does not initiate a measurement Use the READ com mand to query the continuity measurement value or the CONF command to query the general function configuration SENSe CONTinuity THReshold lt Threshold gt MINIMAXIDEF Sets the threshold of the continuity measurement function In this case the instrument does not switch into continuity mode For activating the continuity measurement function use the FUNC command Parameters lt Threshold gt 00 to 1MQ adjustable in 10 steps MIN 00 MAX 1MQ DEFault 2000 RST 2000 SENSe CONTinuity THReshold MINIMAXIDEF Returns the threshold of the continuity measurement function Return values lt Threshold gt ON to 1MQ MIN 0 00000000E 00 MAX 1 00000000E 06 DEFault 2 00000000E 02 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl In
3. TRIGger LEVel MINIMAX Selects the trigger level threshold for the auto trigger mode Return values lt Level gt Trigger threshold value in auto trigger mode lt Level gt 750V to 750V MIN 7 5000E 02 MAX 7 5000E 02 TRIGger LEVel MODe CONTinue ABOVelBELow Selects the trigger level mode in the auto trigger mode Parameters Level Mode Trigger level in auto mode CONTinue Continuous mode ABOVe Upper threshold trigger level BELow Lower threshold trigger level hol CONT TRIGger LEVel MODe Returns the trigger level mode in the auto trigger mode Return values Level Mode Trigger level in auto mode CONTinue Continuous mode ABOVe Upper threshold trigger level BELow Lower threshold trigger level HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com 27 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 27 Subject to change without notice SCPI Commands HMC8012 2 4 2 4 1 TRIGger MODE lt Mode gt Selects the trigger mode Parameters lt Mode gt AUTO MANual SINGle AUTO Automatic trigger mode MAN ual Manual trigger mode SINGle Single trigger mode AT AUTO TRIGger MODE Returns the trigger mode Return values lt Mode gt AUTO MANual SINGle AUTO Automatic trigger mode MAN ual Manual trigger
4. 4 00000000E 02 MIN 1 00000000E 01 Slow MAX 4 00000000E 02 Fast SENSe CURRent AC NULL STATe ONIOFF Turns the null function for AC measurements on or off In th s case the instrument does not switch into AC mode For activating the AC measurement function use the FUNC command Parameters lt State gt ON OFF ON Null function of AC measurements is activated OFF Null function of AC measurements Is disabled Rol OFF SENSe CURRent AC NULL STATe Returns the NULL function state of the AC measurement function Return values lt State gt 110 1 ON NULL function activated 0 OFF NULL function disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe CURRent AC NULL VALue lt Value gt MINIMAX Sets the null value of the AC measurement function Parameters lt Value gt 10V to 10A adjustable in 10pA steps MIN 10A MAX 10A RST OA SENSe CURRent AC NULL VALue MINIMAX Returns the null value of the AC measurement function Return values lt Value gt 10A to 10A MIN 1 000000E 01 MAX 1 000000E 01 SENSe CURRent AC RANG
5. Andre Vander Stichelen e AG Offenbach am Main HRB 41200 17 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company STATus QUEStionable Register This register contains information about indefinite states which may occur If the unit is operated without meeting the specifications lt can be read using the commands STATus QUEStionable CONDition on page 66 and STATus QUEStionable EVENt on page 67 Voltage overrange This bit is set if a voltage range overload occurs 1 Current overrange This bit is set if a current range overload occurs Temperature overrange This bit is set if a temperature range overload occurs 5 Frequency overload underflow This bit is set if a frequency range overload underflow occurs Resistance overrange This bit is set if a resistance range overload occurs 10 Capacitance overload underflow This bit is set if a capacitance range overload underflow occurs 11 Lower limit failed This bit is set if a lower limit value is violated 12 Upper limit failed This bit is set if an upper limit value is violated Table 1 11 Bits of the STATus QUEStionable register please refer to page 20 1 6 4 Application of the Status Reporting System The purpose of the status reporting system Is to monitor the status of one or several devices in a measuring system The controller must receive and evaluate the information of all devices The following standard methods are used Service reques
6. 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 e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company By default the instrument is configured to use dynamic TCP IP configuration and obtain all address information au tomatically This means that it is safe to establish a physical connection to the LAN without any previous instrument configuration Risk of network errors Connection errors can affect the entire network If your network does not support DHCP or if you choose to disable dynamic TCP IP configuration you must assign valid address information before connecting the instrument to the LAN Contact your network administrator to obtain a valid IP address Configuring LAN parameters 1 2 Press the SETUP key and then the Interface softkey Press the Ethernet and then the Parameter softkey Note By default the instrument is set to not use DHCP If the instrument is set to use DHCP and cannot find a DHCP server it takes about two minutes until the Ethernet m
7. EXT DEF Deletes the logging file data values of the selected storage location and file name If no storage location is selected the instrument uses the internal memory Please notice that the logging function has to be activated if you want to use the manual or single trigger mode trigger via TRIG button Without activating the logging function in single or manual trigger mode the instrument is not able to save a logging file internally or on the USB stick Parameters lt File_Name gt e g LOG0029 CSV INT Internal memory EXT USB stick DEF Internal memory Example DATA DEL LOG0029 CSV EXT HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company DATA POINts lt File_Name gt INT EXT DEF Returns the number of log file values of the selected storage location and file name If no storage location is selected the instrument queries the internal memory Please notice that the logging function has to be activated if you want to use the manual or single trigger mode trigger via TRIG button Without activating the logging function in single or manual trigger mode the instrument is not able to
8. FRTD 4 wire temperature value 4VV RID 2 wire temperature value 2VV DEF RTD 2W lt Type gt PT100 PT500 PT1000 DEF PT100 Example CONF TEMP FRTD PT500 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 55 Subject to change without notice HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe TEMPerature NULL STATe ONIOFF Turns the null function for temperature measurement function on or off In this case the instrument does not switch into temperature mode SENSOR For activating the SENSOR measurement function use the FUNC command Parameters lt State gt ON OFF ON Null function of temperature measurement function is activated OFF Null function of temperature measurement function is disabled Rok OFF SENSe TEMPerature NULLI STATe Returns the null function state of the temperature measurement function Return values lt State gt 110 1 ON Null function of the temperature measurement function is activated 0 OFF Null function of the temperature measurement function is disabled SENSe TEMPerature NULL VALue lt Value gt MINIMAX Sets the null value of the temperature measurement function Parameters lt Value gt 273 1 C to 999 9 C adjus
9. Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company 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 the e erre command level The semicolon separates two commands of a command line It does not alter the The semicolon separates two commands of a command line It does not alter the path we The comma separates several parameters of acommand The question mark forms a query 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 EO 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 l
10. Local WAITING FOR TRIGGER i T Down Zu 2nd Function r PAGE 1 2 Fig 2 1 Display text example HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 2 4 Trigger commands TRiGder COUNT lt Count gt IMINIMAAIDE FaUl ann 26 TIRISger COUNTS IMIN II MITTEN ke 26 TRIGger INTerval lt Seconds gt IMINIMAXIDEF oooooocccoocccoccccoconcocnccococononcnnoncnonnnnonos 26 TRISSSEIN Teral TMIN IM A zer ua ae a 27 TRiGger LEVel lt Level sIMINIMAXIDER u dia 27 TRiGger LEVel IMINIMAX oooooocccoocccoccccocccococncocnnnocnonocnoncnnonnnnonnnnnnnnonnnnonnnnnnnnnnnons 27 TRIGger LEVel MODe CONTinue ABOVelBELowW occoocccncccnnccccnocccoccncnncncononcnnonononos 27 TRIGger LEVEEMODE necios id ini 27 THOS MODE MIOS gt sri cs geistnewrtls rernsiesaipaidsivinncdaableevaGnssbbnpatosne3dtie Maposiaacbnasteaisasenceben 28 lio a 28 TRIGger COUNt lt Count gt MINIMAX DEFault Selects the number of triggers for the single trigger mode before returning to the idle trigger state Parameters lt Count gt Trigger count value in single trigger mode lt Count gt 1 to 50 000 MIN 1
11. MINIMAX Returns the null value of the 2 wire 2w resistance measurement function Return values lt Value gt ON to 250MQ MIN 0 0E 00 MAX 2 500000E 08 SENSe RESistance RANGe AUTO lt Mode gt Activates or disables the auto range mode of the 2 wire 2w resistance measurement function Parameters lt Mode gt ON COFF 11 FO ON Activates the auto range mode of the 2w resistance measurement function OFF Disables the auto range mode of the 2w resistance measurement function ile Activates the auto range mode of the 2w resistance measurement function O Disables the auto range mode of the 2w resistance measurement function Rol ON SENSe RESistance RANGe AUTO Returns the auto mode state of the 2 wire 2w resistance measurement function Return values lt State gt 110 i Auto range of the 2w resistance measurement function Is activated O Auto range of the 2w resistance measurement function is disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 SCPI Commands HMC8012 SENSe RESistance RANGe UPPer lt Range gt IMINIMAXIDEF Sets the 2 wire 2w resistance measurement function range Parameters lt Range gt 4000 4kQ 40kQ 400kQ 4MQ 40MQ 250MQ M
12. the CALC ON command Return values lt Value gt e g 1 55606E 07 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company CALCulate AVERage MINimum Returns the minimum value Min of the statistic function depending on the activated measurement function To acti vate the statistic function use the CALC FUNC AVER resp the CALC ON command Return values lt Value gt e g 2 24768E 07 Usage Query only CALCulate AVERage PTPeak Returns the peak to peak value Pk to Pk of the statistic function depending on the activated measurement function To activate the statistic function use the CALC FUNC AVER resp the CALC ON command Return values lt Value gt e g 6 91621E 08 Usage Query only CALCulate AVERage SDEViation Returns the standard deviation value StdDev of the statistic function depending on the activated measurement func tion To activate the statistic function use the CALC FUNC AVER resp the CALC ON command Return values lt Value gt e g 1 50020E 08 Usage Query only 2 6 Data and File Management DATA LOGLSTATe U Ore O an een 64 ECHES EEE I AEEA E E A tase ees A S
13. thus will not block the GUI or the communication with other instruments 1 6 Status Reporting System The status reporting system stores all information on the current operating state of the instrument and on errors which have occurred This information is stored in the status registers and in the error queue Both can be queried via GPIB bus or LAN interface STATus commands 1 6 1 Structure of a SCPI Status Register Each standard SCPI register consists of 5 parts Each part has a width of 16 bits and has different functions The individual bits are independent of each other i e each hardware status is assigned a bit number which is valid for all five parts Bit 15 the most significant bit is set to zero for all parts Thus the contents of the register parts can be processed by the controller as positive integers Description of the five status register parts please refer to page 20 The five parts of a SCPI register have different properties and functions CONDition The CONDition partis written into directly by the hardware or the sum bit of the next lower register Its contents reflect the current instrument status This register part can only be read but not written into or cleared Its contents are not affected by reading EVENt The EVENt part indicates whether an event has occurred since the last reading it is the memory of the condition part It only indicates events passed on by the transition filters It is permanen
14. 1000V RST OV SENSe VOLTage DC NULL VALue MINIMAX Returns the null value of the DC V measurement function Return values lt Value gt 1000V to 1000V MIN 1 000000E 03 MAX 1 000000E 03 SENSe VOLTage DC RANGe AUTO lt Mode gt Activates or disables the auto range mode of the DC V measurement function Parameters lt Mode gt ON LOFF 11 10 ON Activates the auto range mode of the DC V measurement function OFF Disables the auto range mode of the DC V measurement function 1 Activates the auto range mode of the DC V measurement function O Disables the auto range mode of the DC V measurement function SENSe VOLTage DC RANGe AUTO Returns the auto mode state of the DC V measurement function Return values lt State gt 110 1 Auto range of the DC V measurement function is activated O Auto range of the DC V measurement function is disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe VOLTage DC RANGe UPPer lt Range gt IMINIMAXIDEF Sets the DC V measurement function range Parameters lt Range gt 400mV AV 40V 400V 1000V MIN ADOMV MAX 1000V
15. 2 a er ri EEE E EEE EAS rara rear EA 22 A RER ARE ER REES EHRE CE Te cee eee NTE TE eee TERN 22 PPP o SO o nio Eo A 22 o acs cakes as nic en ein sd esse 22 SS A EA E EE 22 T Be a e cise sss cee gee eee eee 22 acti 23 Eee re ee ee 23 CLS CLear Status Sets the status byte STB the standard event register ESR and the EVENt part of the QUEStionable and the OPERa tion registers to zero The command does not alter the mask and transition parts of the registers lt clears the output buffer Usage Setting only ESE lt Value gt Event Status Enable Sets the event status enable register to the specified value The query returns the contents of the event status enable register in decimal form Parameters lt Value gt Range 010 255 ESR Event Status Read Returns the contents of the event status register in decimal form and subsequently sets the register to zero Return values lt Contents gt Range O to 255 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company IDN IDeNtification returns the instrument identification Return values lt ID gt HAMEG lt device type se
16. 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 5 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company The Link and IP Status information at the bottom of the dialog box indicates whether a LAN connection was established successfully Checking LAN and SCPI connection 1 Check the LAN connection using ping ping XXX VYYY ZZZ XXX 2 Ifthe PC can access the instrument enter the IP address of the address line of the internet browser on your computer http xxx yyy ZZZ XXxx The Instrument Home page appears It provides information on the instrument and the LAN connection Firefox Para x HAMEG Instruments 3 I 169 254 120 215 7Y O B Googic P ft BD HAMEL instruments A Ronia ASer iN HAMEG Site Support Contact Knowledge Base Device Device Information Settings dis Device Model HMC8C12 Manufacturer HAMEG Serial Number 000000000 Dest ipur HAMEG HMCS501 2 000000000 Hostname TEST MAC Address 00 04 43 BC E6 56 TCP IP Address 169 254 120 215 Firmwareversion 00 078 VISA Device Address String TCPIP0 169 254 120 215 5025 SOCKET Device identification Enable k Fig 1 2 Web server 1 3 Switching to Remote Control When you switch on the instrument it is always in manual operation state local state and can be operated via the front pane
17. AUTOIMINIMAXIDEF Configures the instrument for DC measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return values lt Range gt 20mA 200mA 2A 10A AUTO Auto range MIN 20mA MAX 10A DEFault 20mA If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RGT AUTO Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company MEASure DIODe Configures the instrument for diode tests The displayed value will be reset and the instrument immediately triggers a measurement Return values lt Value gt The command returns a single reading Range 5V Usage Query only MEASure FREQuency VOLTAGE lt Range gt AUTOIMINIMAXIDEF Configures the instrument for frequency measurements with main function AC V The displayed values including stati Stic values will be reset and the instrument immediately triggers a measurement Display of frequency is only available as 2nd function for the main functions AC V and AC I Return values l
18. Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company CALCulate DBM REFerence MINimum MAXimum Returns the user defined dBm reference resistance value Return values lt Value gt e g 6 000E 02 CALCulate NULL OFFSet lt Value gt MINimum MAXimum Sets the maximum null value depending on the activated measurement function Parameters lt Value gt Depending on the activated measurement function CALCulate NULL OFFSet MINimum MAXimum Returns the maximum null value depending on the activated measurement function Return values lt Value gt e 9 1 00E 01 CALCulate AVERage AVERage Returns the mean value of the statistic function depending on the activated measurement function To activate the statistic function use the CALC FUNC AVER resp the CALC ON command Return values lt Value gt e g 1 82852E 07 Usage Query only CALCulate AVERage CLEar Resets all statistic function values Usage Setting only CALCulate AVERage COUNt Returns the number of statistic measurement counts You can read the statistical values at any time Return values lt Value gt e g 1 000E 02 Count 100 Usage Query only CALCulate AVERage MAXimum Returns the maximum value Max of the statistic function depending on the activated measurement function To acti vate the statistic function use the CALC FUNC AVER resp
19. MAX 50 000 DEFault 1 RST 1 TRIGger COUNt MINimum MAXimum Returns the trigger count of the single trigger mode Return values lt Count gt 1 to 50 000 MIN 1 0E 00 MAX 5 00000E 04 TRIGger INTerval lt Seconds gt MINIMAXIDEF Selects the trigger time interval for the single trigger mode before returning to the idle trigger state Parameters lt Interval gt Trigger time interval value in single trigger mode lt Seconds gt 0 to 3 600s MIN Os MAX 3 600s DEFault Os Rol 0 0E 00s HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com 26 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 26 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company TRIGger INTerval MINIMAX Returns the trigger time interval for the single trigger mode before returning to the idle trigger state Return values lt Interval gt Trigger time interval value in single trigger mode lt Seconds gt 0 to 3 600s MIN 0 0E 00s MAX 3 6000E 03s TRIGger LEVel lt Level gt MINIMAXIDEF Selects the trigger level threshold for the auto trigger mode Parameters lt Level gt Trigger threshold value in auto trigger mode lt Level gt 50V to 750V MIN 750V MAX 750V DEFault OV ROT 0 0E 00V
20. Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 4 wire resistance configuration commands CONFigure FRESistance lt Range gt IAUTOIMINIMAXIDEF 00 00 51 SENSE IFRE sistance NULLESTATO ON OFF asus 51 SENSE IFRESISiance N ULLI STATE aaa a 51 SENSe FRESistance NULL VALue lt Value gt IMINIMAX 0200nnennennnn 52 SENSe IFRESist nce NULL VALUE EMINIM AAN ea 52 SENSe FRESistance RANGe AUTO lt Mode gt cnesseeseensenseennenneenennennnn 52 SENSe FRESistance RANGe AUTO cnnnnsensnnsensensennnnnnnnnnnnnnnnn nennen 52 SENSe FRESistance RANGe UPPer lt Range gt IMINIMAXIDEF 52 SENSe FRESistance RANGe UPPer HMINIMAXJ oana 53 CONFigure FRESistance amp Range gt 1AUTOIMINIMAXIDEF I Configures the instrument for 4 wire resistance measurements but does not initiate a measurement Use the READ command to query the 4 wire resistance measurement value with specified range or the CONF command to query the 4 wire resistance function configuration Parameter lt Range gt 4000 4kQ 40kQ 400kQ 4MO AUTO Auto range MIN 4000 MAX AMQ DEFault 4000 If the input signal is greater than can be measured on the selected range manual ranging the instrum
21. READ com mand to query the frequency measurement value or the CONF command to query the frequency function configurati on in AC V mode CONFigure FREQuency CURRent Configures the instrument for frequency measurements but does not initiate a measurement Use the READ com mand to query the frequency measurement value or the CONF command to query the frequency function configurati on in AC mode SENSe FREQuency APERture lt Seconds gt MINIMAX DEF Sets the gate time of the frequency measurement function in AC V AC mode Parameters lt Seconds gt 10ms 100ms 1s MIN 10ms MAX s DEFault 1s Rol 18 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company SENSe FREQuency APERture MINIMAX Returns the gate time of the frequency measurement function in AC V AC mode Return values lt GateTime gt 1 00000000E 02 1 00000000E 01 1 00000000E 00 MIN 1 00000000E 02 MAX 1 00000000E 00 SENSe FREQuency CURRent RANGe AUTO lt Mode gt Activates or disables the auto range mode of the AC measurement function for frequency measurements Parameters lt Mode gt ONIOFFI1110 ON Activate
22. SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe CURRent DC NULL VALue lt Value gt MINIMAX Sets the null value of the DC measurement function Parameters lt Value gt 10A to 10A adjustable in 10pA steps MIN 10A MAX 10A Rol OA SENSe CURRent DC NULL VALue MINIMAX Returns the null value of the DC measurement function Return values lt Value gt 10A to 10A MIN 1 000000E 01 MAX 1 000000E 01 SENSe CURRent DC RANGe AUTO lt Mode gt Activates or disables the auto range mode of the DC measurement function Parameters lt Mode gt ONIOFFI1110 ON Activates the auto range mode of the DC measurement function OFF Disables the auto range mode of the DC measurement function ib Activates the auto range mode of the DC measurement function O Disables the auto range mode of the DC measurement function RST ON SENSe CURRent DC RANGe AUTO Returns the auto mode state of the DC measurement function Return values lt State gt 110 1 Auto range of the AC measurement function is activated O Auto range of the AC measurement function is disabled SENSe CURRent DC RANGe UPPer lt Range gt MINIMAXIDEF Sets the DC measurement function range Parameters lt Range gt 20mA 200mA 2A 10A MIN 20e 3 MAX le 1 DEFault 20e 3 ROT AUTO HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change with
23. further subdivided into Universal commands act on all instruments connected to the GPIB bus without previous addressing Addressed commands only act on instruments previously addressed as listeners Universal Commands Universal commands are encoded in the range 10 through 1F hex They affect all instruments connected to the bus and do not require addressing Addressed commands are encoded in the range 00 through OF hex They only affect instruments addressed as listeners HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company 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 fic commands differ in their syntax Syntax for Common Commands Common device independent commands consist of a header
24. hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 2 4 2 Configuration commands Capacitance configuration commands CONFigure CAPacitance lt Range gt IAUTOIMINIMAXIDEF ccce oo SENSO CAP acitance NULLESTATS MONO PP a aaa 33 SENSE ICAP acitance NULLESTATO Musso dad 33 SENSe CAPacitance NULL VALue lt Value gt IMINIMAX 2 2 2222 34 SENSe CAPacitance NULL VALue MINIMAX oo cee cece cee nennen 34 SENSe CAPacitance RANGe AUTO lt MOde gt 0occoccnccnconcnnnoncnnconcnnconconcnnrnncnnnnncnnnnnss 34 SENSE ICAP aciiance RANGE AUTO fuencarral ae eier 34 SENSe CAPacitance RANGe UPPer lt Range gt IMINIMAXIDEF 34 SENSe CAPacitance RANGe UPPer MINIMAXIDEF 0 00 00 35 CONFigure CAPacitance lt Range gt AUTOIMINIMAXIDEF Configures the instrument for capacitance measurements but does not initiate a measurement Use the READ command to query the capacitance measurement value with specified range or the CONF command to query the capacitance function configuration Parameters lt Range gt Snir SONE 5001F Sur 50UF BOOUF AUTO Auto range MIN 5nF MAX 500uF DEFault 5BnF If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RST A
25. in AC mode CONT Continuity measurement function DIOD Diode measurement function SENS Sensor measurement function Example FREO CURR 2 5 Mathematic Functions CALCulate FUNCtion NULL DB DBM AVERage LIMit POWer 59 PAL Ue FUNCION geen ene ee ee eee SER mere ene eee eee ee ee SER ENEREENEN 60 AER LO A PP 60 A ceca tpi a tn shee spb re aa Eei 60 E o N a iret OO net EEEE EET 60 CALCulate LIMit LOWer lt Value gt MINimum MAXIMUM osaan 61 CALlculate LIMIELON er MINIMO MAXIMUM 2a a 61 CAL Culate LIMit UPPer lt Value gt MINimum MAXIMUM 2 nenn 61 CALCulate LIMIEUPPeS MINimurm MAXIMU ee ee 61 CALCulate DB REFerence lt Value gt MINimum MAXIMUM 2 nenn 61 CALCulate DB REFerence MINimum MAXIMUM cece cece eee ece eee eee eee eeaeenees 61 CALCulate DBM REFerence lt Value gt MINimum MAXIMUM naiaren 61 CALCulate DBM REFerence MINimum MAXIMUM 0 eee cecceeceeee eee eee eee eee ees 62 CALCulate NULL OFFSet lt Value gt MINimum MAXIMUM saien 62 CALCulate NULL OFFSet MINimum MAXIMUM c cece cecceeceeceeeeeeeeeeeeaeeeeen ees 62 CALBUATEAVERIOE AVERAGE f rra 62 lee o A A ee 62 GALLIE AVER 0E O DINA erase taria 62 AECI at Fy Ere NIP pipa lada 62 CALCulate AVERage MINIMUM oocoocncnncnccncnnononcnonnnoonnnnnnnonononncnnnncnnnnnnnnrnnonrnnnnrnnnnnnnos 63 CALL ate VE ae Fe Sa Fons oia 63 CALCuUlate AVERage SDE VISION une
26. 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 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 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 can be used as ENABle part of the STB if the STB is structured according to SCPI By analogy the ESE can be used as the ENABle part of the ESR 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 o
27. of the capacitance measurement function Parameters lt Mode gt ONIOFFI1110 ON Activates the auto range mode of the capacitance measurement function OFF Disables the auto range mode of the capacitance measurement function e Activates the auto range mode of the capacitance measurement function O Disables the auto range mode of the capacitance measurement function Rs ON SENSe CAPacitance RANGe AUTO Returns the auto mode state of the capacitance measurement function Return values lt State gt 110 1 Auto range of the capacitance measurement function is activated O Auto range of the capacitance measurement function is disabled SENSe CAPacitance RANGe UPPer lt Range gt MINIMAXIDEF Sets the capacitance measurement function range Parameters lt Range gt 5nF 5On 500nF Sur 50UF 500UF MIN nF MAX 500uF DEFault SNF ROT AUTO HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe CAPacitance RANGe UPPer MINIMAXIDEF Returns the state of the capacitance measurement function range Return values lt Range gt 5nF 50n 500NF Sur 50uF 500ur MIN 5 00000000E 09
28. preceded by an asterisk and possibly one or more parameters Examples EVENT STATUS ENABLE Sets the bits of the event status enable registers EVENT STATUS QUERY Queries the contents of the event status register IDENTIFICATION QUERY Queries the instrument identification string 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 CALCulate FUNCtion CALCulate STATe OFF ON CALCulatel 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 e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG O
29. problems involved with remote control QUEStionable status sum bit The bit is set if an EVENt bit is set in the QUEStionable status register and the associated ENABle bit is setto 1 A set bit indicates a questionable instrument status which can be specified in detail by polling the QUEStionable status register MAV bit message available The bit is set if a readable message in the output buffer is available This bit can be used to enable data to be automatical read from the instrument specified in greater detail by polling the event status register MSS bit master status summary bit The bit is set if the instrument triggers a service request This is the case if one of the other bits of this register is set together with its mask bit in the service request enable register SRE OPERation status register sum bit The bit is set if an EVENt bit is set in the OPERation status register and the associated ENABle bit is set to 1 A set bit indicates that the instrument is just performing an action The type of action can be determined by polling the OPERation status register 5 ESB bit Sum bit of the event status register It is set if one of the bits in the event status register is set and enabled in the event status enable register Setting of this bit indicates a serious error which can be Table 1 8 Bits of the status byte please refer to page 20 Event Status Register ESR and Event Status Enable Register ESE The
30. structures of the STATus OPERation register See also chapter 1 6 1 Structure of a SCPI Status Register on page 14 sTATus OPERation Register on page 17 Diagram on page 20 The following commands are available SAUS OPER REINER reinlesen 69 STATus OPERation ENABle lt Enable_Value gt uuccenseasensensensensennnnsennnneen nee 69 ATAUS O PERSON ENADIS Sn ae ze een 69 STATUS OFE Ration EVENT e 69 STATus OPERation CONDition Returns the of the CONDition part of the operational status register Return values lt Condition gt Condition bits in decimal representation Range 1 to 65535 Increment 1 Usage Query only STATus OPERation ENABle lt Enable_Value gt Parameters lt Enable_Value gt Range 1 10 65585 Increment 1 STATus OPERation ENABle Enables the bits in the enable register for the Standard Operation Register group STATus OPERation EVENt Return values lt Event gt Range Tto 65555 Increment 1 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 2 7 2 STATus QUEStionable Registers The commands of the STATus QUE
31. values lt Range gt 5nF 50nF 500nF 5uF 5OuF 500uF AUTO Auto range MIN 5nF MAX 500uF DEFault 5nF If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RST AUTO Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com 2 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 28 Subject to change without notice HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company MEASure CONTinuity Configures the instrument for continuity measurements The displayed value will be reset and the instrument immedia tely triggers a measurement Return values lt Value gt The command returns a single reading Range 40000 Usage Query only MEASure CURRent AC amp Range gt 1AUTOIMINIMAXIDEF Configures the instrument for AC measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return values lt Range gt 20mA 200mA 2A 10A AUTO Auto range MIN 20mA MAX 10A DEFault 20mA If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 nt AUTO Usage Query only MEASure CURRent DC lt Range gt
32. 000000E 02 AC V configuration commands CONFigure VOLTage AC I lt Range gt IAUTOIMINIMAXIDEF 39 SENSe VOLTage AC BANDwidth lt Filter gt IMINIMAXIDEF oooccccccocccccccccccccnonooo 39 SENSe VOLTage AC BANDwidth MINIMAX oooccccccccconionoccccccccononononananoranonss 40 SENSe VOLTage AC NULLI STATe ONIO FF o oooococccccccccccccnnnnnnncocccccononononononiniciccn ns 40 SENSE VOL lag AC INULLESTATOO anne 40 SENSe VOLTage AC NULL VALue lt Value gt IMINIMAX 22 nennen 40 SENSE VOL age AC NULL YA Lae MINIMAX esse 40 SENSe IVOLTage AC RANGe AUTO lt Mode gt 0222002200neeenenennenennnennnne nen 41 SENSE EOL los AC FANGS AUTO nato india 41 SENSe VOLTage AC RANGel UPPer lt Range gt IMINIMAXIDER 41 SENSe VOLTage AC RANGel UPPer MINIMAX noiiire 41 CONFigurel VOLTagel AC lt Range gt lAUTOIMINIMAXIDEF Configures the instrument for AC V measurements but does not initiate a measurement Use the READ command to query the AC V measurement value with specified range or the CONF command to query the AC V function configu ration Parameter lt Range gt 400mV 4V 40V 400V 750V AUTO Auto range MIN 400mV MAX 790V DEFault 400mV If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RST AUTO SENSe 1VOLTage AC BANDwi
33. 63 CALCulate FUNCtion NULL DB DBM AVERage LIMit POWer Sets the calculation function but does not activate the function Use the CALC ON command to activate the calculation function Parameters lt Function gt NULL Null function DB dB function DBM dBm function AVERage Statistic measurements LIMit Limit lines POWer Power display The following table shows the possible math measurement function combinations HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company Measurement Mathematic functions O ae with 2nd function DC ee pe HT SE a e e e A Tab 2 1 Measurement functions with possible math options CALCulate FUNCtion Returns the calculation function Return values lt Function gt NULL Null function DB dB function available in DC V AC V DC I AC DBM dBm function available in DC V AC V DC I AC AVER Statistic measurements LIM Limit lines POW DC power value available in DC V DC or DC 1 DC V mode CALCulate STATe OFF ON Turns with the CALC FUNC command selected calculation function on or off Parameters lt State gt ON The selected calcul
34. Company SENSe FREQuency VOLTage RANGe AUTO lt Mode gt Activates or disables the auto range mode of the AC V measurement function Parameters lt Mode gt ONIOFFI110 ON Activates the auto range mode of the AC V measurement function OFF Disables the auto range mode of the AC V measurement function lp Activates the auto range mode of the AC V measurement function O Disables the auto range mode of the AC V measurement function RST ON SENSe FREQuency VOLTage RANGe AUTO Returns the auto range state of the AC V measurement function for frequency measurements Parameters lt Mode gt 110 1 Auto range mode of the AC V measurement function is activated O Auto range mode of the AC V measurement function is disabled SENSe FREQuency VOLTage RANGeI UPPer lt Voltlage_Range gt IMINIMAXIDEF Sets the voltage range of the AC V measurement function for frequency measurements Parameters lt Voltlage_Range gt 400mV AV 40V 400V 750V MIN 400mvV MAX 750V DEFault 400mV Ask AUTO SENSe FREQuency VOLTage RANGe UPPer MINIMAX Returns the voltage range of the AC V measurement function for frequency measurements Return values lt Voltlage_Range gt 400mV AV 40V 400V 750V MIN 4 00000000E 01 MAX 7 50000000E 02 DEFault 4 00000000E 01 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E
35. DEFault 1000V Rol AUTO SENSe VOLTage DC RANGe UPPer MINIMAX Returns the state of the DC V measurement function range Return values lt Range gt 400mV 4V 40V 400V 1000V MIN 4 00000000E 01 MAX 1 00000000E 03 SENSe VOLTage DC ZERO AUTO lt Mode gt Activates or disables the auto zero mode of the DC V measurement function Parameters lt Mode gt ONIOFFI110 ON Activates the auto zero Mode of the DC V measurement function OFF Disables the auto zero Mode of the DC V measurement function 1 Activates the auto zero Mode of the DC V measurement function O Disables the auto zero mode of the DC V measurement function SENSe VOLTage DC ZERO AUTO Returns the auto mode state of the DC V measurement function Return values lt State gt 110 1 Auto zero mode of the DC V measurement function is activated O Auto zero mode of the DC V measurement function is disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company Diode configuration commands A AA are ee 47 SENSe DIODe THReshold lt Threshold gt IMINIMAXIDEF ooocccoocccccocccccocccccoccccnnos 47 SENS IDIODe T
36. E Selects the data logging mode Parameters lt Mode gt UNLimited Infinite data capture COUNt Number of measurement values to be captured TIME Duration of the measurement values capture ST UNL DATA LOG MODE Returns the data logging mode Return values lt Mode gt UNL Infinite data capture COUN Number of measurement values to be captured TIME Duration of the measurement values capture DATA LOG TIME lt time in seconds gt Sets the data logging time Parameters lt Time gt Internal 50000h max External Defined by USB stick capacity DATA LOG TIME Returns the duration of the measurement values capture Return values lt lime gt e g 5 00000E 04 DATA LOG COUNt lt no of samples gt Sets the number of measurement values to be captured Parameters lt Samples gt Internal 50000 max External Defined by USB stick capacity DATA LOG COUNt Returns the number of measurement values to be captured Return values lt Time gt e g 1 00E 01 DATA LOG INTerval lt interval in seconds gt Selects a logging measurement interval The measurement interval describes the time between the recorded measurements Parameters lt Interval gt 3600s max RST Os HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Van
37. EN RAN N BREI AAA EST 64 DATA LOG FNAMe lt File_Name gt HINT EXT DEFN nennen 64 DIAS E EEEE 64 BaS ES 8 8 A AET ATEA NATE AN 64 DATA LOG FORMAT io 64 DATA LOG MODE UN tea FCOUNTIETIME perancis eiii 65 Bs ree en ere eter ene ee ee ee 65 DAIA LOG TIME lt time COI SS rn ek 65 DARE ANE PAM A 65 DATA TOS COUNT lt 0 Dr Sa OS anne 65 BoU sn 65 DATA LOGIN Ter yal interval Bean a ee 65 BR LOA iaa aia 66 DATA DATA lt File_Name gt HINTI EXT DEF ooccooccnnccnnocnnnocnnnoconononcnoncnonnnnnonos 66 DATA DELete e File Name gt KINT EXT DER Les 66 DATA POINts lt File_Name gt INT EXT DER n nennen 6 DATALST ANTI EATI DEF isc 67 II DATA a a ee an Ee ven een En teen 6 HCOPYFOR Mot BMP PING Fu an ii ina 67 A A T a a a E a a a TAES EE KAE NHE 68 0 L EA eiaa a pan a E a a aaa 68 PP a r E O 68 VN Wl EANA AEA EA AE E A E A 68 A A 11 A enc lc cscs E O EAA E T E E P E N 68 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 SCPI Commands HMC8012 DATA LOG STATe 0 1 OFF ON Turns the data logging function on or off Parameters lt State gt ON 1 OFFTO DATA LOG STATe Data l
38. ESR is defined in IEEE 488 2 It can be compared with the EVENt part of a SCPI register The event status register can be read out using command ESR The ESE corresponds to the ENABle part of a SCPI register If a bit is set in the ESE and the associated bit in the ESR changes from 0 to 1 the ESB bit in the STB is set The ESE register can be set using the command ESE and read using the command ESE HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company Operation Complete This bit is set on receipt of the command OPC exactly when all previous commands have been executed Query Error This bit is set if either the controller wants to read data from the instrument without having sent a query or if it does not fetch requested data and sends new instructions to the instrument instead The cause is often a query which is faulty and hence cannot be executed Device dependent Error This bit is set if a device dependent error occurs An error message with a number between 300 and 399 or a positive error number is entered into the error queue Execution Error This bit is set if a received command is syntactically corre
39. GmbH D 63933 Mainhausen A Rohde Schwarz Company Tel 49 0 61 82 800 0 DQS Certification DIN EN ISO 9001 Fax 49 0 61 82 800 100 Reg Nr 071040 QM sales hameg com
40. H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SCPIProgrammersManual HMC8012 English HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com 1 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company Inhalt 1 1 Remote Control Interfaces 3 1 1 1 USB Interface 3 1 1 2 LAN Interface 3 1 1 3 GPIB Interface IEC IEEE Bus Interface 4 1 2 Setting Up a Network LAN Connection 4 1 2 1 Connecting the Instrument to the Network 4 1 2 2 Configuring LAN Parameters 4 1 9 Switching to Remote Control 6 1 4 Messages and Command Structure I 1 4 1 Messages 7 1 4 2 SCPI Command Structure 8 ta Command Sequence and Synchronization 12 1 9 1 Preventing Overlapping Execution 13 1 6 Status Reporting System 14 1 6 1 Structure of a SCPI Status Register 14 1 6 2 Hierarchy of status registers 15 1 6 3 Contents of the Status Registers 13 1 6 4 Application of the Status Reporting System 18 Zi Common Commands Za 2 2 System related commands 23 2 3 Display commands 20 2 4 Trigger commands 26 2 4 Configuration and Measurement Commands 28 2 4 1 Measurement Commands 28 2 4 2 Configuration commands 33 2 0 Mathematic Functions 32 2 6 Data and File Management 63 Les Statu
41. IN 4000 MAX 250MO DEFault 4000 Rol AUTO SENSe RESistance RANGe UPPer MINIMAX Returns the state of the 2 wire 2w resistance measurement function range Return values lt Range gt 4000 4kQ 40kQ 400kQ 4MQ 40MQ 250MO MIN 4 00000000E 02 MAX 2 50000000E 08 Temperature configuration commands CONFigure TEMPerature lt Probe_Type gt IDEFRH lt Type gt IDEFJ 1 55 ISENSEITEN PeratureNULLESTATE HONIOFFleasinae en aan 56 SENSE TEN Petr NULLE STATO u nenn 56 SENSe TEMPerature NULL VALue lt Value gt IMINIMAX 2 nnnnneen 56 SENSe TEMPerature NULL VALue MINIMAX 2 nenn 56 SENSe TEMPerature TRANsducer RTD TYPE lt Type gt nnen 56 SENSe TEMPerature TRANsducer RTD TYPE neenen 57 SENSe TEMPerature TRANsducer TYPE lt Probe_Type gt eee 57 SENS ITEM Persture RANsducer TYPE anne anreisen 57 OAE ee A EE renihen 57 PP AT Tee 57 CONFigure TEMPerature lt Probe_Type gt IDEF lt Type gt DEF I 1 H AMEL Instruments A Rohde amp Schwarz Company Configures the instrument for 2 wire 4 wire temperature measurements but does not initiate a measurement Use the READ command to query the 2 wire 4 wire temperature measurement value with specified range or the CONF command to query the 2 wire resistance function configuration Parameter lt Probe_Type gt FRTD RTD
42. If the queue is empty the response is 0 No error Usage Query only SYSTem LOCal Sets the system to front panel control The front panel control is unlocked Usage Setting only SYSTem REMote Sets the system to remote state The front panel control is locked and can be unlock via soft menu key Unlock keys front panel or SCPI command SYSTem LOCal Usage Setting only SYSTem RWLock Sets the system to remote state The front panel control is locked and can not be unlocked via soft menu key Unlock keys front panel You are only able to unlock the front panel control via SCPI command SYSTem LOCal Usage Setting only SYSTem VERSion Returns the version of the SCPI Standard Commands for Programmable Instruments standard Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 2 3 Display commands BIS A A or A A 25 DE ES LEE NT 22 Ve een 25 DISPlay TEXT CLEar Clears the text message box on the front display Usage Setting only DISPlay TEXT DATA lt string gt Displays a text message box on the front display Example DISP TEXT WAITING FOR TRIGGER
43. NIMAXIDEF 43 SENSe CURRent DC RANGe UPPer MINIMAX ooooocccccccooccccccccccoocccccoccnonono 44 CONFigure CURRent DC lt Range gt AUTO MINIMAXIDEF Configures the instrument for DC measurements but does not initiate a measurement Use the READ command to query the DC measurement value with specified range or the CONF command to query the DC function configura tion Parameters lt Range gt 20mA 200mA 2A 10A AUTO Auto range MIN 20mA MAX 10A DEFault 20mA If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RST AUTO SENSe CURRent DC NULLI STATe ON OFF Turns the null function for DC measurements on or off In this case the instrument does not switch into DC mode For activating the DC measurement function use the FUNC command Parameters lt State gt ON OFF RoR OFF SENSe CURRent DC NULL STATe Returns the null function state of the DC measurement function Return values lt state gt 110 1 ON NULL function activated 0 OFF NULL function disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL
44. RReshold HIMINIMAXIDE A aaa 47 SENSE DIODE BEEP etl TATE DNI OFF 47 SEN Se De BEEP SLs LATE een aan 48 CONFigure DIODe Configures the instrument for diode measurements but does not initiate a measurement Use the READ command to query the diode measurement value or the CONF command to query the general function configuration SENSe DIODe THReshold lt Threshold gt MINIMAXIDEF Sets the threshold of the diode measurement function In this case the instrument does not switch into continuity mode For activating the continuity measurement function use the FUNC command Parameters lt Threshold gt OV to 5V adjustable in 1uV steps MIN OV MAX 5V DEFault 700mMV RST 700mV SENSe DIODe THReshold MINIMAXIDEF Returns the threshold of the diode measurement function Return values lt Threshold gt OV to BV MIN 0 00000000E 00 MAX 4 94999981E 00 DEFault 6 99999988E 01 SENSe DIODe BEEPer STATe ONIOFF Turns the beeper function for diode measurements on or off Parameters lt State gt ON OFF ON Beeper of the diode measurement function is activated OFF Beeper of the diode measurement function is disabled RSE OFF HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach
45. Stionable subsystem control the status reporting structures of the STATus QUEStionable registers See also chapter 1 6 1 Structure of a SCPI Status Register on page 14 STATus QUEStionable Register on page 18 Diagram on page 20 The following commands are available SN A SS 70 STATUS OUR SiO nab le C ONDION copos 70 SAUS QUESTONaDIlE ENABIS lt Enable alu nun anna 70 JAWS OUE SONS IG ENABIE e surcar ria 70 SUS QUE STEEL EVENIT nia adi des 71 STATus PRESet Resets all bits of the STATUS QUESTIONALBLE and Standard Operation enable register Usage Event STATus QUEStionable CONDition Returns the contents of the CONDition part of the status register to check for questionable instrument or measure ment states Reading the CONDition registers does not delete the contents Return values lt Condition gt Condition bits in decimal representation Range 1 to 65535 Increment 1 Usage Query only STATus QUEStionable ENABle lt Enable Value gt Sets the enable mask that allows true conditions in the EVENt part to be reported in the summary bit If a bit in the enable part is set to 1 and Its associated event bit transitions to true a positive transition occurs in the summary bit and is reported to the next higher level Parameters lt Enable_Value gt Bit mask in decimal representation Range 1 to 65535 Increment 1 STATus QUEStionable ENABle Reads the enable register and returns a decimal value whi
46. UTO SENSe CAPacitance NULL STATe ONIOFF Turns the null function for capacitance measurements on or off In this case the instrument does not switch into capa citance mode For activating the capacitance measurement function use the FUNC command Parameters lt State gt ON OFF nel OFF SENSe CAPacitance NULLI STATe Returns the NULL function state of the capacitance measurement function Return values lt State gt 110 1 ON NULL function of the capacitance measurement function is activated 0 OFF NULL function of the capacitance measurement function is disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe CAPacitance NULL VALue lt Value gt MINIMAX Sets the null value of the capacitance measurement function Parameters lt Value gt O to 500uF adjustable in 1fF steps MIN OF MAX 500uF RS OF SENSe CAPacitance NULL VALue MINIMAX Returns the null value of the capacitance measurement function Return values lt Value gt O to 500uF MIN 0 0E 00 MAX 5 000000E 04 SENSe CAPacitance RANGe AUTO lt Mode gt Activates or disables the auto range mode
47. V measurement function is disabled SENSe VOLTage AC NULL VALue lt Value gt MINIMAX Sets the null value of the AC V measurement function Parameters lt Value gt 750V to 750V adjustable in 1nV steps MIN 750V MAX 750V ASE 00 SENSe VOLTage AC NULL VALue MINIMAX Returns the null value of the AC V measurement function Return values lt Value gt 50V to 750V MIN 7 500000E 02 MAX 7 500000E 02 Instruments A Rohde 8 Schwarz Company HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company SENSe VOLTage AC RANGe AUTO lt Mode gt Activates or disables the auto range mode of the AC V measurement function Parameters lt Mode gt ONIOFFI110 ON Activates the auto range mode of the AC V measurement function OFF Disables the auto range mode of the AC V measurement function lp Activates the auto range mode of the AC V measurement function O Disables the auto range mode of the AC V measurement function SENSe 1VOLTage AC RANGe AUTO Returns the auto mode state of the AC V measurement function Return values lt State gt 110 1 Auto range of the AC V measurement function Is activat
48. alue gt MINimum MAXimum Sets the high limit value of the limit line function The possible maximum and minimum high limit value is depending on the activated measurement function To activate the limit lines use the CALC FUNC LIM resp the CALC ON com mand Parameters lt Value gt Depending on the activated measurement function CALCulate LIMit UPPer MINimum MAXimum Retuns the high limit value of the limit line function Return values lt Value gt e g 7 500E 02 CALCulate DB REFerence lt Value gt MINimum MAXimum Stores a relative value which is used for the dB function The possible dB reference value is depending on the activa ted measurement function To activate the dB function use the CALC FUNC DB resp the CALC ON command Parameters lt Value gt Depending on the activated measurement function CALCulate DB REFerence MINimum MAXimum Retuns the dB reference value Return values lt Value gt e g 1 0E 06 CALCulate DBM REFerence lt Value gt MINimum MAXimum Sets the user defined dBm reference resistance value To activate the dBm function use the CALC FUNC DBM resp the CALC ON command Parameters lt Value gt 10 to 65 5kQ adjustable in 10 steps MIN 10 MAX 65 5kQ HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger
49. am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe DIODe BEEPer STATe Returns the beeper function state of the diode measurement function Return values lt State gt 110 1 ON beeper of the diode measurement function is activated 0 OFF beeper of the diode measurement function is disabled Frequency configuration commands CO Ss re cuene VOL AL Eee 48 CONROE FeO URC CURRENT salten patriota 48 SENSe FREQuency APERture lt Seconds gt IMINIMAXIDEF 0 48 SENSe FREQuency APERture MINIMA NX oooooccccooccccccccoccccccncccnoconcnnnnconononccononos 49 SENSe FREQuency CURRent RANGe AUTO lt MOde gt cooccccoccccnccncocccoccncncnncncnnnonoss 49 SENSe FREQuency CURRent RANGe AUTO oooccccccccncnconnccncnncnccnnconnnncnonnncnonnnnnnnos 49 SENSe FREQuency CURRent RANGeI UPPer lt Current_Range gt IMINIMAXIDEF 49 SENSe FREQuency CURRent RANGel UPPer MINIMAX 000 49 SENSe FREQuency VOLTage RANGe AUTO lt M0Ode gt ccoocccccccccncccnocccnccncononcnnnnnnnnns 50 SENSeJFRECQUency YOL Tage RANGE AUTO csi e 5O SENSe FREQuency VOLTage RANGel UPPer lt Voltlage_Range gt IMINIMAXIDEF 50 SENSe FREQuency VOLTage RANGel UPPer KMINIMAXH 0 50 CONFigure FREQuency VOLTAGE Configures the instrument for frequency measurements but does not initiate a measurement Use the
50. an the status registers Especially in the test phase of a controller program the error queue should be queried regularly since faulty commands from the controller to the instrument are recorded there as well HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company OR Binary Weights AN Jajsibay 91q8U3 Ja sibay uoINIPUOI x RE SRE STB Summary Bit RQS O Status Byte Register Serial Poll AA Jajsibay a geug OTN OS WO o non O ee m WS LO e e e e gt 2 T 2 lt a D gt S zS faa J9 5169y Ju9A3 5 Lu O gt A W 5 RRR 25 o 5 o Jajsibay uoljipuog cr 07 oai 2 202 S a a ob E J 2 BL It 8 FEE 2 25 E 23295 yo eo ad E 5 DE E Oo S 2 D On gt Y a a KE ro e U 2 lt 5 oO U oO Ex O S m z L Sp Ba O pc A AN J9 51B9y 91q8U3 veo Sa EE n T PET TTT TET EE TY TT lt Jaysibay Juarz w 5 nes eb D N NLDOo Mo on o nm sin a o e al N T AAA Lu CL o nmnswoon Ll 7 2 i x W 2 FL TT TET ETT Tt oo Ja sibay uoljipuog e e oo rd e5 N U O ii S E z 6 odl E 7 I lt r
51. ation function Is activated OFF The selected calculation function is disabled CALCulate STATe Returns the state of the CALC FUNC command selected calculation function Return values lt State gt 110 1 ON Calculation function is activated 0 OFF Calculation function is disabled CALCulate POWer Returns the DC power value To activate the power display function use the CALC FUNC POW resp the CALC ON command Return values lt Value gt If the HMC8012 is not configured in DCI DCV or DCV DCI mode 1 will be returned HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company CALCulate LIMit LOWer lt Value gt MINimum MAXimum Sets the low limit value of the limit line function The possible maximum and minimum low limit value is depending on the activated measurement function To activate the limit lines use the CALC FUNC LIM resp the CALC ON command Parameters lt Value gt Depending on the activated measurement function CALCulate LIMit LOWer MINimum MAXimum Retuns the low limit value of the limit line function Return values lt State gt e g 7 500E 02 CALCulate LIMit UPPer lt V
52. 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 CALC FUNC DB CALC STAT ON CALC DB REF MAX CALC DB REF Result 7 500E 02 Asa general rule send commands and queries in different program messages HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com 12 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 12 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 1 5 1 Preventing Overlapping Execution To prevent an overlapping execution of commands one of the commands OPC OPC or WAI can be used All three commands cause a certain action only to be carried out after the hardware has been set By suitable program ming the controller can be forced to wait for the corresponding action to occur OPEC Sets the Operation Complete bit in the Setting bit O in the ESE ESRafter all previous commands have Setting bit 5 in the SRE been executed Waiting for service request SRO previous setting has been completed FWAI Stops further command processing unt
53. ch corresponds to the binary weighted sum HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company STATus QUEStionable EVENt Returns the contents of the EVENt part of the status register to check whether an event has occurred since the last reading Reading an EVENt register deletes its contents Return values lt Event gt Event bits in decimal representation Range 1 to 65535 Increment 1 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Tel 49 0 6182 800 O e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 Subject to change without notice HAME LE Instruments A Rohde amp Schwarz Company Oscilloscopes Zend E E E Spectrum Analyzer A ia TIERA Power Supplies 0000 05090 eee Modular System a E Series 8000 2 Programmable Instruments Series 8100 authorized dealer www hameg com Release January 2014 HAMEG Instruments GmbH Subject to change without notice Industriestra e 6 HAMEG Instruments
54. ct but cannot be performed for other rea sons An error message with a number between 200 and 300 is entered into the error queue Command Error This bit is set if a command is received which is undefined or syntactically incorrect An error mes sage with a number between 100 and 200 is entered into the error queue Not used Power On supply voltage on This bit is set when switching on the instrument Table 1 9 Bits of the event status register please refer to page 20 STATus OPERation Register In the CONDition part the register contains information which operations the instrument is being executing In the EVENt part it contains information which operations the instrument has executed since the last reading It can be read using the commands STATus OPERation CONDition or STATus OPERation EVENt The remote commands for the STATus OPERation register are described on page 65 Calibrating for service department only Measuring The bit is set while the instrument is measuring u Waiting for Trig This bit is set while the instrument is waiting for the trigger Instrument Locked RWLock Table 1 10 Bits of the STATus OPERation register please refer to page 20 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com 17 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing
55. der Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company DATA LOG INTerval Returns the selected logging measurement time Return values lt lime gt e g 1 0E 00 DATA DATA lt File_Name gt INT EXT DEF Returns the logging file data values of the selected storage location and file name If no logging file is found the message No Logging Files found is displayed If no storage location is selected the instrument queries the internal memory Please notice that the logging function has to be activated if you want to use the manual or single trigger mode trigger via TRIG button Without activating the logging function in single or manual trigger mode the instrument is not able to save a logging file internally or on the USB stick Return values lt File_Name gt e g LOG0029 CSV INT Internal memory EXT USB stick DEF Internal memory Example External logging file USB stick of single trigger count 5 DATA DATA LOG0029 CSV EXT HAMEG Log File Date 2013 05 23 Start Time 15 09 32 Stop Time 15 10 03 Settings 9 ADC Rate Fast 9 AC Filter 9 Input Imp 10M DCVIV DCI A Flag 12 891854 0 982340 12 889381 0 982539 12 909376 0 982238 12 875769 0 982418 12 844559 0 982506 12 863085 0 982463 Usage Query only DATA DELete f lt File_Name gt XINT
56. ds HMC8012 Instruments A Rohde 8 Schwarz Company SENSe FRESistance RANGe UPPer MINIMAX Returns the state of the 4 wire 4w resistance measurement function range Return values lt Range gt 4000 4kQ 40kQ 400kQ 4MO MIN 4 00000000E 02 MAX 4 00000000E 06 2 wire resistance configuration commands CONFigure RESistance lt Range gt IAUTOIMINIMAXIDEF 0 20002200002000 53 SENSE IRESIStance NULLESTATE CONTO escritos 53 SENSO I RESistance NULES isa nai din 54 SENSe RESistance NULL VALue lt Value gt IMINIMAX 00oocccocicccocicncononnconinnconinccnnos 54 SENSe IRESIStamcs NULL VALue HMINIMAXY aan 54 SENSe RESistance RANGe AUTO lt M0Od8 gt 0ccoccnccncnnconcnncnnconinnnnninnnoninnnnninncnninninnss 54 SENSO IFE Eee FANG AU Osa dido 54 SENSe RESistance RANGel UPPer lt Range gt IMINIMAXIDEF 55 SENSe RESistance RANGe UPPer HMINIMAXY naines 55 CONFigure RESistance lt Range gt AUTO MINIMAXIDEF Configures the instrument for 2 wire resistance measurements but does not initiate a measurement Use the READ command to query the 2 wire resistance measurement value with specified range or the CONF command to query the 2 wire resistance function configuration Parameter lt Range gt 4000 4kQ 40kQ 400kO 4M0 40MO 250MO AUTO Auto range MIN 4000 MAX 250MQ DEFault 4000 If the input signal is greater than can be measured on the se
57. dth lt Filter gt MINIMAX DEF Sets the AC filter of the AC V measurement function In this case the instrument does not switch into AC V mode For activating the AC V measurement function use the FUNC command Parameters lt Filter gt 101501400 10 10Hz filter Slow 50 50Hz filter Medium 400 A400Hz filter Fast MIN Slow MAX Fast DEFault Slow RST 5 00000000E 01 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 O e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 SENSe VOLTage AC BANDwidth MINIMAX Returns the AC filter of the AC V measurement function Return values lt Filter gt 1 00000000E 01 5 00000000E 01 4 00000000E 02 MIN 1 00000000E 01 MAX 4 00000000E 02 SENSe VOLTage AC NULL STATe ONIOFF Turns the null function for AC V measurement function on or off Parameters lt State gt ON OFF ON Null function of AC V measurement function is activated OFF Null function of AC V measurement function is disabled Asl OFF SENSe VOLTage AC NULLI STATe Returns the null function state of the AC V measurement function Return values lt State gt 110 1 ON Null function of the AC V measurement function is activated 0 OFF Null function of the AC
58. e AUTO lt Mode gt Activates or disables the auto range mode of the AC measurement function Parameters lt Mode gt ON OFF 1110 ON Activates the auto range mode of the AC measurement function OFF Disables the auto range mode of the AC measurement function ib Activates the auto range mode of the AC measurement function O Disables the auto range mode of the AC measurement function RST ON SENSe CURRent AC RANGe AUTO Returns the auto mode state of the AC measurement function Return values lt State gt 110 1 Auto range of the AC measurement function Is activated O Auto range of the AC measurement function is disabled SENSe CURRent AC RANGel UPPer lt Range gt IMINIMAXIDEF Sets the AC measurement function range Parameters lt Range gt 20mA 200mA 2A 10A MIN 20e 3 MAX le 1 DEFault 20e 3 ROT AUTO HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company SENSe CURRent AC RANGe UPPer MINIMAX Returns the state of the AC measurement function range Return values lt Range gt 20mA 200mA4 2A 10A MIN 2 00000000E 02 MAX 1 00000000E 01 DEFault 2 00
59. ed O Auto range of the AC V measurement function is disabled SENSe VOLTage AC RANGeL UPPer lt Range gt MINIMAXIDEF Sets the AC V measurement function range Parameters lt Range gt 400mV 4V 40V 400V 750V MIN ADOMV MAX 750V DEFault 400mV ROT AUTO SENSe VOLTage AC RANGe UPPer MINIMAX Returns the state of the AC V measurement function range Return values lt Range gt 400mV 4V 40V 400V 750V MIN 4 00000000E 01 MAX 7 50000000E 02 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company DC I configuration commands CONFigure CURRent DC lt Range gt IAUTOIMINIMAXIDEF 200 0 200000 42 SENSE CURRemi DEENVLERSTATEN ONO Presidi 42 SENS C UR Ment DG UES TATE use 42 SENSe CURRent DC NULL VALue lt Value gt IMINIMAX 220220 nn 43 SENSe ICURRenti DCINULEVAL ue KMINIMN un 43 ISENSe JCURRentl DC RANGE AUTO lt MOde gt ococccccnccnonconcncnnccninconcnnnncnncnnoncnninannss 43 SENSe JCURRent DC RANGe AUTO oooccccnoccconocnnonocononocononcononaraconnraconnrnconnraconanos 43 SENSe CURRent DC RANGe UPPer lt Range gt IMI
60. el 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company MEASurel VOLTage AC lt Range gt AUTOIMINIMAXIDEF Configures the instrument for AC V measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return values lt Range gt 400mV AV 40V 400V 750V AUTO Auto range MIN 400mV MAX 750V DEFault 400mV If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 Usage Query only MEASure VOLTage DC lt Range gt lAUTOIMINIMAXIDEF Configures the instrument for DC V measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return values lt Range gt 400mV 4V 40V 400V 1000V AUTO Auto range MIN 400mV MAX 1000V DEFault 400mV If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf
61. ement value in auto trigger mode In the single trigger mode the READ command initialize a trigger with the settings for trigger count or interval In the trigger manual mode the READ command initialize a trigger By sending the READ command again the trigger mode stops Please notice that the READ command only queries the first measurement value of the trigger system Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SYSTem BEEPer STATe lt State gt Switches the front panel control beeper on or off For example if the control beeper is disabled you don t get a control beep during the manual or signgle trigger Parameters lt State gt ON OFF NT ON SYSTem BEEPer STATe Returns the state of the front panel control beeper Returns 0 for deactivated OFF and 1 for activated ON control beeper As E 1 SYSTem BEEPer lMMediate The instrument returns a single beep immediately Usage Setting only SYSTem ERRor NEXT Queries an error and removes it from the queue Positive error numbers are instrument dependent Negative error numbers are reserved by the SCPI standard
62. emperature probe type 2W UNIT TEMPerature C K F Selects the unit of the temperature measurement function Parameters lt Unit gt C a K Kelvins F eE UNIT TEMPerature Selects the unit of the temperature measurement function Return values lt Unit gt C C is activated K Kelvins is activated F F is activated HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 SCPI Commands HMC8012 ADC rate configuration commands ISENSe JADCRate SLOW I MEDium FAST SENSE ADORO ee SENSe JADCRate SLOW MEDium FAST H AMEL Instruments A Rohde amp Schwarz Company A A 58 Selects the ADC rate for the activated measurement function The reading rate per second of the ADC rate function is depending on the activated measurement function Parameters lt Function gt SLOW MEDium FAST ASl SLOW SENSe ADCRate Returns the ADC rate for the activated measurement function Return values lt Function gt SLOW MED FAST Miscellaneous FON ae een ISENSE amp FUNGEISH ON lt Funetions 2a SENS FUNCION CONI 2 CONFigure Returns the actual instrument configuration Example TEMP PT100 RTD Usage Query only SENSe FUNC
63. ent returns 9 90000000E 37 RST AUTO SENSe FRESistance NULL STATe ON OFF Turns the null function for 4 wire 4w resistance measurement function on or off In this case the instrument does not switch into resistance mode For activating the OQ measurement function use the FUNC command Parameters lt State gt ON OFF ON Null function of Aw resistance measurement function Is activated OFF Null function of 4w resistance measurement function Is disabled Rol OFF SENSe FRESistance NULL STATe Returns the null function state of the 4 wire 4w resistance measurement function Return values lt State gt 110 1 ON Null function of the 4w resistance measurement function is activated 0 OFF Null function of the 4w resistance measurement function Is disabled HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com El Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 91 H AMEL SCPI Commands HMC8012 SENSe FRESistance NULL VALue lt Value gt MINIMAX Sets the null value of the 4 wire 4w resistance measurement function Parameters lt Value gt 00 to 4MQ adjustable in IQ steps MIN 00 MAX AMO Ro 00 SENSe FRESistance NULL VALue MINIMAX Returns the null value of the 4 wire 4w resistance Measurement
64. enu is available The Ethernet Settings dialog box is displayed Ethernet Settings P MODE ALTO MAN MAC 00 04 33 bc bb 50 IF 192 165 000 002 NM NEAT Subnet mask 255 255 255 000 E Gateway OOO 000 000 000 RAW Port 5025 Bae vaer POPE LOZA Transfer Auto 150 Mbps Full Duplex Link yes IP Status Man Fig 1 1 Ethernet Settings dialog box Some data is displayed for information only and cannot be edited This includes the MAC physical address of the connector and the Link status information 4 Define the IP address of the instrument by entering each of the four blocks individually manual mode or choose the automatic IP Mode a In manual mode MAN define the first block number using the knob b Press Next to move to the next block and define the number c When the IP address is complete press Down to continue with the next setting Define the Subnetmask and Gateway in the same way Select the RAW Port the port number for SCPI socket communication Select the VXI 11 Port used by the instrument Select the Transfer mode This mode can either be determined automatically Auto setting or you can select a combination of a transfer rate and half or full duplex manually Press Save to save the LAN parameters HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0
65. evel that lies below the common levels The colon following the semicolon must be omitted in this case Example CALC FUNC NULL CALC ON This command line is represented in its full length and contains two commands separated from each other by the 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 CALC FUNC NULL ON A new command line always begins with the complete path Example CALC FUNC NULL CALC ON 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 HCOPy FORMat Response BMP HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company Maximum values minimum values and all other quantities
66. f 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 The STB is using the command STB or a serial poll 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 O to 1 a service request SRQ is generated The SRE can be set by using the command SRE and can be read by using the command SRE HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 2 Error Queue The bit is set when an error is occured If this bit is enabled by the SRE each entry of the error queue generates a service request Thus an error can be recognized and specified in greater detail by polling the error queue The poll provides an informative error message This procedure is to be recommended since it considerably reduces the
67. ffenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company Optional mnemonics Some command systems permit certain mnemonics to be inserted into the header or omitted These mnemonics are marked by square brackets in the description The instrument must recognize the long command to comply with the SCPI standard Some commands are considerably shortened by these optional mnemonics Example INITiate IMMediate Definition INITiatel MMediate Command INIT IMM is equivalent to INIT Special characters Parameters A vertical stroke in parameter definitions indicates alternative possibilities in the sense of or The effect of the command differs depending on which parameter is used Example Definition UNIT TEMPerature C K E Command UNIT TEMP C selects C for temperature measurements Command UNIT TEMP K selects Kelvins for temperature measurements Mnemonics in square brackets are optional and may be inserted into the header or omitted Example INITiate IMMediate INIT IMM is equivalent to INIT Parameters in curly brackets are optional and can be inserted once or several times or omitted Example CALCulate LIMit LOWer lt Value gt MINimum MAXimum The following are valid commands CALC LIM LOW 10 CALC LIM LOW MIN CALC LIM LOW MAX Table 1 5 Special characters SCPI Parameters Many commands are supplemented by a parameter or a list of paramete
68. from the HAMEG homepage The available USB driver is fully tested functional and released for Windows XP 32 Bit Windows Vista or Windows 7 both as 32Bit or 64Bit versions The USB interface has to be chosen in the multimeter and does not need any setting Ifthe virtual COM port will be used you have to install the virtual COM port part of the HMC8012 USB driver The virtual COM port VCP will be activated in the PC device explorer LAN Interface The settings of the parameter will be done after selecting the menu item Ethernet and the soft key Parame ter You can set a fix IP adress or a dynamic IP setting via the DHCP function Please ask your IT department for the correct setting at your network IP address To set up the connection the IP address of the instrument is required It is part of the resource string used by the pro gram to identify and control the instrument The resource string has the form TCEPIP IP_address IP_porb SOCKET The default port number for SCPI socket communication is 5025 IP address and port number are listed In the Ether net Settings of the HMC8012 see also chapter 1 2 2 Configuring LAN Parameters on page 4 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stic
69. function Return values lt Value gt ON to 4MO MIN 0 0E 00 MAX 4 000000E 06 SENSe FRESistance RANGe AUTO lt Mode gt Activates or disables the auto range mode of the 4 wire 4w resistance measurement function Instruments A Rohde amp Schwarz Company Parameters lt Mode gt ON TOFF 110 ON Activates the auto range mode of the 4w resistance measurement function OFF Disables the auto range mode of the Aw resistance measurement function diz Activates the auto range mode of the 4w resistance measurement function O Disables the auto range mode of the 4w resistance measurement function RST ON SENSe FRESistance RANGe AUTO Returns the auto mode state of the 4 wire 4w resistance measurement function Return values lt State gt 110 ie Auto range of the 4w resistance measurement function Is activated O Auto range of the Aw resistance measurement function is disabled SENSe FRESistance RANGe UPPer lt Range gt IMINIMAXIDEF Sets the 4 wire 4w resistance measurement function range Parameters lt Range gt 4000 4kQ 40kQ 400kO 4MO MIN 4000 MAX AMO DEFault 4000 ASE AUTO HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Comman
70. g Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe CONTinuity BEEPer STATe ONIOFF Activates or disables the beeper of the continuity measurement function Parameters lt State gt ON OFF ON Activates the beeper function of the continuity measurement function OFF Disables the beeper function of the continuity measurement function RSE OFF SENSe CONTinuity BEEPer STATe Returns the beeper state of the continuity measurement function Return values lt State gt 110 1 Beeper of the continuity measurement function is activated O Beeper of the continuity measurement function is disabled AC I configuration commands CONFigure CURRent AC I lt Range gt AUTOIMINIMAXIDEFHF 220000200000000 36 SENSe CURRent AC BANDwidth lt Threshold gt MINIMAXIDER 37 SENSE EURRent AG BANDwidih EMINIM AR ua 317 LENSE ICURRent AC NULL STATE ION OFF aaa 37 ISENSe CURRent AC NV STIER une een a7 SENSe CURRent AC NULL VALue lt Value gt IMINIMAX oooococcocccoccccccncconcnnccnccnccnnns 38 SENSe CURRent AC NULL VALue MINIMAX ooooooccccnnnoccncnnnoccnnnnonccononoricnnnnnnnos 38 SENSe CURRent AC RANGe AUTO lt Mode gt 0occoccnccncnncnnonncononnnnninnnoninnnnninncnninccnnos 38 SENSE JCURRentACRANGe AUTO 2 une 38 SENSe CURRent AC RANGe UPPer lt Range gt IMINIMAXIDER
71. he 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 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 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 una 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 Ifthe network supports dynamic TCP IP configuration using the Dynamic Host Configuration Protocol
72. helen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company Example If the instrument has the IP address 192 1 2 3 the valid resource string is TEPIP2192 1223 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 TCPIP host_name lP_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 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 t
73. ic values will be reset and the instrument immediately triggers a measurement Return values lt Range gt 4000 4kQ 40kQ 400kO 4MO AUTO Auto range MIN 4000 MAX AMQ DEFault 4000 If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 Usage Query only MEASure RESistance lt Range gt AUTO MINIMAXIDEF Configures the instrument for 2 wire resistance measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return values lt Range gt 4000 4kQ 40kQ 400kO 4MQ 40MO 250MO AUTO Auto range MIN 4000 MAX 250MQ DEFault 4000 If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 Usage Query only MEASure TEMPerature lt Probe_Type gt IDEF L lt Type gt I DEF Configures the instrument for temperature measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return values lt Probe_Type gt FRTD RTD FRTD 4 wire temperature value 4VV RTD 2 wire temperature value 2VV DEFault RTD 2W lt Type gt PT100 PT500 I PT1000 DEFault PT100 Example MEAS TEMP FRTD PT500 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice T
74. il Sending WAI directly after the command whose allcommands sent before WAl have processing should be terminated before other com been executed mands are executed OPG Stops command processing until 1 is Sending OPC directly after the command whose returned This is only the case after the processing should be terminated before other com Opera tion Complete bit has been set mands can be executed in the ESR This bit indicates that the Table 1 7 Synchronization using OPC OPC and WAI Command synchronization using WAI or OPC appended to an overlapped command is a good choice if the overlap ped command takes time to process The two synchronization techniques simply block overlapped execution of the command For time consuming overlapped commands it is usually desirable to allow the controller or the instrument to do other useful work while waiting for command execution Use one of the following methods OPC with a service request 1 Set the OPC mask bit bit no 0 in the ESE ESE 1 2 Set bit no 5 in the SRE SRE 32 to enable ESB service request 3 Send the overlapped command with OPC 4 Wait for a service request The service request indicates that the overlapped command has finished OPC with a service request 1 Set bit no 4 in the SRE SRE 16 to enable MAV service request 2 Send the overlapped command with OPC 3 Wait for a service request The service request Indicates that the overlapped command has fi
75. l When you send a command from the control computer it will be received and executed by the instrument The display remains on manual operation via the front panel is always possible HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com B Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments 1 4 1 4 1 A Rohde amp Schwarz Company Messages and Command Structure Messages Instrument messages are employed in the same way for all interfaces if not indicated otherwise in the description See also Structure and syntax of the instrument messages chapter 1 4 2 SCPI Command Structure on page 7 Detailed description of all messages chapter 2 Command Reference on page 20 There are different types of instrument messages Commands Instrument responses Commands Commands program messages are messages which the controller sends to the instrument They operate the instru ment functions and request information The commands are subdivided according to two criteria 1 According to the effect they have on the instrument Setting commands cause instrument settings such as a reset of the instrument or setting the frequency Queries cause data to be provided for remote c
76. lected range manual ranging the instrument returns 9 90000000E 37 ok AUTO SENSe RESistance NULL STATe ON OFF Turns the null function for 2 wire 2w resistance Measurement function on or off In this case the instrument does not switch into resistance mode For activating the Q measurement function use the FUNC command Parameters lt State gt ON OFF ON Null function of 2w resistance measurement function Is activated OFF Null function of 2w resistance measurement function is disabled Rol OFF HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company SENSe RESistance NULL STATe Returns the null function state of the 2 wire 2w resistance measurement function Return values lt State gt 110 1 ON Null function of the 2w resistance measurement function is activated 0 OFF Null function of the 2w resistance measurement function is disabled SENSe RESistance NULL VALue lt Value gt MIN IMAX Sets the null value of the 2 wire 2w resistance measurement function Parameters lt Value gt 00 to 250MOQ adjustable in IN steps MIN 00 MAX 250MO hol 00 SENSe RESistance NULL VALue
77. m BE 35 3333 O a Ul DE a E ee Tr i Ne D D o o LL LL wW Cc RE NN ae 565 SE S22 gt 2 So 8555355 ow o D o D EE O gt a a Ek ka Fan Ho D S fu 5 j ean Y Lu 2 LWI ul Lu Lu D SE 23 95585 u g r8ese 3 25 oS a o 2 5258 a SS g SID a See pra ow RS eb k a S n S Y me Y O c ab g 3 E x T 3 i a LE E Y S HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 O e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company 2 Command Reference This chapter provides the description of all remote commands available for HMC8012 The commands are sorted according to the menu structure of the instrument A list of commands in alphabetical order ist given in the List of Commands at the end of this documentation 2 1 Common Commands Common commands are described in the IEEE 488 2 IEC 625 2 standard These commands have the same effect and are employed in the same way on different devices The headers of these commands consist of followed by three letters Many common commands are related to the Status Reporting System Available common commands PPP A A A A 21 ESE O er rer 21 A A O tere eet ee eee CHE Te TER TENE ae
78. mode SINGle Single trigger mode Configuration and Measurement Commands Measurement Commands MEASure CAPacitance lt Range gt IAUTOIMINIMAXIDEFN 000 0000 28 MEA SWE IY laess nnani onere S E E 29 MEASure CURRent AC lt Range gt IAUTOIMINIMAXIDEF soccer 29 MEASure CURRent DC lt Range gt IAUTOIMINIMAXIDEF 0 29 MEASure DIODE oo cccc ccc cccc ce eccceeeeeeeeeeeeeeue cena rre estan eeeaeceeaeseeaesesnestaeetaneenaneeneseas 30 MEASure FREQuency VOLTAGE lt Range gt IAUTOIMINIMAXIDEF 30 MEASure FREQuency CURRent lt Range gt IAUTOIMINIMAXIDEFR ooo 30 MEASure FRESistance lt Range gt IAUTOIMINIMAXIDEFHN 0 000 31 MEASure RESistance lt Range gt IAUTOIMINIMAXIDEF nnneeneen si MEASure TEMPerature lt Probe_Type gt IDEF L lt Type gt IDEF 31 MEASurel VOLTagel AC lt Range gt IAUTOIMINIMAXIDEF 2 MEASurel VOLTagell DC I lt Range gt AUTOIMINIMAXIDEFN 32 MEASure CAPacitance f lt Range gt AUTO MINIMAXI DEF 3 H AMEL Instruments A Rohde amp Schwarz Company Configures the instrument for capacitance measurements The displayed values including statistic values will be reset and the instrument immediately triggers a measurement Return
79. ned value is always a decimal number that represents the bit pattern of the queried register This number is evaluated by the controller program Queries are usually used after an SRO in order to obtain more detailed information on the SRO cause Decimal representation of a bit pattern binary weights The STB and ESR registers contain 8 bits the SCPI registers 16 bits The contents of a status register are specified and transterred as a single decimal number To make this possible each bit is assigned a weighted value The decimal number is calculated as the sum of the weighted values of all bits in the register that are set to 1 Fig 1 7 Decimal representation of a bit pattern please refer to page 20 Example The decimal value 40 32 8 indicates that bits no 3 and 5 in the status register e g the QUEStionable status summary bit and the ESB bit in the STatus Byte are set Error Queue Each error state in the instrument leads to an entry in the error queue The entries of the error queue are de talled plain text error messages that can be looked up in the error log or queried via remote control using SYSTem ERRor NEXT Each call of SYSTem ERRor NEXT provides one entry from the error queue If no error messages are stored the instrument responds with O No error The error queue should be queried after every SRO in the controller program as the entries describe the cause of an er ror more precisely th
80. nhausen e Deutschland Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Subject to change without notice Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H A ME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company HCOPy FORMat Returns the current setting of the screenshot format Return values lt Format gt BMP PNG BMP Windows Bitmap Format PNG Portable Network Graphic HCOPy SIZE X Returns the horizontal expansion of the screenshots Usage Query only HCOPy SIZE Y Returns the vertical expansion of the screenshots Usage Query only SAV 011121314 Stores the current instrument state in the specified storage location Any state previously stored in the same location is overwritten no error is generated RCL 011121314 Recalls the current instrument state of the specified storage location HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 2 7 Status Reporting 2 7 1 STATus OPERation Register The commands of the STATus OPERation Subsystem control the status reporting
81. nished Event Status Register ESE 1 Set the OPC mask bit bit no 0 in the ESE ESE 1 2 Send the overlapped command without OPC OPC or WAI 3 Poll the operation complete state periodically by means of a timer using the sequence OPC ESR A return value LSB of 1 indicates that the overlapped command has finished HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company OPC with short timeout 1 Send the overlapped command without OPC OPC or WAI 2 Poll the operation complete state periodically by means of a timer using the sequence short timeout OPC 3 A return value LSB of 1 indicates that the overlapped command has finished In case of a timeout the operation is ongoing 4 Reset timeout to former value 5 Clear the error queue with SYStem ERRor to remove the 410 Query interrupted entries Using several threads in the controller application As an alternative provided the programming environment of the controller application supports threads separate threads can be used for the application GUI and for controlling the instrument s via SCPI A thread waiting for a OPC
82. notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company TST self TeST query Triggers selftests of the instrument and returns an error code in decimal form see Service Manual supplied with the instrument O indicates no errors occured Usage Query only WAI WAlt to continue Prevents servicing of the subsequent commands until all preceding commands have been executed and all signals have settled see also command synchronization and OPC Usage Event 2 2 System related commands A e a SARER EENEIEREN 23 SS AE ses eae o cee ee ee 23 oYSolem BEEPer STATE STE gt eu ae rd 24 Sr TATE near 24 SY oslem BEEPeI MMedlatel ausssessin deadiGawnene 24 I SOI EO lios ZA Ie ED O a case SERIE EINER E E EE A EE E E E SEHEN 24 SS Ee RENIO a 24 SYSTem RWLock rarer t rtr rn nennen nennen nennen nennen EEEE EEEEE PEKEE EEEE EEEE EEr Era 24 SYE VER 21 01 eainiie e oo An 24 FETCh Query the actual measurement value on the display in auto trigger single trigger or manual trigger mode In contrast to the READ command the FETC command does not initialize a trigger By sending the TRG command before the FETC command you get the actual triggered measurement value Usage Query only READ Query the actual measur
83. ogging function Is activated Data logging function is disabled Returns the state of the data logging function Return values lt State gt 110 1 0 ON Data logging function is activated OFF Data logging function is disabled DATA LOG FNAMe lt File_Name gt INT EXT DEF Defines the file name and storage location for the logging function Parameters lt File_Name gt INT EXT DEF DATA LOG FNAMe e g Test01 CSV INT Internal memory USB stick Internal memory Returns the file name and storage location for the logging function Return values lt File_Name gt INT EAI DEF DATA LOG FORMat CSV TXT Defines the data logging file format Parameters lt Format gt CSV TXT RST DATA LOG FORMat Returns the data logging file format Return values lt Format gt e g INT DATA Test01 CSV Internal memory USB stick Internal memory Comma separated values Text file Gov CSV TXT HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com H AMEL Instruments A Rohde amp Schwarz Company Subject to change without notice Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company DATA LOG MODE UNLimited COUNt TIM
84. ontrol e g for identification of the instrument or polling a parameter value Queries are formed by directly appending a question mark to the command header 2 According to their definition in standards The function and syntax of the Common commands are precisely defined in standard IEEE 488 2 They are employed identically on all instruments if implemented They refer to functions such as management of the standardized status registers reset and self test Instrument control commands refer to functions depending on the features of the instrument such as frequency settings Many of these commands have also been standardized by the SCPI committee These commands are marked as SCPI compliant in the command reference chapters Commands without this SCPI label are device specific however their syntax follows SCPI rules as permitted by the standard Instrument responses Instrument responses response messages and service requests are messages which the instrument is sent to the controller after a query They can contain measurement results instrument settings and information on the instrument status GPIB Interface Messages Interface messages are transmitted to the instrument on the data lines with the attention line ATN being active LOW They are used for communication between the controller and the instrument and can only be sent by a compu ter which has the function of a GPIB bus controller GPIB interface messages can be
85. out notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company SENSe CURRent DC RANGe UPPer MINIMAX Returns the state of the DC measurement function range Return values lt Range gt 20mA 200mA4 2A 10A MIN 2 00000000E 02 MAX 1 00000000E 01 DEFault 2 00000000E 02 DC V configuration commands CONFigurel VOLTagell DC f lt Range gt IAUTOIMINIMAXIDEF 00 0 44 SENSE WOLTegelDCINULEESTATE ONIOFF ascii ri cr 44 REDEN OLEGEEBEINDLERSTETE escrita ita daci n 45 SENSe VOLTagel DCI NULL VALue lt Value gt IMINIMAX nennen 45 SENSe VOLTagel DC NULL VALue KMINIMAXN nen 45 ISENSe VOLTagel DC RANGE AUTO lt Mode gt 002usssenseeennennneneee nennen 45 SENSE VOLTO BEL RANGE Dre ta 45 SENSe VOLTagel DCI RANGel UPPer lt Range gt IMINIMAXIDEF 46 SENSe VOLTage l DC RANGe UPPer MINIMAX nn 46 SENSE VOL ade BUIZEROFALUTO SITE une ee 46 SENSO VOLS DO ZERO AUTO sra ii ii 46 CONFigurel VOLTagel DC lt Range gt AUTO MINIMAXIDEF Configures the instrument for DC V measurements but does not initiate a measurement Use the READ command to query the DC V measurement value with
86. responding Windows drivers have been installed For the multimeter HMC8012 these commands are mostly compatible with the Agilent multimeters 34401A and 34410A Naturally the free HAMEG software HMExplorer is also available for the HMC series This Windows application offers HMC instruments a terminal function the option to create screenshots and to read out the measured data from the HMC memory The modern alternative to the virtual COM port is to remote control the HMC8012 via USB TMC class TMC stands for Test amp Measurement Class which indicates that the connected measurement instrument can be recognized without special Windows drivers if VISA drivers are installed and that it can be used directly in corresponding environments The GPIB interface serves as model to the structure of the TMC design A major benefit of the USB TMC class is that by sampling specific registers the controlling software can determine if commands have been terminated and if they have been processed correctly In contrast the communication via VCP requires analysis and polling mechanisms within the controlling software which may significantly strain the interface of the measurement instruments The TMC status registers solve this problem with the USB TMC in the same manner as is the case with the GPIB interface for the hardware namely via corresponding control lines If you are using USB you need to install an USB driver which can be downloaded free of charge
87. rial number firmwareversion Example HAMEG HMC8012 12345 01 000 Usage Query only OPC OPeration Complete Sets bit O in the event status register when all preceding commands have been executed This bit can be used to ini tiate a service request The query OPC writes a 1 into the output buffer as soon as all preceding commands have been executed This is used for command synchronization RST ReSeT Sets the instrument to a defined default status The default settings are indicated in the description of commands Usage Setting only SRE lt Contents gt Service Request Enable Sets the service request enable register to the indicated value This command determines under which conditions a service request is triggered The query SRE returns a decimal value of the Status Byte enable register which corre sponds to the binary weighted sum of all bits Parameters lt Contents gt Contents of the service request enable register in decimal form Bit 6 MSS mask bit is always O Range O to 255 STB STatus Byte query Returns the contents of the status byte in decimal form Usage Query only TRG TRiGger Triggers all actions waiting for a trigger event In particular TRG generates a manual trigger signal Manual Trigger This common command complements the commands of the TRIGger subsystem Usage Event HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without
88. rs The parameters must be separated from the header by a white space ASCII code 0 to 9 11 to 32 decimal e g blank Allowed parameters are Numeric values Special numeric values Boolean parameters Text Character strings Block data The parameters required for each command and the allowed range of values are specified in the command description HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Eu Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company Numeric values Numeric values can be entered in any form i e with sign decimal point and exponent Values exceeding the resolution of the instrument are rounded up or down The mantissa may comprise up to 255 characters the exponent must lie inside the value range 32000 to 32000 The exponent is introduced by an E or e Entry of the exponent alone is not allowed In the case of physical quantities the unit can be entered Allowed unit prefixes are MA mega MOHM K kilo M milli and U micro If the unit is missing the basic unit is used Example CALC NULL OFF 10mV CALC NULL OFF 10E 3 Special numeric values The texts listed below are interpreted as special numeric value
89. s In the case of a query the numeric value is provided MIN MAX MINimum and MAX mum denote the minimum and maximum value Example Setting command CALCulate LIMit LOWer MAXimum Query CALC LIM LOW MAX Response 1E3 Queries for special numeric values The numeric values associated to MAXimum MINimum can be queried by adding the corresponding mnemo nics to the command They must be entered following the quotation mark Example CALC LIM LOW MAXimum Returns the maximum numeric value as a result Boolean parameters Boolean parameters represent two states The ON state logically true is represented by ON or a numeric value 1 The OFF state logically untrue is represented by OFF or the numeric value 0 The numeric values are provided as the response for a query Example Setting command CALCulate STATe ON Query CALC STAT Response 1 Text parameters Text parameters observe the syntactic rules for mnemonics i e they can be entered using a short or long form Like any parameter they have to be separated from the header by a white space In the case of a query the short form of the text Is provided Example Setting command HCOPy FORMat BMP Query HCOPy FORMat Response BMP HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing
90. s Reporting 69 2 7 1 STATus OPERation Register 69 2 7 2 STATus QUEStionable Registers 70 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments 1 1 1 1 1 1 1 1 2 A Rohde amp Schwarz Company Introduction Basics This chapter provides basic information on operating an instrument via remote control Remote Control Interfaces For remote control LAN USB standard interface or GPIB optional interface can be used The optional GPIB inter face has its own Interface module slot on the rear panel of the HMC8012 Within this interface description the term GPIB is used as a synonym for the IEC IEEE bus interface SCPI Standard Commands for Programmable Instruments SCP commands messages are used for remote control Commands that are not taken from the SCPI standard follow the SCPI syntax rules USB Interface In addition to a LAN interface the HMC8012 includes a USB device port For this interface the user can select if the instrument is accessed via virtual COM port VCP or via USB TMC class The traditional version of the VCP allows the user to communicate with the HMC using any terminal program via SCPI commands once the cor
91. s the auto range mode of the AC measurement function OFF Disables the auto range mode of the AC measurement function 1 Activates the auto range mode of the AC measurement function O Disables the auto range mode of the AC measurement function RST ON SENSe FREQuency CURRent RANGe AUTO Returns the auto range state of the AC measurement function for frequency measurements Parameters lt Mode gt 110 1 Auto range mode of the AC measurement function is activated O Auto range mode of the AC measurement function is disabled SENSe FREQuency CURRent RANGe UPPer lt Current_Range gt MINIMAXI DEF gt Sets the current range of the AC measurement function for frequency measurements Parameters lt Current_Range gt 20mA 200mA 2A 10A MIN 20mA MAX 10A DEFault 20mA hol AUTO SENSe FREQuency CURRent RANGe UPPer MINIMAX Returns the current range of the AC measurement function for frequency Measurements Return values lt Current_Range gt 20mA 200mA 2A 10A MIN 2 00000000E 02 MAX 1 00000000E 01 DEFault 2 00000000E 02 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz
92. save a logging file internally or on the USB stick Return values lt Value gt INT Max 50 000 internal memory EXT Max memory size of the USB stick DER 50 000 internal memory Example External logging file USB stick of single trigger count 5 DATA POIN LOGO0029 CSV EXT Query 5 DATA LIST INT EXT DEF Returns all saved logging files of the selected storage location If no storage location is selected the instrument que ries the internal memory Please notice that the logging function has to be activated if you want to use the manual or single trigger mode trigger via TRIG button Without activating the logging function in single or manual trigger mode the instrument is not able to save a logging file internally or on the USB stick If you store the logging file on the USB stick the query returns all files depending on the storage format CSV or TXT files Return values lt List gt INT Internal memory EXT USB stick DEF Internal memory Example DATA LIST EXT Query LOGO001 CSV LOGO002 CSV LOGO003 CSV HCOPy DATA Returns the actual display content screenshot The DATA query responses the screenshot data in binary format Usage Query only HCOPy FORMat BMP PNG Selects the data format of the screenshot Parameters lt Format gt BMP PNG BMP Windows Bitmap Format PNG Portable Network Graphic AsT BMP HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mai
93. specified range or the CONF command to query the DC V function configu ration Parameter lt Range gt 400mV 4V 40V 400V 1000V AUTO Auto range MIN 400mV MAX 1000V DEFault 400mV If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 RST AUTO SENSe 1VOLTage DC NULL STATel ONIOFF Turns the null function for DC V measurement function on or off Parameters lt State gt ON OFF ON Null function of DC V measurement function is activated OFF Null function of DC V measurement function is disabled Bal OFF HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 4182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde 8 Schwarz Company SENSe VOLTage DC NULL STATe Returns the null function state of the DC V measurement function Return values lt State gt 110 1 ON Null function of the DC V measurement function is activated 0 OFF Null function of the DC V measurement function is disabled SENSe VOLTage DC NULL VALue lt Value gt MINIMAX Sets the null value of the DC V measurement function Parameters lt Value gt 1000V to 1000V adjustable in 1nV steps MIN 1000V MAX
94. t SRQ initiated by the instrument Serial poll of all devices in the bus system initiated by the controller in order to find out who sent a SRQ and why Parallel poll of all devices Query of a specific instrument status by means of commands Query ofthe error queue Serial Poll Ina serial poll with command STB the status byte of an instrument is queried The query is realized via interface mes sages and thus clearly faster The serial poll method is defined in IEEE 488 1 and used to be the standard possibility for different instruments to poll the status byte The method also works for instruments which do not adhere to SCPI or IEEE 488 2 The serial poll is mainly used to obtain a fast overview of the state of several instruments connected to the controller HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com 18 Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 18 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company Query of an instrument status Each part of any status register can be read using queries There are two types of commands Thecommon commands ESR IDN STB query the higher level registers The commands of the STATus system query the SCPI registers STATus QUEStionable The retur
95. t Range gt AC voltage 400mV AV 40V 400V 750V 5Hz to 700kHz AUTO Auto range MIN 400mV MAX 750V DEFault 400mV If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 Usage Query only MEASure FREQuency CURRent lt Range gt AUTO MINIMAXIDEF Configures the instrument for frequency measurements with main function AC The displayed values including stati stic values will be reset and the instrument immediately triggers a measurement Display of frequency is only available as 2nd function for the main functions AC V and AC Return values lt Range gt AC current 20mA 200mA 5Hz to 10kHz 2A 10A 5Hz to 5kHz AUTO Auto range MIN 20mA MAX 10A DEFault 20mA If the input signal is greater than can be measured on the selected range manual ranging the instrument returns 9 90000000E 37 Usage Query only HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 HAME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company MEASure FRESistance lt Range gt IAUTOIMINIMAXIDEF Configures the instrument for 4 wire resistance measurements The displayed values including statist
96. table in 1u C steps MIN 273 1 C MAX 999 9C Bl OG SENSe TEMPerature NULL VALue MINIMAX Returns the null value of the temperature measurement function Return values lt Value gt 273 1 C to 999 9 C MIN 2 731000E 02 MAX 9 999000E 02 SENSe TEMPerature TRANsducer RTD TYPE lt Type gt Sets the RTD type PT type of the temperature measurement function Parameters lt Type gt PT100 PT500 PT1000 RST PT100 HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe TEMPerature TRANsducer RTD TYPE Returns the RTD type PT type of the temperature measurement function Return values lt Type gt PT100 PT500 PT1000 SENSe TEMPerature TRANsducer TYPE lt Probe_Type gt Sets the probe type of the temperature measurement function Parameters lt Probe_Type gt PRIDIRID FRTD 4 wire temperature probe type 4VV RTD 2 wire temperature probe type 2W RST RID SENSe TEMPerature TRANsducer TYPE Returns the probe type of the temperature measurement function Return values lt Probe_Type gt FRTD I RTD FRTD 4 wire temperature probe type 4VV RTD 2 wire t
97. that are requested via a special text parameter are returned as numeric values Example CALCulate LIMit LOWer MAXimum Response 1E3 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 Truth values Boolean values are returned as 0 for OFF and 1 for ON Example Setting command CALCulate STATe ON Query CALCulate STATe Response 1 1 9 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 avold 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
98. tion ON lt Function gt Selects the measurement function Parameters lt Function gt VOLTagel DC VOLTage AC CURRent DC CURRent AC RESistance FRESistance FREQuencyl VOLTage FREQuency CURRent CON Tinuity DIODe SENSor Rol Example FUNC VOLT AC HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen e Deutschland E E A 58 AA 59 DC V measurement function AC V measurement function DC measurement function AC measurement function 2 wire resistance measurement function 4 wire resistance measurement function Frequency measurement function in AC V mode Frequency measurement function in AC mode Continuity measurement function Diode measurement function Sensor measurement function VOLT DC Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AMEL SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company SENSe FUNCtion 0N Returns the selected measurement function Return values lt Function gt VOLT DC V measurement function VOLT AC AC V measurement function CURR DC measurement function CURR AC AC measurement function RES 2 wire resistance measurement function FRES 4 wire resistance measurement function FREO Frequency measurement function in AC V mode FREO CURR Frequency measurement function
99. tly updated by the instrument This part can only be read by the user Reading the register clears It This part is often equated with the entire register ENABle The ENABle part determines whether the associated EVENt bit contributes to the sum bit see below Each bit of the EVENt part is ANDed with the associated ENABle bit symbol amp The results of all logical operations of this part are passed on to the sum bit via an OR function symbol ENABle bit 0 the associated EVENt bit does not contribute to the sum bit ENABle bit 1 if the associated EVENt bit is I the sum bit is set to 1 as well This part can be written into and read by the user as required Its contents are not affected by reading Sum bit The sum bit is obtained from the EVENt and ENABle part for each register The result is then entered into a bit of the CONDition part of the higher order register The instrument automatically generates the sum bit for each register Thus an event can lead to a service request throughout all levels of the hierarchy HAMEG Instruments GmbH e Industriestr 6 e D 63533 Mainhausen Deutschland Subject to change without notice Tel 49 0 6182 800 0 e Fax 49 0 6182 800 100 e E Mail info hameg com Gesch ftsf hrer Dipl Ing Holger Asmussen Dipl Ing Andre Vander Stichelen e AG Offenbach am Main HRB 41200 H AME La SCPI Commands HMC8012 Instruments A Rohde amp Schwarz Company 1 6 2 Hierarchy
Download Pdf Manuals
Related Search
Related Contents
Bedienungsanleitung Sky Surfer RTF 4Kanal - rc-modellbau ダウンロード SCAB Giardino 1721 ironing board Progress Lighting P5512-16 Instructions / Assembly Manual del usuario versión 2 Notice de la trottinette électrique /E Pana$0ni閤 キ 一 takeMS MEM-P3 Deseo 8GB Orange Copyright © All rights reserved.
Failed to retrieve file