Acquisition, triggering, and display settings for Oscilloscope instruments.

Measurement Types

InstrumentStudio features the following measurement types when you create oscilloscope channels:

Amplitude

Graph showing a waveform with a dotted line that shows the frequency difference between the most common value found in the upper 40% of the waveform and the most common value found in the lower 40% of the waveform.

Amplitude = High measurement - Low measurement

Peak-to-Peak

Graph showing a waveform with a dotted line that shows the frequency difference between the maximum measurement and the minimum measurement.

Peak-to-Peak = Maximum measurement - Minimum measurement

High

Waveform with a dashed line indicating the most common value found in the upper 40% of the waveform.
The High measurement is calculated using the selected High-Low Method.
  • Histogram High-Low method—The High measurement is calculated using the most common value found in the upper 40% of the waveform.
  • Peak High-Low method—The High measurement is calculated using the Maximum measurement value of the waveform.
  • Low


    Waveform with a dashed line indicating the most common value found in the lower 40% of the waveform.
    The Low measurement is calculated using the selected High-Low Method.
  • Histogram High-Low method—The Low measurement is calculated using the most common value found in the lower 40% of the waveform.
  • Peak High-Low method—The Low measurement is calculated using the Minimum measurement value of the waveform.
  • Maximum

    Waveform with a dashed line indicating the maximum value of the waveform.

    The maximum value found in the waveform.

    Minimum

    Waveform with a dashed line indicating the minimum value of the waveform.

    The minimum value found in the waveform.

    High Ref Level

    Waveform with a dashed line indicating the high reference level.
    The level of the signal at the high reference level.
    • If you set the reference level unit to Percentage, the High Ref Level measurement is calculated with the selected High-Low method.
    • If you set the reference level unit to Absolute, the value that you set as the High reference level is used for the measurement.

    Mid Ref Level

    Waveform with a dashed line indicating the mid reference level.
    The level of the signal at the mid reference level.
    • If you set the reference level unit to Percentage, the Mid Ref Level measurement is calculated with the selected High-Low method.
    • If you set the reference level unit to Absolute, the value that you set as the Mid reference level is used for the measurement.

    Low Ref Level

    Waveform with a dashed line indicating the low reference level.
    The level of the signal at the low reference level.
    • If you set the reference level unit to Percentage, the Low Ref Level measurement is calculated with the selected High-Low method.
    • If you set the reference level unit to Absolute, the value that you set as the Low reference level is used for the measurement.

    Positive Undershoot


    Graph showing a waveform at threshold level. The waveform then briefly falls below a low threshold and then rises until it levels well over the threshold level.

    Negative Undershoot


    Graph showing a waveform at threshold level. The waveform then briefly rises above a high threshold and then falls until it levels well under the threshold level.

    Positive Overshoot


    Graph showing a rising waveform that briefly went above a high threshold. Then the waveform falls to the threshold level and stays there.

    Negative Overshoot


    Graph showing a falling waveform that briefly went below a low threshold. Then the waveform rises to the threshold level and stays there.

    RMS

    Graph showing a waveform with two peaks, a median line, and an average line.

    The true root mean square (RMS) voltage over the entire waveform. This measurement uses the following formula:

    Equation describing how to calculate RMS.

    Mean


    Graph showing a waveform with two peaks and a corresponding median line.

    The mean over the entire waveform.

    Median


    Graph showing a waveform with a median line.

    The median over the entire waveform. The points in the waveform are sorted according to the following formulas:

    Number of Points Returned Value
    Odd
    Waveform n - 1 2
    Even
    Waveform m 2 + Waveform n 2 + 1 2

    Cycle RMS

    Graph of a sinusoidal waveform with a dashed line indicating RMS value.

    The true root mean square voltage over the first cycle of the waveform. The values you specify in the High, Mid, and Low Reference Level fields in the Settings tab of the Measurements window determine the first cycle. This measurement uses the following formula:

    Equation describing how to calculate cycle RMS.

    , where waveform is all the points in the first cycle of the waveform.

    Cycle Mean


    Graph showing a sine wave with a dashed line indicating the mean cycle level.

    The voltage average over the first cycle of the waveform. The values you specify in the High, Mid, and Low Reference Level fields in the Settings tab of the Measurements window determine the first cycle.

    Period


    A graph that shows the time difference of a waveform that crosses a reference level twice.

    Period is the time of the first two Mid Reference Level crossings in the same direction. The High or Low Reference Levels are used to apply a hysteresis.

    Frequency

    Diagram showing frequency as the inverse of time interval delta t.

    Frequency (Hz) = 1.0 / (Period measurement)

    Positive Duty Cycle


    A diagram that shows a waveform that first falls below, then rises above a reference level. This repeats twice. The time difference between the first two crossings is marked by a line. The time difference between the second two crossings is marked by a dotted line.

    The Positive Duty Cycle measurement uses the following formula:

    Positive Duty Cycle = Positive Pulse Width Period x 100

    Negative Duty Cycle


    A diagram that shows a waveform that first rises above, then falls below a reference level. This repeats twice. The time difference between the first two crossings is marked by a line. The time difference between the second two crossings is marked by a dotted line.

    The Positive Duty Cycle measurement uses the following formula:

    Negative Duty Cycle = Negative Pulse Width Period x 100

    Positive Pulse Width


    A diagram that shows a waveform that first rises above, then falls below a reference level. The time difference between the two crossings is marked by a line.

    Positive Pulse Width is the time difference in seconds between the first two Mid Reference Level crossings. The first slope is positive and the second slope is negative. The High or Low Reference Levels are used to apply a hysteresis.

    Negative Pulse Width


    A diagram that shows a waveform that first falls below, then rises above a reference level. The time difference between the two crossings is marked by a line.

    Negative Pulse Width is the time difference in seconds between the first two Mid Reference Level crossings. The first slope is negative and the second slope is positive. The High or Low Reference Levels are used to apply a hysteresis.

    Rise Time

    Graph showing a linear increase over time with a high and a low reference level defined.

    A time span that begins when the first rising edge of the waveform crosses the Low Reference Level. The time span lasts until the same rising edge crosses the High Reference Level. The time span starts from the Low Reference Level crossing that immediately precedes the High Reference Level crossing.

    Fall Time

    Graph showing a linear decrease over time with a high and a low reference level defined.

    A time span that begins when the first falling edge of the waveform crosses the High Reference Level. The time span lasts until the same falling edge crosses the Low Reference Level.

    Rise Rate


    Diagram showing rise rate with delta V over delta T.

    The Rise Rate measurement uses the following formula:

    Rise Rate =   Rise Time High Reference Level   -   Low Reference Level

    Fall Rate


    Diagram showing fall rate with delta V over delta T.

    The Fall Rate measurement uses the following formula:

    Fall Rate = Fall Time High Reference Level   -   Low Reference Level

    Delta Time


    Diagram showing a waveform and the delta time measurement.

    A time span that begins when the first edge of the waveform crosses the Mid Reference Level. The time span lasts until the second edge of the waveform crosses the Mid Reference Level. The second edge does not have to be on the same channel as the first edge.

    Setup Time


    Diagram showing a clock channel and the setup time measurement.

    A time span that begins when the waveform crosses the Mid Reference Level. The time span lasts until the configured clock channel crosses the Mid Reference Level. The Setup Time measurement uses the crossing of the clock channel that is the closest to the middle of the graph.

    Hold Time


    Diagram showing a clock channel and the hold time measurement.

    A time span that begins when the configured clock channel crosses the Mid Reference Level. The time span lasts until the waveform crosses the Mid Reference Level. The Hold Time measurement uses the crossing of the clock channel that is the closest to the middle of the graph.

    Crosspoint Level


    Diagram showing two lines that intersect twice. There is a dashed horizontal line at the intersection that is closer to the middle of the graph.

    The level at which two waveforms intersect. The second waveform does not have to be on the same channel as the first waveform. The Crosspoint Level measurement uses the intersection that is the closest to the middle of the graph.

    Crosspoint Time

    Diagram showing two lines that intersect twice. There is a dashed vertical line at the intersection that is closer to the middle of the graph.

    The time at which two waveforms intersect. The second waveform does not have to be on the same channel as the first waveform. The crosspoint time measurement uses the intersection that is the closest to the middle of the graph.

    FFT Amplitude


    Graph showing FFT amplitude with peaks and troughs.

    Calculates a real FFT and returns the maximum amplitude. The search ignores the DC bin of the FFT. Peaks that are close to the DC bin, but not in the DC bin, are still detected.

    FFT Frequency


    Graph showing FFT frequency spectrum with peaks.

    Calculates a real FFT and returns the frequency that corresponds to the maximum amplitude. The search ignores the DC bin of the FFT. Peaks that are close to the DC bin, but not in the DC bin, are still detected.

    Customize Oscilloscope Measurements

    You can use Reference Levels and Gating to customize the measurements displayed in the measurement table.

    1. Click Add/Remove in the Measurements section of an oscilloscope panel.
    2. Click the Settings tab of the Measurements window to configure oscilloscope measurements.

    Gating

    Use gating options to select the region of captured data that is used to perform measurements. This region of data appears in the measurement table.

  • Screen—Performs measurements only on the data that is visible in the time domain graph of the large panel.
  • Record—Performs measurements on the full data record.
  • Custom—Performs measurements only on the data between set positions. You can configure custom gating positions with time values that are relative to the trigger of the data capture starting point.
  • Position 1—Sets the first position of the gated data relative to the trigger to calculate measurements.
  • Position 2—Sets the second position of the gated data relative to the trigger to calculate measurements.
  • Reference Levels

    You can customize the oscilloscope measurements that appear on the measurement table. Adjust the Reference Levels and the High-Low Method from the Settings tab of the Measurements window.

    High, Mid, and Low Reference Levels

    Reference levels are range values that divide a waveform into high, middle, and low sections by intersecting the waveform at a specified amplitude. You can use reference levels to do the following tasks:
    • Ascertain rise and fall times
    • Calculate waveform cycles
    • Customize certain oscilloscope measurement types

    In InstrumentStudio, you must set reference levels by absolute levels or by the percentage of the waveform that you want to acquire. The following oscilloscope measurement types are calculated using reference levels:

    Table 15. Oscilloscope Measurement Types Calculated with Reference Levels

    Reference Level Unit

    Use the Reference Level Unit settings to specify whether reference levels are interpreted as percentages of the waveform or as absolute levels.

  • Percentage—Interprets the reference levels as a percentage using the selected High-Low method.
  • Absolute—Interprets the reference levels as absolute levels, such as volts.
  • High-Low Method

    If you set the Reference Level Unit setting to Percentage, you can configure how the state levels are computed by selecting the High-Low method. The following configuration options are available:

  • Auto-select—Determines whether the histogram bins that correspond to the high and low state levels each have over 5% of the total hits. If so, the device returns those results. If not, the device uses the Peak High-Low method. The Auto-select High-Low method provides an answer for one of the following waves:
    • A square wave, by ignoring the overshoot and the undershoot
    • A triangle wave, where the Histogram High-Low method fails
  • Histogram—Computes state levels using the histogram bins with the maximum number of hits in the upper and lower regions of the waveform. The upper and lower regions of the waveform include the upper and lower 40% of the peak-to-peak range.
  • Peak—Searches the waveform for its maximum and minimum levels.
  • Oscilloscope Setup Actions

    You can configure the setup of an oscilloscope with the Auto setup or the Default setup option.

    To change setup mode, click the arrow next to the button that displays the currently selected setup mode.

  • Auto setup—Enables all channels and automatically configures device settings.
  • Default setup—Returns the device to the default configuration.
  • Settings Changed by Auto Setup

    Setting an oscilloscope to Auto setup changes the following settings to the following values:

    General Settings Value
    Acquisition Mode Normal
    Reference Clock Internal
    Note The Changed by Auto setup value means that Auto setup changes the corresponding setting to different values depending on the signal.
    Vertical Settings Value
    Vertical Coupling Unchanged by Auto setup
    Vertical Bandwidth Full
    Vertical Range Changed by Auto setup
    Vertical Offset 0 V
    Probe Attenuation Unchanged by Auto setup
    Input Impedance Unchanged by Auto setup
    Horizontal Settings Value
    Sample Rate Changed by Auto setup
    Min Record Length Changed by Auto setup
    Enforce Realtime True
    Number of Records 1
    Triggering Settings Value
    Trigger Type Edge if signal present, otherwise Immediate
    Trigger Channel Lowest numbered channel with a signal present
    Trigger Slope Positive
    Trigger Coupling DC
    Reference Position 50%
    Trigger Level 50% of signal on trigger channel
    Trigger Delay 0
    Trigger Holdoff 0
    Trigger Output None

    Set the Sample Rate and the Record Length Manually

    By default, InstrumentStudio optimizes the record length or the sample rate of an oscilloscope when taking measurements.

    Configure the Record Length

    You can configure the record length by setting Data Display to one of the following options:
  • Live—InstrumentStudio sets the maximum record length to 1 million samples.
  • On Demand—InstrumentStudio sets the maximum record length to 10 million samples.
  • Manual Override Mode

    To configure larger records, use Manual Override mode. Manual Override mode allows for the configuration of both the sample rate and the record length of an oscilloscope.

    Note NI recommends that you only enable Manual Override mode for test parameters that require specific sample rate and record length values. Otherwise, to get the best interactive experience with an oscilloscope, do not enable this setting.

    Complete the following steps to enable Manual Override mode:

    1. Click the An icon of three horizontal dots. icon for the instrument to open the Instrument Settings window.
    2. On the Acquisition tab, click the Manual Override mode toggle.
      The toggle is in the On position.
    3. Enter the desired values for Sample Rate and Record Length.
    Note If the sample rate or the record length is configured improperly, enabling Manual Override mode might lead to unexpected graph behavior. For example, if your device does not have enough onboard memory to accommodate measurement settings, your graphs might not render properly. You might also get an error message in InstrumentStudio. Other settings might also cause data to be unreadable or take longer than expected to appear. Take, for example, entering a Sample rate of 1 kS/s with a Record length of 3.5 MS. In this case, it takes around an hour for the measurement data to appear in your oscilloscope panel in InstrumentStudio.

    Acquisition Status

    You can determine the current state of an acquisition by looking at the acquisition status icon. The acquisition status icon is in the Horizontal & Acq. header of an oscilloscope panel.

    InstrumentStudio differentiates between the following acquisition statuses:
  • Triggered—The device met the trigger condition and performed an acquisition according to the specified trigger settings.
  • Auto—After a certain amount of time passes without a trigger firing, the device automatically triggers an acquisition. The Auto status displays briefly when automatic acquisition occurs.
    Note You must set the trigger mode to Auto to enable automatic triggering.
  • Waiting—The device is waiting to take an acquisition until the trigger condition is met.
  • Stopped—The instrument is not running.
  • Interpolation Methods

    You can set the interpolation method of an oscilloscope acquisition from the Instrument Settings window.

    Click the dropdown menu for the Interpolation method setting in the Acquisition tab of the Instrument Settings window.

    You can set interpolation to one of the following settings:

  • No interpolation—The oscilloscope does not interpolate data.
  • Auto—The oscilloscope interpolates data when the visible time for each division is too small for acquisitions that are performed at the maximum sample rate.
    Note When you set the sample rate of the oscilloscope to Manual, the oscilloscope treats the sample rate that you enter as the maximum sample rate. The Auto interpolation method considers headroom when determining whether to perform interpolation. If the headroom is low between the bandwidth and the sample rate of the oscilloscope, the oscilloscope does not interpolate the data.
  • On—The oscilloscope interpolates data as often as possible and does not take headroom into account. If you set the interpolation method to On, the oscilloscope interpolates data in all cases, except for the following:
    • The Random Interleaved Sampling (RIS) sampling method is set for the oscilloscope.
    • The acquisition uses the peak detect sample mode.
    • The waveform has enough data and does not need interpolation.
  • Sampling Methods

    Depending on the device, you can select different sampling methods from the Instrument Settings window.

    Click the dropdown menu for the Sampling method setting in the Acquisition tab of the Instrument Settings window. You can set sampling to one of the following methods:

  • Real time—Gathers all the samples for a waveform in one acquisition with one trigger event.
  • RIS—Random Interleaved Sampling (RIS) achieves a higher synthetic sample rate by combining several triggered waveforms.
  • Note Not all oscilloscopes support RIS. See the user manual of your device to determine whether it supports RIS.

    Sample Modes

    You can select different sample modes from the Instrument Settings window.

    Click the dropdown menu for the Sample mode setting in the Acquisition tab of the Instrument Settings window. You can set sample mode to one of the following settings:
  • Sample—The oscilloscope measures the signal at a fixed time interval (the sample rate).
  • Peak detect—The oscilloscope internally samples the signal at its maximum sample rate. Then the oscilloscope saves the maximum value and the minimum value of the input signal within the configured sample interval. Use Peak detect when you want to acquire measurements for a longer time but you still want to detect transients.
  • Averaging—The oscilloscope averages the waveform data of continuous acquisitions that are based on the averaging count. The oscilloscope performs an exponential moving average and shows the number of averages. The number of averages shows how many waveforms are read and averaged.
  • Add FFT Channels and Markers

    You can use FFT channels with an oscilloscope to measure the amplitude and the frequency of a sample. You can also fetch more detailed measurements and search for peaks with the help of markers.

    Create FFT Channels

    1. From a large oscilloscope panel, click the FFT button in the Add Channels section. A frequency graph appears.
    2. Select a Source for the FFT channel. You can select any single channel that already exists.
    3. Select a Window function for the FFT channel.
    4. (Optional) Configure additional settings for the FFT channel by clicking the An icon of three horizontal dots. icon next to the FFT channel. For more information, see Search for and Compute Peaks.

    Create Markers

    A marker fetches the amplitude (y-location) of a particular sample at the specified frequency (x-location) of a particular sample.

    Note You can only create markers after you create an FFT channel.

    Complete the following steps to create markers:

    1. Select the Markers dropdown menu in the Frequency Graph header.
    2. Select Markers: On to enable markers. The Markers table appears below the frequency graph.
    3. From the Markers table, select the marker that you want to configure. By default, only Marker 0 is enabled.
      Note You can enable markers by selecting a marker from the Markers table. Then, change the marker mode from Off to Normal. You can enable up to 12 markers.
    4. Select the FFT channel that you want to measure with the selected marker.
    5. Enter the frequency where you want to place the marker. The amplitude of the signal at the frequency of the marker is displayed in the Level section of the marker toolbar.
      Note You can view and edit the frequency of all enabled markers in the Markers table. The Markers table also displays the current level, mode, and source channel of the markers.

    Identify and Compute Peaks

    To use the peak search functions to locate peaks, you must first enable at least one FFT channel and one marker.

    The controls for the peak search functions (An icon of four graphs with different peaks that allow you to search for peaks.) are on the left side of the Frequency tab.

    Peaks are samples for which the amplitude rises and falls around a threshold. You can move a selected marker to the following locations:
    • The highest peak
    • The next highest peak
    • A peak that is directly adjacent to the marker (both left or right)

    Compute Peaks Using Peak Threshold and Peak Excursion

    You can configure peak threshold and peak excursion settings by selecting the A cogwheel icon for the instrument settings menu of InstrumentStudio. icon in the Frequency tab. The A cogwheel icon for the instrument settings menu of InstrumentStudio. icon is directly to the right of the peak search functions (An icon of four graphs with different peaks that allow you to search for peaks.).

    Peak threshold defines the minimum amplitude level that a sample must rise above to be considered a peak. You can set a peak threshold value without setting a peak excursion value. Without peak excursion, InstrumentStudio considers a peak eligible for every amplitude measurement that is above the peak threshold value.

    Peak excursion defines the minimum amplitude variation that is required in a signal to be considered a peak. Peak excursion is always specified in relation to a peak threshold value.

    When you define peak excursion, InstrumentStudio considers a peak eligible if the peak meets all of the following conditions:
    • The signal rises above the threshold level
    • The rise of the signal above the peak threshold matches or exceeds the peak excursion value
    • The fall of the signal from above the peak threshold matches or exceeds the peak excursion value
    • The signal falls below the threshold level
    The following figure and the following table show how to identify eligible peaks:

    A graph that explains how peak threshold and peak excursion values function.

    Table 16. Peak Eligibility Examples
    Peak Peak Eligibility Peak Characteristics
    Peak 1 A green checkmark. Peak 1 meets the excursion condition and is an eligible peak.
    • Rises above the peak threshold
    • The rise above the peak threshold matches or exceeds the peak excursion value
    • The fall from above the peak threshold matches or exceeds the peak excursion value
    • Falls below the threshold level
    Peak 2 A red crossed-out circle. Peak 2 does not meet the excursion condition and is not an eligible peak.
    • Rises above the peak threshold
    • A red crossed-out circle. Does not rise above the peak threshold by at least the peak excursion value
    Peak 3 A red crossed-out circle. Peak 3 does not meet the excursion condition and is not an eligible peak.
    • Rises above the peak threshold
    • The rise above the peak threshold matches or exceeds the peak excursion value
    • A red crossed-out circle. The fall from above the peak threshold does not exceed the peak excursion value
    • A red crossed-out circle. The signal rises above the amplitude level of Peak 3
    Peak 4 A green checkmark. Peak 4 meets the excursion condition and is an eligible peak.
    • Rises above the peak threshold
    • During the rise, Peak 4 slightly falls, which happens after Peak 3
    • However, the rise above the peak threshold matches or exceeds the peak excursion value
    • The fall from above the peak threshold matches or exceeds the peak excursion value
    • Falls below the threshold level
    Peak 5 A red crossed-out circle. Peak 5 is not detected as a peak. A red crossed-out circle. Does not rise above the threshold level
    Peak 6 A green checkmark. Peak 6 meets the excursion condition and is an eligible peak.
    • Rises above the peak threshold
    • The rise above the peak threshold matches or exceeds the peak excursion value
    • During the fall, the signal slightly rises, which appears as Peak 7
    • However, the signal does not rise above the amplitude level of Peak 6 before the signal falls again
    • The total fall, which starts at the amplitude level of Peak 6, exceeds the peak excursion value
    • Falls below the peak threshold
    Peak 7 A red crossed-out circle. Peak 7 does not meet the excursion condition and is not an eligible peak.
    • Falls below the peak threshold
    • The fall from above the peak threshold matches or exceeds the peak excursion value
    • A red crossed-out circle. The rise above the peak threshold does not match or exceed the peak excursion value

    FFT Averaging Modes

    You can perform averaged measurements on an FFT channel to improve measurement accuracy or to help compensate for a low signal-to-noise ratio.

    To configure FFT averaging modes, click the An icon of three horizontal dots. icon for the FFT channel, which opens the Software Channel Settings window.

    You can choose one of the following FFT averaging modes:
  • Disabled—Disables FFT averaging.
  • RMS—Root mean square. RMS averaging averages the energy (or power) of the signal. RMS reduces signal fluctuations, but not the noise floor.
  • Peak hold—Performs a peak hold averaging measurement at each individual frequency line. Peak hold retains the RMS peak levels of the averaged quantities from one FFT record to the next. Peak-hold averaging is the most useful in the following cases:
    • Configuring a measurement system
    • Applying limit testing to a frequency spectrum
    • Applying upper limit testing to a frequency spectrum
  • Measure Power Spectral Density

    Power spectral density measures the power content compared to the frequency of a signal. You can view the power spectral density of a signal when you analyze data in the frequency domain. Power spectral density helps you determine which frequency ranges have strong or weak variations in power.

    1. Add an oscilloscope to the large panel.
    2. Create an FFT channel by selecting the FFT button in the Add Channels section of the large panel.
      A frequency chart opens below the time chart of the large panel.
    3. Configure the FFT Axis settings in the following way:
      1. In the header of the frequency chart, select the Chart Options button.
      2. In the Y-axis section, set Units to V/√(Hz) or dBm/Hz.
      3. In the X-axis section, set Scaling to Logarithmic.
    4. Run the panel if it does not already run.
      InstrumentStudio plots the power spectral density data on the Frequency chart.
    For better frequency resolution, you can configure averaging through the FFT channel settings. You can also modify the resolution bandwidth through the axis settings in Chart Options.