|On this page…|
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.
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.
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.
There are two sets of properties associated with measurements:
Measurement pane properties — Properties associated with the pane label
Measurement properties — Properties associated with the measurements that are listed in the pane
For descriptions of all measurement properties, click the Help button of the Scope Properties pane or the Measurement Properties pane.
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.
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
The Measurement Properties pane is shown below.