Hantek reserves all rights to modify this document without prior notice. Please contact Hantek for the latest version of this document before placing an order. Hantek has made every effort to ensure the accuracy of this document but does not guarantee the absence of errors. Moreover, Hantek assumes no responsibility in obtaining permission and authorization of any third party patent, copyright or product involved in relation to the use of this document.
General Safety Summary General Safety Summary Read the following safety precautions to avoid injury and prevent damage to this product or any products connected to it. To evade potential hazards, use this product only as specified. Only qualified personnel should perform maintenance. Avoid fire or personal injury.
Basic Operation 1.1 Introduction to Instrument The Hantek HDG2000 Series is a series of synthesized waveform generators with built-in arbitrary waveform and pulse capabilities. Features: 16 bits resolution, 250MSa/s Sample rate 64 Mpts Max. arbitrary waveform Memory Depth ...
Page 9
Basic Operation 1. Menu softkeys F0-F6 2. Function waveform button 3. Channel 1 and Channel 2 Switch Button 4. Function menu 5. Knob and cursor arrows 6. Numeric Keypad 7. Channel 1 and Channel 2 output buttons 8. Trigger button 9.
Page 10
Basic Operation Use the keypad to enter numbers and the softkeys to select units. The +/- key changes the number's sign. CE: Delete Key BASP: Backspace, backspace and remove the last digit ENT: Enter Key Warning: For protection from electrical shock, the power cord ground must not be defeated. If only a two-contact electrical outlet is available, connect the instrument’s chassis ground screw to a good earth ground.
Basic Operation Information States Panel System Time Information Waveform parameters Softkey labels Waveform display 5 Sweep or burst parameter Status panel indicates whether external usb device is connected with this device, whether usb device in the rear panel is connected with PC, whether the Internet is connected and the current time.
Basic Operation 1.4 Prepare Instrument for Use This section describes basic procedures to help you get started quickly with the instrument. Prepare Instrument for Use Connect the power cord as desired. Turn the instrument on by pressing the power switch in the lower left corner of front panel.
Basic Operation Chapter 2 Basic Operation Front-Panel Menu Reference Utility Function Save and Recall Remote Control HDG2000 Series Arbitrary Waveform Generator...
Basic Operation 2.1 Front-Panel Menu Reference Overview of the front-panel menus. The remainder of this chapter contains examples of using the front-panel menus. Sine Square Ramp Pulse Noise Harmonic CH1and CH2 switch button ...
Page 15
Basic Operation Specifies unit and parameter preferences Frequency or Period Voltage as Amplitude/Offset or High/Low Voltage units Pulse Width or Duty Cycle Frequency sweep as Center/Span or Start/Stop Mode: Configures modulation parameters Modulation on or off Modulation type: AM, FM, PM, 2ASK, 2FSK, 2PSK, BPSK and PWM ...
Page 16
Basic Operation Shows list of Help topics Display help topic list Display help index list Get help on any key Utility: 1. System setting Configures system-related parameters Language setting: Select local language for front-panel messages and help text Display setting: Enable or disable screen saver;...
Basic Operation 6. Self Test Perform self test 7. Calibration Perform calibration 8. Digital Generator Digital Generator Trigger: Configures trigger settings Perform a manual trigger, when illuminated. Specify the trigger source for sweep, burst or arbitrary waveform advance. ...
Page 18
Basic Operation Sound Settings Network Settings Time Settings Reference Source Settings Please follow the steps below to enter each setting: 1. Press <Utility> button, select “System Setting”, then press ENT button to do System Settings; 2. In the main menu of System Settings, push F1 to F5 button to go into desired settings 3.
Page 19
Basic Operation Please follow the steps below to enable or disable sound: 1. Press<Utility> button, and press ENT button to go into System Settings, then choose “Sound Settings”; 2. Push F1 to enable or disable beep. 3. Press F2 to exit. Network Settings The system can communicate with PC by Ethernet interface.
Basic Operation Source”, press ENT button to open “Clock Source” interface. 2. Press F1 to select internal source. 3. Press F1 twice to select external source. 4. Press F2 to exit. 2.2.2 System Infomation It contains information about the device, hardware, software and law information. 2.2.3 System State Please follow the steps to view the system's main state: 1.
Basic Operation File Window Disk Window 3. Select “Recall->Update” softkey to update latest firmware. 4. Finally, please restart the device. 2.2.5 Counter Counter function and frequency meter are also built-in the series waveform generator, including low frequency counter, high frequency counter, low frequency meter, high frequency meter. HDG2000 Series Arbitrary Waveform Generator...
Basic Operation To measure the frequency low than 100KHz, please select low freq counter and low freq meter. To measure frequency higher than 10MHz, please select high freq counter and high freq meter. Please follow these steps to count low frequency signal: 1.
Basic Operation Please follow these steps to start the operation: 1. Press<Utility> button, and press F2-> F2-> F2-> F2-> F2->ENT button to go into self test interface. 2. Press F1 to start. 3. The result of self test will be displayed on the screen. All the whole self test will cost 15 second.
Basic Operation Select input method Firstly, Press F1 to select input method English or Chinese. Input characters 1. If input method is English, shift knob to choose a character, press ENTER button to input it, then the character appears in the text edit box in the window. 2.
Basic Operation 1. Browse files and dirs 2. Create or delete files and dirs 3. Create a new dirs folder 4. Open files identified by the device Brower files and dirs: 1. Choose a storage media. Press F1 to choose media area in the window as focus area, rotate the knob button and press enter button to change the current media.
Features and Function Chapter 3 Features and Function This section contains details on instrument features, including front panel and remote interface operation. You may want to read Front-Panel Menu Reference first. See SCPI Programming Reference for details on SCPI commands and queries. This section covers: Output Configuration Pulse Waveforms Amplitude Modulation (AM) and Frequency Modulation (FM)
Features and Function 3.1 Output Configuration This section describes output channel configuration. Many commands associated with output configuration start with SOURce1: or SOURce2: to indicate a certain channel. User can’t omit. Output Function The instrument includes six standard waveforms: sine, square, ramp, pulse, noise and Harmonic. There are also nine built-in arbitrary waveforms, and you can create custom waveforms with the embedded waveform editor.
Page 28
Features and Function Frequency Limitations: Changing functions may change the frequency to meet the new function's frequency limits. Burst Limitation: For internally-triggered bursts, the minimum frequency is 1 Hz. Duty Cycle Limitations: For Square and Pulse, Duty Cycle is limited by the 16ns minimum pulse width specification.
Page 29
Features and Function 20% Duty Cycle 80% Duty Cycle Duty Cycle: 0.001% to 99.996% at low frequencies; range reduced at higher frequency. Stored in volatile memory; default 50%. Front Panel: If you use the keypad, press ENT button to finish: SCPI: SOURce<n>:FUNCtion:SQUare:DCYCle <percent>|MINimum|MAXimum Symmetry (Ramp Waves)
Page 30
Features and Function Voltage Autoranging Autoranging is enabled by default and the instrument selects optimal attenuator settings. Output Control By default, channel output is disabled at power on to protect other equipment. To enable a channel's output, see below. When channel output is enabled, the corresponding channel button is lit.
Features and Function 3.2 Pulse Waveforms As shown below, a pulse or square wave consists of a period, a pulse width, a rising edge, and a falling edge. 1. Frequency Frequency is the number of occurrences of a repeating event per unit time. It is also referred to as temporal frequency, which emphasizes the contrast to spatial frequency and angular frequency.
Page 32
Features and Function The instrument will adjust the pulse width to accommodate the specified period. Front Panel: SCPI: SOURce<n>:FUNCtion:PULSe:WIDTh <seconds>|MINimum|MAXimum SOURce<n>:FUNCtion:PULSe:WIDTh? [MINimum|MAXimum] For example, set pulse width of the channel 1 to 5ms: SOURce1:FUNCtion:PULSe:WIDTh 0.005 3. Pulse Duty Cycle The pulse duty cycle is defined as follows: Duty Cycle = 100x (Pulse Width)/Period Pulse width is the time from the 50% threshold of a pulse's rising edge to the 50% threshold of the next falling edge.
Features and Function SOURce1: FUNCtion: PULSe: DCYCle 30 4. Edge Times The edge times set the transition times for the leading and trailing edges of the pulse, either independently or together. The edge time represents the time between the 10% and 90% thresholds.
Page 34
Features and Function To avoid multiple waveform changes, enable modulation after configuring the other modulation parameters. Front Panel: SCPI: SOURce<n>:MOD ON|OFF SOURce<n>:MOD:TYPe AM|FM Carrier Waveform Shape AM or FM carrier shape: Sine (default), Square, Ramp, Pulse, Ramp, Noise or Arbitrary waveform.
Page 35
Features and Function 1μHz ~ 15MHz Pulse HDG2102B, HDG2082B, HDG2062B, HDG2032B, HDG2022B HDG2102C, HDG2072C, HDG2052C , HDG2032C 1μHz ~ the highest frequency HDG2012B, HDG2002B 1μHz ~ the highest frequency Noise SCPI: SOURce<n>:FREQuency<frequency>|MINimum|MAXimum Modulating Waveform Shape The instrument accepts an internal, external or external trig AM or FM modulation source. You cannot modulate noise with noise or an arbitrary waveform with an arbitrary waveform.
Page 36
Features and Function Front Panel: SCPI: SOURce<n>:MOD:AM:DEPTh <depth>|MINimum|MAXimum Frequency Deviation (FM) The frequency deviation setting represents the peak variation in frequency of the modulated waveform from the carrier frequency. Frequency deviation: 1 μHz to (carrier frequency)/2, default 100 Hz. For FM, the carrier frequency must always be greater than or equal to the frequency deviation. Attempting to set a deviation greater than the carrier frequency will cause the instrument to set the deviation equal to the carrier frequency.
Features and Function SCPI: SOURce<n>:MOD:AM:SOURce INTernal|EXTernal SOURce<n>:MOD:FM:SOURce INTernal|EXTernal 3.4 Phase Modulation (PM) A modulated waveform consists of a carrier waveform and a modulating waveform. PM is very similar to FM, but in PM the phase of the modulated waveform is varied by the instantaneous voltage of the modulating waveform.
Page 38
Features and Function Modulating Waveform Shape The instrument accepts an internal, external or external trig modulation source. The modulating waveform shape (internal source) may be: Sine wave Square with 50% duty cycle UpRamp with 100% symmetry Triangle with 50% symmetry DnRamp with 0% symmetry Noise - white gaussian noise Arb - Arbitrary waveform...
Features and Function SCPI: SOURce<n>:MOD:PM:DEViation <deviation>|MINimum|MAXimum Modulating Source The instrument accepts an internal, external or external trig modulation source. Modulating source: Internal (default), Other Channel, or External. The External modulation source may be up to 100 kHz. With the External source, the carrier waveform is modulated with an external waveform. The ± 5 V signal level present on the front-panel Mod connector controls the phase deviation.
Page 40
Features and Function modulation mode. You cannot enable FSK when sweep or burst is enabled. Enabling FSK turns off sweep and burst. To avoid multiple waveform changes, enable modulation after configuring the other modulation parameters. FSK Carrier Frequency SOURce<n>:FREQuency<frequency>|MINimum|MAXimum ...
Features and Function 3.6 Pulse Width Modulation (PWM) This section discusses PWM, which stands for pulse-width modulation. PWM is only available for the Pulse waveform, and the pulse width varies according to the modulating signal. The amount by which the pulse width varies is called the width deviation, and it can be specified as a percentage of the waveform period (that is, duty cycle) or in units of time.
Page 42
Features and Function SCPI: SOURce<n>:MOD:PWM:INTernal:FUNCtion SINusoid|SQUare|RAMP Modulating Waveform Frequency The instrument accepts an internal, external or external trig modulation source. Modulating frequency (internal source): 2MHz to 500KHz. The default is 100 Hz. Front Panel: SCPI: SOURce<n>:MOD:PWM:INTernal:FREQuency <frequency>|MINimum|MAXimum PWM Deviation The PWM deviation setting is the peak variation in width of the modulated pulse waveform.
Features and Function 3.7 Frequency Sweep In frequency sweep mode, the instrument moves from the start frequency to the stop frequency at a specified sweep rate. You can sweep up or down in frequency, with either linea. You can also configure the instrument to output one sweep from start frequency to stop frequency by applying an external or manual trigger.
Page 44
Features and Function Start Frequency and Stop Frequency The start frequency and stop frequency set the sweep’s upper and lower frequency bounds. The sweep begins at the start frequency, sweeps to the stop frequency, and then resets back to the start frequency.
Page 45
Features and Function SOURce<n>:SWEep:TIME <seconds>|MINimum|MAXimum Hold Time and Return Time Hold time specifies time (in seconds) to remain at the stop frequency, and return time specifies the number of seconds to return from the stop frequency to the start frequency. ...
Features and Function determined by the total of the hold time, sweep time and return time. With the External source, the instrument accepts a hardware trigger on the rear-panel Ext Trig connector and initiates one sweep each time Ext Trig receives a TTL pulse with the specified polarity.
Page 47
Features and Function applied to front-panel TRIG connector. When the gate signal is true, the instrument outputs a continuous waveform. When the gate signal goes false, the current waveform cycle is completed and the instrument stops while remaining at the voltage level corresponding to the starting burst phase of the selected waveform.
Features and Function is selected). You cannot specify a burst period that is too short for the instrument to output with the specified burst count and frequency. If the burst period is too short, the instrument will increase it as needed to continuously re-trigger the burst.
Page 49
Features and Function one sweep or outputs one burst each time TRIG receives a TTL pulse. You can select whether instrument triggers on rising or falling edge. Manual: triggering initiates one sweep or outputs one burst each time you press [Trig Menu] on the front panel.
Waveform Generation Tutorial Chapter4 Waveform Generation Tutorial Generation of A Sine Wave Function Generation of A Square Wave Function Generation of A Ramp Wave Function Generation of A Pulse Wave Function Generation of A Noise Wave Function Generation of An Arb. Wave Function Generation of A Harmonic Wave Function Method of input params Mode Waveform...
Page 51
Waveform Generation Tutorial The series signal generator can output kinds of standard Functions. For example: Sine wave, square wave, ramp wave, pulse, noise wave, DC signal, sinc, exp fall, lorentz, gause, haver sine, Dual Tone, ECG. Frequncy Frequency is the number of occurrences of a repeating event per unit time. It is also referred to as temporal frequency, which emphasizes the contrast to spatial frequency and angular frequency.
Waveform Generation Tutorial Pulse Width Pulse Width is the time interval between the %50 threshold of the pulse rising amplitude and the 50% threshold of the pulse falling amplitude. Pulse duty ratio is defined as the percentage of the pulse width of pulse cycle. Symmetry range can be set from 0% to 100%. The default value is 50%.
Waveform Generation Tutorial 4.2 Generation of A Square Wave Function Square wave is a non-sinusoidal waveform. There are only "high" and "low" the two values for an ideal square wave. Please follow these steps to output square wave: 1. Press Square wave button in the front panel, and if the waveform is setting as <modulation mode>, <sweep mode>...
Waveform Generation Tutorial 4.4 Generation of A Pulse Wave Function Please follow these steps to output Pulse wave. 1. Press Pulse wave button in the front panel, and if the waveform is setting as <modulation mode>, <sweep mode> or <burst mode>, please turn the mode off; 2.
Waveform Generation Tutorial 5. To modify other parameters, please refer to <Generation Of A Sine Wave Function> Note: Not do modulation and frequency sweep for noise wave. 4.6 Generation of An Arb. Wave Function Please follow these steps to output arb wave: 1.
Waveform Generation Tutorial 4. Specify the index of the Harmonic Wave order, press the F1 button when in the harmonic wave menu, then the button is lighting. Use the knob and digital keyboard to modify parameter values; 5. To modify the amplitude of specific harmonic wave, press F2 button when it displays harmonic wave menu, resulting of lighting on the buttons;...
Page 57
Waveform Generation Tutorial variations in the amplitude of a carrier wave. ASK uses a finite number of amplitudes, each assigned a unique pattern of binary digits. Usually, each amplitude encodes an equal number of bits. Frequency-shift keying.is a frequency modulation scheme in which digital information is transmitted through discrete frequency changes of a carrier wave.[1] The simplest FSK is binary FSK (BFSK).
Waveform Generation Tutorial modulated frequency and the nominal carrier frequency. It must be less equal he nominal carrier frequency and the sum of the Frequency Deviation and carrier frequency must be less equal the sum of the max of the type carrier and 10KHz. Phase Deviation It indicates by how much the modulated variable varies around its unmodulated level.
Page 59
Waveform Generation Tutorial Programmable Signal: Users can edit digital signal. Sync Signal: Output Synchronized signal of CH1. OFF: Turn off 1)Programmable Signal User can set the following parameters for the programmable signal. Mode: Cycle and Step Size: Set the number of programmable signal Internal: In cycle mode, the internal time between a signal and the other.
Page 60
Waveform Generation Tutorial In cycle mode, signals will output in turn. If setting Mode to “Step”, then press “Step” softkey on page 2/2. A signal will output when you press “Step” softkey each time. HDG2000 Series Arbitrary Waveform Generator...
Page 61
Waveform Generation Tutorial Sync Signal 1. Select function to sync singal. 2. Select the sync signal source to CH1 (or CH2). Open CH1 waveform output, Select the Signal Type to "Sine ", frequency to “1KHz”, Amplitude to 1V,Y Offset to 0V. Connect Digital Generator Terminals to LOGIC Analyzer Terminals to measure.
SCPI Programming Reference Chapter5 SCPI Programming Reference Introduction to the SCPI Language Alphabetical List of SCPI Commands and Queries Programming Examples HDG2000 Series Arbitrary Waveform Generator...
SCPI Programming Reference 5.1 Introduction to the SCPI Language The following four symbols are not the content of SCPI commands and will not be sent with the commands, but are usually used to describe the parameters in the commands. Braces { } The parameters enclosed in braces are optional and can be ignored.
Page 64
SCPI Programming Reference ([ ]). This indicates that the element is optional and can be omitted. The brackets are not sent with the command string. If you do not specify a value for an optional parameter, the instrument chooses a default value. Command Separators A colon ( : ) is used to separate a command keyword from a lower-level keyword.
Page 65
SCPI Programming Reference value: SOURce<n>:FREQuency:CENTer <frequency>|MINimum|MAXimum Discrete Parameters Discrete parameters are used to program settings that have a limited number of values (like IMMediate, EXTernal). They may have a short form and a long form just like command keywords. You can mix upper- and lower-case letters. Boolean Parameters Boolean parameters represent a single binary condition that is either true or false.
SCPI Programming Reference 5.2.1 AM Subsystem The AM subsystem allows you to add amplitude modulation (AM) to a carrier waveform. SOURce<n>:MOD:AM:DEPTh <depth>|MINimum|MAXimum SOURce<n>:MOD:AM:DEPTh? [MINimum|MAXimum] Parameter Typical Return 0% to 120%, default 50% +5.000000000000000E+01 Set the modulation of CH1 to 50%: SOURce1:MOD:AM:DEPTh 50 ...
Page 68
SCPI Programming Reference SOURce<n>:MOD:FM:SOURce INTernal|EXTernal SOURce<n>:MOD:FM:SOURce? SOURce<n>:MOD:PM:SOURce INTernal|EXTernal SOURce<n>:MOD:PM:SOURce? SOURce<n>:MOD:ASKey:SOURce INTernal|EXTernal SOURce<n>:MOD:ASKey:SOURce? SOURce<n>:MOD:FSKey:SOURce INTernal|EXTernal SOURce<n>:MOD:FSKey:SOURce? SOURce<n>:MOD:PSKey:SOURce INTernal|EXTernal SOURce<n>:MOD:PSKey:SOURce? SOURce<n>:MOD:BPSKey:INTernal:RATE <frequency>|MINimum|MAXimum SOURce<n>:MOD:PWM:SOURce INTernal|EXTernal SOURce<n>:MOD:PWM:SOURce? Select the source of the modulating signal. Parameter Typical Return INTernal|EXTernal, default INTernal INTernal, or EXTernal Select external modulation source of CH1: SOURce1:MOD:AM:SOURce EXTernal (could also substituteASK, FM, BPSK, FSK, PM, PSAK or PWM for AM) SOURce<n>:MOD ON|OFF SOURce<n>:MOD?
SCPI Programming Reference To avoid multiple waveform changes, enable modulation after configuring the other modulation parameters. Only one modulation mode may be enabled at a time. The instrument will not enable modulation with sweep or burst enabled. When you enable modulation, the sweep or burst mode is turned off.
SCPI Programming Reference 5.2.3 BPSK Subsystem The BPSK subsystem allows you to modulate a wave form with Binary Phase Shift Keying (BPSK), a digital modulation format. In BPSK, the carrier waveform is phase shifted between two phase settings using an on/off keying. The source may be internal, using a square wave at a specified frequency, or external, using the external trigger input.
Page 71
SCPI Programming Reference to the starting burst phase of the waveform. The following table shows which modes are associated with which burst features. SOURce<n>:BURSt:GATE:POLarity NORMal|INVerted SOURce<n>:BURSt:GATE:POLarity? Selects NORMal or INVerted logic levels on the front-panel TRIG connector for an externally gated burst.
SCPI Programming Reference Parameter Typical Return ON|OFF, default OFF ON or OFF Enable burst mode: SOURce1:BURSt ON Output phase is set to 0 when burst is enabled. To avoid multiple waveform changes, enable the burst mode after configuring the other burst parameters.
SCPI Programming Reference This setting is non-volatile; it will not be changed by power cycling or *RST. CALibration:STORe Takes calibration constants in volatile memory (CALibration?), and places them in nonvolatile memory, where they will not be changed by power cycle. Parameter Typical Return 无...
SCPI Programming Reference Parameter Typical Return AUTO AUTO AUTO, USER1, USER2, USER3, USER4, USER5, USER1 1 ms or USER6 USER2 10 ms USER3 100 ms USER4 1 s USER5 10 s USER6 >10 s COUNter:TYPE LFCOUNTER|LFFREQ|HFCOUNTER|HFFREQ Set counter type. Parameter Typical Return LF_COUNTER|LF_FREQ|HF_COUNTER LF_COUNTER, LF_FREQ|HF_COUNTER, or...
SCPI Programming Reference duty cycle (square waveform only), the instrument will adjust the duty cycle to the maximum value allowed with the present carrier frequency. If you select the External modulating source, the deviation is controlled by the ± 5 V signal level on the rear-panel Modulation In connector.For example, if the frequency deviation is 100 kHz, then a +5 V signal level corresponds to a 100 kHz increase in frequency.Lower external signal levels produce less deviation and negative signal levels reduce the frequency...
SCPI Programming Reference Sets the output frequency Parameter Typical Return Different waveform has diffenent frequency +1.000000000000000E+03 range, please refer to Output Configuration Appendix B SOURce1:FREQuency 100 Set output frequency to 100 Hz: SOURce<n>:FREQuency:CENTer <frequency>|MINimum|MAXimum SOURce<n>:FREQuency:CENTer? [MINimum|MAXimum] Sets the center frequency. Used with frequency span for a frequency sweep. Parameter Typical Return Different waveform has diffenent frequency...
SCPI Programming Reference FSK rate should be used only with the internal modulation source(FSK:SOURce INTernal). 5.2.12 FUNCtion Subsystem The FUNCtion subsystem configures the instrument's output function: SOURce<n>:FUNCtion <wave> output waveform SOURce<n>:FUNCtion:ARBitrary <filename> Output arbitrary waveform file SOURce<1|2>:FUNCtion:ARBitrary:PTPeak peak-to-peak voltage for an arbitrary waveform SOURce<1|2>:FUNCtion:ARBitrary:SRATe sample rate for arbitrary waveform SOURce<n>:FUNCtion:SQUare:DCYCle...
Page 79
SCPI Programming Reference Parameter Typical Return Effective filename: including user-defined file File name and built-in waveform file; Common use: ”INT:/Builtin/SINC.hwf”,"INT:/Mywave.hwf"," SD:/mywave.hwf","USB:/mywave.hwf" Set arbitrary filename output: INT:/Builtin/SINC.hwf SOURce1:FUNCtion:ARBitrary "INT:/Builtin/SINC.hwf", return Int:/Builtin/SINC.hwf SOURce<1|2>:FUNCtion:ARBitrary:PTPeak <voltage>|MINimum|MAXimum, SOURce<1|2>:FUNCtion:ARBitrary:PTPeak?{MINimum|MAXimum} Sets peak to peak voltage. Parameter Typical Return Discrete values 1,4,5,20, default 1V +4.000000000000000E+00 Set peak to peak voltage to 4 V: SOURce1:FUNCtion:ARBitrary:PTPeak 4...
Page 80
SCPI Programming Reference SOURce<n>:FUNCtion:PULSe:DCYCle <percent>|MINimum|MAXimum SOURce<n>:PULSe:DCYCle? [MINimum|MAXimum] Sets pulse duty cycle. Parameter Typical Return 0 % to 100%, default 50% +3.000000000000000E+01 Set duty cycle on CH1 to 30%: SOURce1:FUNCtion:PULSe:DCYCle 30 The FUNCtion:PULSe:DCYCle FUNCtion:PULSe:WIDTh commands affect the same parameter. The pulse duty cycle is defined as: Duty Cycle = 100 x Pulse Width ÷...
SCPI Programming Reference SOURce<n>:PULSe:TRANsition:TRAiling? [MINimum|MAXimum] Sets the pulse edge time on the leading, trailing, or both edges of a pulse. Parameter Typical Return Default 1μs +1.000000000000000E-08 Set leading edge time on CH1 to 10 ns: SOURce1:FUNCtion:PULSe:TRANsition:LEADing 0.00000001 Set trailing edge time on CH1 to 10 ns: SOURce1:FUNCtion:PULSe:TRANsition:TRAiling 0.00000001 ...
SCPI Programming Reference SOURce<n>:HARMonic:ORDEr <value>|MINimum|MAXimum SOURce<n>:HARMonic:ORDEr? [MINimum|MAXimum] Set Harmonic order. Parameter Typical Return 2 to the highest frequency ÷ fundamental +8.000000000000000E+00 frequency, ,integer, Max 16, default 2 Set Harmonic order on CH1 to 8: SOURce1:HARMonic:ORDEr 8 SOURce<n>:HARMonic:TYPe EVEN|ODD|ALL|USER SOURce<n>:HARMonic:TYPe? Select Harmonic type even, odd or all. Parameter Typical Return EVEN|ODD|ALL, default ALL...
SCPI Programming Reference 5.2.15 MARKer Subsytem SOURce<n>:MARKer –Enable or disable sweep marker function SOURce<n>:MARKer:FREQuency -Sets the marker frequency SOURce<n>:MARKer ON|OFF SOURce<n>:MARKer? Enable or disable sweep marker function. Parameter Typical Return ON|OFF, default OFF ON, or OFF Enable sweep marker on CH1: SOURce1:MARKer ON SOURce<n>:MARKer:FREQuency <frequency>|MINimum|MAXimum SOURce<n>:MARKer:FREQuency? [MINimum|MAXimum] Sets the marker frequency.
Page 84
SCPI Programming Reference MMEMory:DELete -removes files from Mass Memory device MMEMory:LOAD:STATe-loads saved instrument state from file MMEMory:MDIRectory -makes a new directory (folder) MMEMory:RDIRectory -removes a directory MMEMory:STORe:STATe -stores instrument state to file MMEMory:CATalog? Returns a list of all files in the current mass storage directory, including internal storage and the USB drive.
SCPI Programming Reference storage directory, including file extension. Load a complete instrument setup from the file in internal mass memory: MMEMory:LOAD:STATe "Int:/tmp.hsf" Store instrument setup to the root directory of the internal flash file system: MMEMory:STORe:STATe "Int:/tmp.hsf" MMEMory:RDIRectory <folder> MMEMory:MDIRectory <folder> MMEMory:MDIRectory makes a new directory (folder) on the mass storage medium.
SCPI Programming Reference 5.2.19 PHASeSubsystem The PHASe subsystem allows you to adjust the waveform phase; this is useful in channel-to-channel and channel-to- ync applications. This subsystem also allows you to use the 10 MHz Out and 10 MHz In rear-panel connectors to synchronize multiple instruments. SOURce<n>:PHASe -sets phase offset of output waveform (not available for arbitrary waveforms or noise)
SCPI Programming Reference With the External modulating source, deviation is controlled by the ± 5 V signal level on the front-panel MOD connector. For example, if you have set the frequency deviation to 180 degrees, then a +5 V signal level corresponds to a +180 degree phase deviation. Lower external signal levels produce less deviation, and negative signal levels produce negative deviation.
SCPI Programming Reference Sets the phase in degrees. Parameter Typical Return 0 to 360 degrees, default 180 degree +9.000000000000000E+01 Sets the phaseon CH1 to 90degrees: SOURce1:MOD:PSKey:PHASe 90 SOURce<n>:MOD:PSKey:INTernal:RATE <frequency>|MINimum|MAXimum SOURce<n>:MOD:PSKey:INTernal:RATE? [MINimum|MAXimum] Set the “mobile” rate of output frequency between carrier frequency and hopping frequency. Parameter Typical Return 2 mHz to 1 MHz, default 100Hz...
SCPI Programming Reference Selects frequency at which output pulse width shifts through its pulse width deviation. The waveform used as the modulating source will operate at that frequency, within frequency limits of that waveform. Parameter Typical Return 2 mHz to 500 kHz, default 100Hz +1.000000000000000E+02 Set internal PWM frequency to 100Hz: SOURce1:MOD:PM:INTernal:FREQuency 100 When you select an arbitrary waveform as the modulating source, the frequency changes to the...
SCPI Programming Reference SYSTem:ROSCillator:SOURce INTernal|EXTernal SYSTem:ROSCillator:SOURce? Parameter Typical Return INTernal|EXTernal, default INTernal INTernal, or EXTernal Use the external reference oscillator source: SYSTem:ROSCillator:SOURce EXTernal EXTernal:instrument uses signal on the rear-panel 10 MHz In connector as reference, and generates an error if this signal is absent or the instrument cannot lock to it. In such error cases, instrument output continues, but the frequency will be unstable.
SCPI Programming Reference start frequency. Parameter Typical Return 1 ms to 300 s, default 1s +5.000000000000000E+00 Set sweep hold time to 5 seconds: SOURce1:SWEep:HTIMe 5 SOURce<n>:SWEep:RTIMe <seconds>|MINimum|MAXimum SOURce<n>:SWEep:RTIMe ? [MINimum|MAXimum] Sets number of seconds the sweep takes to return from stop frequency to start frequency. Parameter Typical Return 1 ms to 300 s, default 1s...
Page 92
SCPI Programming Reference SYSTem:BEEPer Issues a single beep Parameter Typical Return none none SYSTem:BEEPer This command overrides the current beeper state (the SYSTem:BEEPer:STATe ). This means that you can issue asingle beep even if the beeper is turned off. SYSTem:BEEPer:STATe ON|OFF Disables or enables the beeper.
SCPI Programming Reference Set smask Parameter Typical Return 0.0.0.0 to 255.255.255.255 Smask: nnn.nnn.nnn.nn Set smask to 192.168.1.118: SYSTem:COMMunicate:LAN:IPADdres 192.168.1.118 SYSTem:ERRor? Reads and clears one error from error queue. Parameter Typical Return none -113, "Undefined header; keyword cannot be found"; No error: 0, "No Error"。 Read and clear first error in error queue: SYST:ERR? SYSTem:LANGuage ENGLish|SCHinese,SYSTem:LANGuage? Set language to English or SCHinese.
SCPI Programming Reference Parameter Typical Return 2 mVpp to 20 Vpp, default 200mVpp +10.0000000000000E+00 Set output amplitude on CH1 to 10Vpp: SOURce1:VOLTage 10 SOURce<n>:VOLTage:OFFSet <offset>|MINimum|MAXimum SOURce<n>:VOLTage:OFFSet? [MINimum|MAXimum] Sets DC offset voltage. Parameter Typical Return -10 to +10V, default 0V +1.0000000000000E-01 Set offset voltage to on CH1 100 mV: SOURce1:VOLTage:OFFSet 0.1 The relationship between offset voltage and output amplitude is shown below.
SCPI Programming Reference SOURce1:VOLTage 2 OUTPut1 ON SOURce1:PHASe 90 5.3.2 Configure a Square Wave Description A square wave has amplitude, offset, and phase relative to sync pulse. It also has duty cycle and period. Its amplitude and offset can also be set using high and low voltage values. The following commands produce the square wave shown above.
SCPI Programming Reference SOURce1:VOLTage:OFFSet 1.0 OUTPut1 ON 5.3.4 Configure a Pulse Wave Description A pulse wave has amplitude, offset, and phase relative to sync pulse. It also adds edge slope, period, and duty cycle (orpulse width). Its amplitude and offset can also be set using high and low voltage values.
Page 111
Appendix Sweep Characteristics Direction Type linear Sweep time 280000s Hold/Return time 280000s Trigger Source Internal, External, Manual Mark Falling Edge of Sync signal(programmable) Frequency Meter Frequency 1Hz~20MHz Input Amplitude TTL Level Gate time 1s~16s General Specifications Interface USB host, USB Device, SD Card 7’’...