Making Measurements

Predefined Measurement

You can make measurements on the acquired data with the Measurements pane. The Oscilloscope provides many predefined measurement types such as horizontal and vertical cursors, and basic math calculations such as the mean and standard deviation. Additionally, you can define new measurement types that suit your specific needs.

As shown below, you can list the predefined measurement types and create a new measurement type with the Measurement Type pane of the Measurement Editor GUI.

Defining a Measurement

Measurements that you define for the Oscilloscope are displayed in the Measurements pane. By default, this pane is not included as part of the Oscilloscope. To create the pane, you define one or more initial measurements. There are two ways to do this:

  • Right-click in the Channel Scaling pane and select Add Measurement from the menu.

  • Use the Measurement Editor GUI, which you open by selecting the Edit > Measurement menu item.

Alternatively, you can create an empty Measurements pane by selecting the Measurement check box in the Scope pane of the Scope Editor.

The Measurement pane shown below is configured to add a vertical cursor measurement for CH0 to the Oscilloscope. Note that the peak-to-peak measurement is already defined for CH0.

After you click the OK or Apply button of the Measurement Editor, the Measurements pane is automatically added to the Oscilloscope. You can then click the Add Measurement button to define additional measurements.

Defining a New Measurement Type

You define a new measurement type by defining a MATLAB® function that takes an array of data as input and returns a scalar value. You can define a new measurement type these two ways:

  • If the Measurements pane is displayed, select New from the Type menu.

  • Use the Measurement Type pane of the Measurement Editor.

As shown below, a new measurement type that calculates the median is defined via the Measurements pane. The resulting measurement is the median value of the CH0 data.

Configuring Measurement Properties

There are two sets of properties associated with measurements:

For descriptions of all measurement properties, click the Help button of the Scope Properties pane or the Measurement Properties pane.

Measurement Panel Properties

You can change the characteristics of the pane label with the Scope Editor GUI. To open this GUI, select Scope from the Edit menu, choose the Scope Properties pane, and select Measurements from the Select the scope components list box. The Scope Properties pane is shown below.

Measurement Properties

You can configure measurement properties with the Measurement Properties editor. You can open this editor two ways:

  • Right-click menu — Place the mouse cursor in the Measurements pane of interest, right-click, and select Edit Properties from the menu.

  • Measurement Editor GUI — Select Measurement from the Edit menu, and then choose the Measurement Properties pane.

For this example, use the Measurement Editor GUI to change the number of measurements stored for CH1 to be identical to the number of samples acquired for each trigger. The steps are

  1. Select CH0 - Pk2Pk in the Select the measurements list box.

  2. Edit the BufferSize property to be 1000.

The Measurement Properties pane is shown below.

Was this topic helpful?