Sweeper Tab

The Sweeper is a highly versatile measurement tool available on HDAWG instruments with the HDAWG-CNT Pulse Counter installed. The Sweeper enables scans of an instrument parameter over a defined range and simultaneous measurement of a streamed pulse counter data.


  • Full-featured parametric sweep tool for frequency, DC output voltages, AWG user registers

  • Display of data from pulse counters

  • Different sweep types: single, continuous (run / stop), bidirectional, binary

  • Persistent display of previous sweep results

  • Normalization of sweeps


The Sweeper supports a variety of experiments where a parameter is changed stepwise and measurement data can be graphically displayed. Open the tool by clicking the corresponding icon in the UI side bar. The Sweeper tab (see Figure 1) is divided into a plot section on the left and a configuration section on the right. The configuration section is further divided into a number of sub-tabs.

Table 1. App icon and short description
Control/Tool Option/Range Description


btn mnu sweep um

Sweep frequencies, voltages, and other quantities over a defined range and display various response functions including statistical operations.

functional sweeper
Figure 1. LabOne UI: Sweeper tab

The Control sub-tab holds the basic measurement settings such as Sweep Parameter, Start/Stop values, and number of points (Length) in the Horizontal section. Measurement signals can be added in the Vertical Axis Groups section. A typical use of the Sweeper is to perform a frequency sweep and measure the response of the device under test. The Sweeper can also be used to sweep parameters other than frequency, for instance DC offset voltages or AWG user registers. AWG user registers may e.g. be used to sweep a pulse delay, or to iterate through waveforms.

For frequency sweeps, the sweep points are distributed logarithmically, rather than linearly, between the start and stop values by default. This feature is particularly useful for sweeps over several decades and can be disabled with the Log checkbox. The Sweep Mode setting is useful for identifying measurement problems caused by hysteretic sample behavior or too fast sweeping speed. Such problems would cause non-overlapping curves in a bidirectional sweep.

By default the plot area keeps the memory and display of the last 100 sweeps represented in a list in the History sub-tab. See History List for more details on how data in the history list can be managed and stored. With the Reference feature, it is possible to divide all measurements in the history by a reference measurement. This is useful for instance to eliminate spurious effects in a frequency response sweep. To define a certain measurement as the reference, mark it in the list and click on btn uielements reference um. Then enable the Reference mode with the checkbox below the list to update the plot display. Note that the Reference setting does not affect data saving: saved files always contain raw data.

Functional Elements

Table 2. Sweeper tab: Control sub-tab
Control/Tool Option/Range Description


btn uielements runstop um

Runs the sweeper continuously.


btn uielements single um

Runs the sweeper once.

Copy From Range

btn uielements copyfromrange um

Takes over start and stop value from the plot area.

Start (unit)

numeric value

Start value of the sweep parameter. The unit adapts according to the selected sweep parameter.

Stop (unit)

numeric value

Stop value of the sweep parameter. The unit adapts according to the selected sweep parameter.


integer value

Sets the number of measurement points.


0 to 100%

Reports the sweep progress as ratio of points recorded.

Sweep Param

btn uielements tree um

Selects the parameter to be swept. Navigate through the tree view that appears and click on the required parameter. The available selection depends on the configuration of the device.

Sweep Mode

Select the scanning type, default is sequential (incremental scanning from start to stop value)


Sequential sweep from Start to Stop value


Non-sequential sweep continues increase of resolution over entire range


Sequential sweep from Start to Stop value and back to Start again


Reverse sweep from Stop to Start value

X Distribution

Linear / Logarithmic

Selects between linear and logarithmic distribution of the sweep parameter.


numeric value

Reporting of the remaining time of the current sweep. A valid number is only displayed once the sweeper has been started. An undefined sweep time is indicated as NaN.

Invert Y Axis


The xy-plot is displayed with inverted y-axis. This mode is used for Nyquist plots that allow for displaying -imag(z) on the y-axis and real(z) on the x-axis.

X Signal

btn uielements tree um

Selects the signal that defines the x-axis for xy-plots. The available selection depends on the configuration of the device. Displaying the selected signal source will result in a diagonal straight line.

Table 3. Sweeper tab: Settings sub-tab
Control/Tool Option/Range Description


Application Mode: preset configuration. Advanced Mode: manual configuration.

Application Mode

The sweeper sets the filters and other parameters automatically.

Advanced Mode

The sweeper uses manually configured parameters.


Select the sweep application mode

Parameter Sweep

Only one data sample is acquired per sweeper point.

Parameter Sweep Averaged

Multiple data samples are acquired per sweeper point of which the average value is displayed.

Noise Amplitude Sweep

Multiple data samples are acquired per sweeper point of which the standard deviation is displayed (e.g. to determine input noise). For accurate noise measurement, the signal amplitude R is replaced by its quadrature components X and Y.

Freq Response Analyzer

Narrow band frequency response analysis. Averaging is enabled.

3-Omega Sweep

Optimized parameters for 3-omega application. Averaging is enabled.

FRA (Sinc Filter)

The sinc filter helps to speed up measurements for frequencies below 50 Hz in FRA mode. For higher frequencies it is automatically disabled. Averaging is off.


This application mode uses narrow bandwidth filter settings to achieve high calibration accuracy.


Choose between a high speed scan speed or high precision and accuracy.

Low → fast sweep

Medium accuracy/precision is optimized for sweep speed.

High → standard speed

Medium accuracy/precision takes more measurement time.

Very high → slow sweep

High accuracy/precision takes more measurement time.

Bandwidth Mode

