SCPI Commands HMF series Remote Control Basics 1 Basics This chapter provides basic information on operating an instrument via remote control. 1.1 Remote Control Interfaces For remote control, RS-232 / USB (standard interface HO720), Ethernet / USB (optional interface HO730) or GPIB (optional interface HO740) can be used. The optional interfaces replaces the RS- 232 / USB HO720 interface module on the rear panel.
SCPI Commands HMF series Remote Control Basics NOTICE If you want to use the RS-232 interface we recommend to activate the interface hand- shake to avoid timing problems. 1.1.2 USB Interface If you are using USB you need to install a USB driver which is available on the Rohde & Schwarz Website.
SCPI Commands HMF series Remote Control Basics 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›::‹IP_port›::INSTR 1.1.4 GPIB Interface (IEC/IEEE Bus Interface)
SCPI Commands HMF series Remote Control Basics NOTICE To establish a network connection, connect a commercial RJ-45 cable to one of the LAN ports of the instrument 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.
SCPI Commands HMF series Remote Control Basics 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 panel. When you send a command via PC, it will be received and exe- cuted by the instrument.
SCPI Commands HMF series Remote Control Basics 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 PC which has the function of a GPIB bus controller. GPIB interface messages can be further subdivided into: •...
Page 9
SCPI Commands HMF series Remote Control Basics NOTICE Case-insensitivity Upper case and lower case notation only serves to distinguish the two forms in the manual, the instrument itself is case-insensitive. 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 the used parameter. Example: FUNCtion {SINusoid | SQUare | RAMP | PULSe | ARBitrary} FUNC SIN sets the sine wave function.
Page 10
SCPI Commands HMF series Remote Control Basics Special numeric values The text listed below are interpreted as special numeric values. In the case of a query, the nume- ric value is provided. • MIN/MAX • MINimum and MAXimum denote the minimum and maximum value. Example: VOLT MAX VOLT MAX?, Response: 2.00000E+01...
SCPI Commands HMF series Remote Control Basics • The requested parameter is transmitted without a header. Example: VOLTage:UNIT VOLT VOLTage:UNIT?, Response: VOLT 1.5 Command Sequence and Synchronization A sequential command finishes the execution before the next command is starting. In order to make sure that commands are actually carried out in a certain order, each command must be sent in a separate command line.
Page 12
SCPI Commands HMF series Remote Control Basics 1.6 Contents of the Status Registers The SCPI standard contains an event handling system for all available interfaces that can be used to be informed about the processes within the oscilloscope. According to the standard the oscil- loscope replies only after receiving a query but the event handling enables the device to inform the user that an extraordinary event took place.
SCPI Commands HMF series Remote Control Command Reference 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“...
SCPI Commands HMF series Remote Control Command Reference *ESR? Event Status Read Returns the contents of the event status register in decimal form and subsequently sets the register to zero. Return values: <Contents> Range: 0 to 255 Usage: Query only *IDN? ...
SCPI Commands HMF series Remote Control Command Reference NOTICE We recommend to start a program by *RST in order to set the instrument to a defined status prior to starting a program. *SRE <Contents> Service Request Enable Sets the service request enable register to the indicated value. This command determines under which conditions a service request is triggered.
SCPI Commands HMF series Remote Control Command Reference Example: SYSTem:DATE 2014,10,1 Sets the device date to october 1st in the year 2014 SYSTem:DATE? Returns 2014,10,1 Usage: SCPI confirmed SYSTem:DATE? Queries the system date. Return values: e.g. 2015,9,3 SYSTem:TIME <Hour>,<Minute>,<Second> Specifies the internal time for the instrument.
SCPI Commands HMF series Remote Control Command Reference SYSTem:SNUM? Queries the serial number of the instrument. Usage: Query only SYSTem:TREE? Returns a list of implemented remote commands. Usage: Query only SYSTem:ELISt? Queries the error list. Usage: Query only SYSTem:ERRor[:NEXT]? ...
SCPI Commands HMF series Remote Control Command Reference SYSTem:BEEPer:ERRor {ON | OFF | 0 | 1} Activates or deactivates the error beeper function. Parameters: ON | 1: Error beeper function will be activated OFF | 0: Error beeper function will be deactivated *RST: ON | 1 SYSTem:BEEPer:ERRor? ...
SCPI Commands HMF series Remote Control Command Reference SYSTem:REFerence? Queries the type of the system reference. Return values: IMM | EXT 2.3 Basic Display Settings DISPlay:TRACe {OFF | ON | 0 | 1} ....................20 DISPlay:TRACe? ......................... 20 DISPlay:TRACe:INTensity {<Value in percent>...
Page 21
SCPI Commands HMF series Remote Control Command Reference DISPlay:TRACe:INTensity? Queries the current setting of the trace intensity. Return values: 0...100 (value in %) DISPlay:GRID {<Value in percent> | MINimum | MAXimum} Defines the display intensity of the grid. *RST does not change the intensity. Parameters: <Value in percent> Range: 0 to 100 MIN: MAX: DISPlay:GRID? ...
SCPI Commands HMF series Remote Control Command Reference 2.4 Configuration Commands 2.4.1 General Output Configurations FUNCtion {SINusoid | SQUare | RAMP | PULSe | ARBitrary} ............. 22 FUNCtion? ..........................22 OUTPut {OFF | ON | 0 | 1} ...
Page 23
SCPI Commands HMF series Remote Control Command Reference OUTPut:LOAD {<Impedance in Ohm> | TERMinated | INFinity} Defines the instrument output load. Parameters: <Load> Numeric value in Ohm. TERMinated: 50Ω termination. INFinity: Open circuit (without any load). *RST: INF OUTPut:LOAD? Queries the type of the instrument output load. Return values: Numeric value in Ω...
SCPI Commands HMF series Remote Control Command Reference OUTPut:OFFSet? Queries the state of the output offset voltage. Return values: The offset voltage is activated. OFF: The offset voltage is disabled. 2.4.2 Sine Wave Configuration FREQuency {<Frequency> | MINimum | MAXimum} ...
Page 25
SCPI Commands HMF series Remote Control Command Reference PERiod? [MINimum | MAXimum] Queries the output period. Return values: Numeric value in sec. MIN: 2.00E-08 MAX: 1.000000E+05 VOLTage:UNIT {VOLT | DBM} Sets the amplitude unit. Parameters: <Unit> VOLT | DBM VOLT: Amplitude unit setting in V (Volt).
Page 26
SCPI Commands HMF series Remote Control Command Reference VOLTage:HIGH {<Voltage> | MINimum | MAXimum} Defines the high level voltage depending on the amplitude setting. Parameters: <Voltage> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 *RST: 2.5000E+00 VOLTage:HIGH? [MINimum | MAXimum] Queries the high level voltage.
SCPI Commands HMF series Remote Control Command Reference VOLTage:OFFSet? [MINimum | MAXimum] Queries the output offset value. Return values: Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 2.4.3 Square Wave Configuration FREQuency {<Frequency>...
Page 28
SCPI Commands HMF series Remote Control Command Reference PERiod {<Period in sec> | MINimum | MAXimum} Defines the output perid. Parameters: <Period> Numeric value in sec. MIN: 2.00E-08 MAX: 1.000000E+05 PERiod? [MINimum | MAXimum] Queries the output period. Return values: Numeric value in sec. MIN: 2.00E-08 MAX:...
Page 29
SCPI Commands HMF series Remote Control Command Reference VOLTage? [MINimum | MAXimum] Queries the amplitude voltage value. Return values: Numeric value in V (Volt). MIN: 1.00E-02 MAX: 2.00000E+01 VOLTage:HIGH {<Voltage> | MINimum | MAXimum} Defines the high level voltage depending on the amplitude setting. Parameters: <Voltage> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX:...
Page 30
SCPI Commands HMF series Remote Control Command Reference VOLTage:OFFSet {<Offset> | MINimum | MAXimum} Defines the output offset value depending on the amplitude setting. Parameters: <Offset> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 *RST: 0.0E+00 VOLTage:OFFSet? [MINimum | MAXimum] Queries the output offset value.
Page 31
SCPI Commands HMF series Remote Control Command Reference FUNCtion:SQUare:WIDTh:HIGH? [MINimum | MAXimum] Queries the high width of the square wave function depending on the frequency setting. Return values: Numeric value in sec depending on the frequency setting. MIN: 1.00E-08 MAX: 8.000000E+04 FUNCtion:SQUare:WIDTh:LOW {<Time>...
SCPI Commands HMF series Remote Control Command Reference 2.4.3 Ramp Configuration FREQuency {<Frequency> | MINimum | MAXimum} ..............32 FREQuency? [MINimum | MAXimum] ..................32 PERiod {<Period in sec> | MINimum | MAXimum} ..............32 PERiod? [MINimum | MAXimum] ...
Page 33
SCPI Commands HMF series Remote Control Command Reference PERiod? [MINimum | MAXimum] Queries the output period. Return values: Numeric value in sec. MIN: 1.000E-07 MAX: 1.000000E+05 VOLTage:UNIT {VOLT | DBM} Sets the amplitude unit. Parameters: <Unit> VOLT | DBM VOLT: Amplitude unit setting in V (Volt).
Page 34
SCPI Commands HMF series Remote Control Command Reference VOLTage:HIGH {<Voltage> | MINimum | MAXimum} Defines the high level voltage depending on the amplitude setting. Parameters: <Voltage> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 *RST: 2.5000E+00 VOLTage:HIGH? [MINimum | MAXimum] Queries the high level voltage.
Page 35
SCPI Commands HMF series Remote Control Command Reference VOLTage:OFFSet? [MINimum | MAXimum] Queries the output offset value. Return values: Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 FUNCtion:RAMP:SYMMetry {<Percent> | MINimum | MAXimum} Defines the symmetrie of the ramp function.
Page 36
SCPI Commands HMF series Remote Control Command Reference FUNCtion:RAMP:TIME:FALL {<Time> | MINimum | MAXimum} Defines the fall time of the ramp function depending on the frequency setting. Parameters: <Time> Numeric value in percent. MIN: 8.0E-09 MAX: 1.000000E+05 *RST: 1.00000E-05 FUNCtion:RAMP:TIME:FALL? [MINimum | MAXimum] Queries the fall time of the ramp function depending on the frequency setting. Parameters: <Time>...
SCPI Commands HMF series Remote Control Command Reference 2.4.4 Pulse Configuration FREQuency {<Frequency> | MINimum | MAXimum} ..............37 FREQuency? [MINimum | MAXimum] ..................37 PERiod {<Period in sec> | MINimum | MAXimum} ..............38 PERiod? [MINimum | MAXimum] ...
Page 38
SCPI Commands HMF series Remote Control Command Reference PERiod {<Period in sec> | MINimum | MAXimum} Defines the output perid. Parameters: <Period> Numeric value in sec. MIN: 4.00E-08 MAX: 1.000000E+05 PERiod? [MINimum | MAXimum] Queries the output period. Return values: Numeric value in sec. MIN: 4.00E-08 MAX:...
Page 39
SCPI Commands HMF series Remote Control Command Reference VOLTage? [MINimum | MAXimum] Queries the amplitude voltage value. Return values: Numeric value in V (Volt). MIN: 1.00E-02 MAX: 2.00000E+01 VOLTage:HIGH {<Voltage> | MINimum | MAXimum} Defines the high level voltage depending on the amplitude setting. Parameters: <Voltage> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX:...
Page 40
SCPI Commands HMF series Remote Control Command Reference VOLTage:OFFSet {<Offset> | MINimum | MAXimum} Defines the output offset value depending on the amplitude setting. Parameters: <Offset> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 *RST: 0.0E+00 VOLTage:OFFSet? [MINimum | MAXimum] Queries the output offset value.
Page 41
SCPI Commands HMF series Remote Control Command Reference FUNCtion:PULSe:WIDTh:LOW? [MINimum | MAXimum] Queries the low width of the pulse function depending on the frequency setting. Return values: Numeric value in sec depending on the frequency setting. MIN: 2.00E-08 MAX: 1.000000E+05 FUNCtion:PULSe:DCYCle {<Percent>...
SCPI Commands HMF series Remote Control Command Reference 2.4.4 Arbitrary Configuration FREQuency {<Frequency> | MINimum | MAXimum} ..............42 FREQuency? [MINimum | MAXimum] ..................42 PERiod {<Period in sec> | MINimum | MAXimum} ..............42 PERiod? [MINimum | MAXimum] ...
Page 43
SCPI Commands HMF series Remote Control Command Reference PERiod? [MINimum | MAXimum] Queries the output period. Return values: Numeric value in sec. MIN: 4.00E-08 MAX: 1.000000E+05 VOLTage:UNIT {VOLT | DBM} Sets the amplitude unit. Parameters: <Unit> VOLT | DBM VOLT: Amplitude unit setting in V (Volt).
Page 44
SCPI Commands HMF series Remote Control Command Reference VOLTage:HIGH {<Voltage> | MINimum | MAXimum} Defines the high level voltage depending on the amplitude setting. Parameters: <Voltage> Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 *RST: 2.5000E+00 VOLTage:HIGH? [MINimum | MAXimum] Queries the high level voltage.
Page 45
SCPI Commands HMF series Remote Control Command Reference VOLTage:OFFSet? [MINimum | MAXimum] Queries the output offset value. Return values: Numeric value in V (Volt) depending on the amplitude setting. MIN: - 1.00000E+01 MAX: 1.00000E+01 DATA {<binary block>} Defines the arbitrary waveform. The instrument can handle data as binary values. In the binary block format, a block header precedes the waveform data.
Page 46
SCPI Commands HMF series Remote Control Command Reference FUNCtion:ARBitrary {<Waveform>} Selects a built-in arbitrary waveform or the user-defined waveform which was transferred into the RAM (random access memory). Parameters: <Waveform> SINusoid | SQUare | PRAMp | NRAMp | TRIangle | WNOise | PNOise | CARDinal | EXPRise | EXPFall | RAM SINusoid: Sine wave function SQUare:...
Page 48
SCPI Commands HMF series Remote Control Command Reference AM:INTernal:FREQuency {<Frequency> | MINimum | MAXimum} Defines the frequency of the AM modulation waveform. Parameters: <Frequency> Numeric value in Hz. MIN: 1.0E-05 MAX: 5.000000E+04 *RST: 5.000000E+03 AM:INTernal:FREQuency? [MINimum | MAXimum] Queries the frequency of the AM modulation waveform. Return values: Numeric value in Hz.
Page 49
SCPI Commands HMF series Remote Control Command Reference AM:SOURce? Queries the AM modulation source. Return values: INT | EXT AM:STATe {OFF | ON | 0 | 1} Activates or deactivates the AM modulation. Parameters: <State> ON | 1: The AM modulation will be activated.
Page 51
SCPI Commands HMF series Remote Control Command Reference FM:INTernal:FREQuency? [MINimum | MAXimum] Queries the frequency of the FM modulation waveform. Return values: Numeric value in Hz. MIN: 1.0E-05 MAX: 5.000000E+04 FM:DEViation {<Peak frequency> | MINimum | MAXimum} Defines the deviation of the FM modulation. Parameters: <Peak frequency>...
SCPI Commands HMF series Remote Control Command Reference FM:STATe {OFF | ON | 0 | 1} Activates or deactivates the FM modulation. Parameters: <State> ON | 1: The FM modulation will be activated. OFF | 0: The FM modulation will be disabled. *RST: OFF | 0 FM:STATe? ...
Page 53
SCPI Commands HMF series Remote Control Command Reference PM:INTernal:FUNCtion:FUNCtion? Queries the shape of the PM modulation waveform. Return values: SIN | SQU | PRAM | NRAM | TRI | WNO | PNO | CARD | EXPR | EXPF | RAM PM:INTernal:FREQuency {<Frequency>...
Page 54
SCPI Commands HMF series Remote Control Command Reference PM:SOURce {INTernal | EXTernal} Defines the PM modulation source. Parameters: <Source> INTernal | EXTernal INTernal: Internal modulation source. EXTernal: External modulation source. *RST: INT PM:SOURce? Queries the PM modulation source. Return values: INT | EXT PM:STATe {OFF | ON | 0 | 1} ...
Page 56
SCPI Commands HMF series Remote Control Command Reference FSKey:INTernal:RATE? [MINimum | MAXimum] Queries the frequency rate of the FSK modulation. Return values: Numeric value in Hz. MIN: 2.000E-03 MAX: 2.500000E+05 FSKey:DCYCle {<Duty cycle> | MINimum | MAXimum} Defines the duty cycle of the FSK modulation. Parameters: <Rate>...
Page 57
SCPI Commands HMF series Remote Control Command Reference FSKey:STATe {OFF | ON | 0 | 1} Activates or deactivates the FSK modulation. Parameters: <State> ON | 1: The FSK modulation will be activated. OFF | 0: The FSK modulation will be disabled. *RST: OFF | 0 FSKey:STATe? ...
Page 59
SCPI Commands HMF series Remote Control Command Reference PWM:INTernal:FREQuency {<Frequency> | MINimum | MAXimum} Defines the frequency of the PWM modulation waveform. Parameters: <Frequency> Numeric value in Hz. MIN: 1.0E-05 MAX: 5.000000E+04 *RST: 1.00000E-01 PWM:INTernal:FREQuency? [MINimum | MAXimum] Queries the frequency of the PWM modulation waveform. Return values: Numeric value in Hz.
Page 60
SCPI Commands HMF series Remote Control Command Reference PWM:SOURce? Queries the PWM modulation source. Return values: INT | EXT PWM:STATe {OFF | ON | 0 | 1} Activates or deactivates the PWM modulation. Parameters: <State> ON | 1: The PWM modulation will be activated.
SCPI Commands HMF series Remote Control Command Reference FREQuency:STOP {<Frequency> | MINimum | MAXimum} Defines the stop frequency of the sweep. Parameters: <Frequency> Numeric value in Hz. MIN: 1.0E-05 MAX: 5.000000E+07 *RST: 1.000000E+05 FREQuency:STOP? [MINimum | MAXimum] Queries the stop frequency of the sweep. Return values: Numeric value in Hz.
SCPI Commands HMF series Remote Control Command Reference FREQuency:SPAN {<Frequency> | MINimum | MAXimum} Defines the span of the sweep. Parameters: <Frequency> Numeric value in Hz. MIN: -5.000000E+07 MAX: 5.000000E+07 *RST: 9.900000E+04 FREQuency:SPAN? [MINimum | MAXimum] Queries the span of the sweep. Return values: Numeric value in Hz.
SCPI Commands HMF series Remote Control Command Reference SWEep:TIME? [MINimum | MAXimum] Queries the sweep time. Return values: Numeric value in sec. MIN: 1.000000E-03 MAX: 5.000000E+02 SWEep:STATe {OFF | ON | 0 | 1} Activates or deactivates the sweep function. Parameters: <State>...
SCPI Commands HMF series Remote Control Command Reference MARKer? Queries the state of the sweep marker function. Return values: The sweep marker function is activated. OFF: The sweep marker function is disabled. MARKer:STYLe {NORMal | CURSor | PULSe} Defines the sweep marker style.
Page 67
SCPI Commands HMF series Remote Control Command Reference BURSt:NCYCles? [MINimum | MAXimum] Queries the number of burst cycles. Return values: Numeric value MIN: 1.0E+00 MAX: 5.00000E+04 BURSt:INTernal:PERiod {<Period> | MINimum | MAXimum} Defines the burst period. Parameters: <Period> Numeric value in sec. MIN: 2.10000E-05 MAX:...
SCPI Commands HMF series Remote Control Command Reference BURSt:STATe {OFF | ON | 0 | 1} Activates or deactivates the burst function. Parameters: <State> ON | 1: The burst function will be activated. OFF | 0: The burst function will be disabled. *RST: OFF | 0 BURSt:STATe? ...
Page 69
SCPI Commands HMF series Remote Control Command Reference TRIGger:SOURce? Queries the trigger source. Return values: IMM | EXT TRIgger:SLOPe {POSitive | NEGative} Defines the slope of the trigger input. Parameters: <Slope> POSitive | NEGative POSitive: Rising edge NEGative: Falling edge *RST: POS TRIGger:SLOPe? Queries the slope of the trigger input.
SCPI Commands HMF series Remote Control Command Reference OUTPut:TRIGger:SLOPe? Queries the slope of the trigger output. Return values: POS | NEG 2.9 Screenshot commands HCOPy:DATA? ..........................70 HCOPy:FORMat ......................... 70 HCOPy:FORMat? ........................70 HCOPy:SIZE:X? .......................... 71 HCOPy:SIZE:Y? ...
Page 71
SCPI Commands HMF series Remote Control Command Reference HCOPy:SIZE:X? Queries the horizontal expansion of the screenshots. Usage: Query only HCOPy:SIZE:Y? Queries the vertical expansion of the screenshots. Usage: Query only SCPI Programmers Manual...
Need help?
Do you have a question about the HMF2525 and is the answer not in the manual?
Questions and answers