Automatically is recommended in particular for logarithmic sweeps and assures the whole spectrum is covered.


All bandwidth settings of the chosen demodulators are automatically adjusted. For logarithmic sweeps the measurement bandwidth is adjusted throughout the measurement.


Define a certain bandwidth which is taken for all chosen demodulators for the course of the measurement.


The sweeper module leaves the demodulator bandwidth settings entirely untouched.

Time Constant/Bandwidth Select

Defines the display unit of the low-pass filter to use for the sweep in fixed bandwidth mode: time constant (TC), noise equivalent power bandwidth (NEP), 3 dB bandwidth (3 dB).


Defines the low-pass filter characteristic using time constant of the filter.

Bandwidth NEP

Defines the low-pass filter characteristic using the noise equivalent power bandwidth of the filter.

Bandwidth 3 dB

Defines the low-pass filter characteristic using the cut-off frequency of the filter.

Time Constant/Bandwidth

numeric value

Defines the measurement bandwidth for Fixed bandwidth sweep mode, and corresponds to either noise equivalent power bandwidth (NEP), time constant (TC) or 3 dB bandwidth (3 dB) depending on selection.

Max Bandwidth (Hz)

numeric value

Maximal bandwidth used in auto bandwidth mode. The effective bandwidth will be calculated based on this max value, the frequency step size, and the omega suppression.

BW Overlap


If enabled the bandwidth of a sweep point may overlap with the frequency of neighboring sweep points. The effective bandwidth is only limited by the maximal bandwidth setting and omega suppression. As a result, the bandwidth is independent of the number of sweep points. For frequency response analysis bandwidth overlap should be enabled to achieve maximal sweep speed.

Omega Suppression (dB)

numeric value

Suppression of the omega and 2-omega components. Large suppression will have a significant impact on sweep time especially for low filter orders.

Min Settling Time (s)

numeric value

Minimum wait time in seconds between a sweep parameter change and the recording of the next sweep point. This parameter can be used to define the required settling time of the experimental setup. The effective wait time is the maximum of this value and the demodulator filter settling time determined from the Inaccuracy value specified.


numeric value

Demodulator filter settling inaccuracy defining the wait time between a sweep parameter change and recording of the next sweep point. The settling time is calculated as the time required to attain the specified remaining proportion [1e-13, 0.1] of an incoming step function. Typical inaccuracy values: 10 m for highest sweep speed for large signals, 100 u for precise amplitude measurements, 100 n for precise noise measurements. Depending on the order the settling accuracy will define the number of filter time constants the sweeper has to wait. The maximum between this value and the settling time is taken as wait time until the next sweep point is recorded.

Settling Time (TC)

numeric value

Calculated wait time expressed in time constants defined by the specified filter settling inaccuracy.


Selects the measurement method.


Calculates the average on each data set.

Standard Deviation

Calculates the standard deviation on each data set.

Average Power

Calculates the electric power based on a 50 Ω input impedance.

Count (Sa)

integer number

Sets the number of data samples per sweeper parameter point that is considered in the measurement. The maximum between samples, time and number of time constants is taken as effective calculation time.

Count (s)

numeric value

Sets the time during which data samples are processed. The maximum between samples, time and number of time constants is taken as effective calculation time.

Count (TC)

0/5/15/50/100 TC

Sets the effective measurement time per sweeper parameter point that is considered in the measurement. The maximum between samples, time and number of time constants is taken as effective calculation time.

Phase Unwrap


Allows for unwrapping of slowly changing phase evolutions around the +/-180 degree boundary.

Spectral Density


Selects whether the result of the measurement is normalized versus the demodulation bandwidth.

Sinc Filter


Enables sinc filter if sweep frequency is below 50 Hz. Will improve the sweep speed at low frequencies as omega components do not need to be suppressed by the normal low-pass filter.

Table 4. Sweeper tab: History sub-tab
Control/Tool Option/Range Description



Each entry in the list corresponds to a single trace in the history. The number of traces displayed in the plot is limited to 20. Use the toggle buttons to hide or show individual traces. Use the color picker to change the color of a trace in the plot. Double click on a list entry to edit its name.


integer value

Maximum number of records in the history. The number of entries displayed in the list is limited to the 100 most recent ones.

Clear All

btn uielements clearall um

Remove all records from the history list.


btn uielements clear um

Remove selected records from the history list.

Load file

Load data from a file into the history. Loading does not change the data type and range displayed in the plot, this has to be adapted manually if data is not shown.


Enter a name which is used as a folder name to save the history into. An additional three digit counter is added to the folder name to identify consecutive saves into the same folder name.

Auto Save

Activate autosaving. When activated, any measurements already in the history are saved. Each subsequent measurement is then also saved. The autosave directory is identified by the text "autosave" in the name, e.g. "sweep_autosave_001". If autosave is active during continuous running of the module, each successive measurement is saved to the same directory. For single shot operation, a new directory is created containing all measurements in the history. Depending on the file format, the measurements are either appended to the same file, or saved in individual files. For HDF5 and ZView formats, measurements are appended to the same file. For MATLAB and SXM formats, each measurement is saved in a separate file.

File Format

Select the file format in which to save the data.


btn uielements save um

Save the traces in the history to a file accessible in the File Manager tab. The file contains the signals in the Vertical Axis Groups of the Control sub-tab. The data that is saved depends on the selection from the pull-down list. Save All: All traces are saved. Save Sel: The selected traces are saved.


btn uielements reference um

Use the selected trace as reference for all active traces.

Reference On


Enable/disable the reference mode.

Reference name


Name of the reference trace used.