MATLAB Measurements Examples
Meas. mode:
Scope
Eye
TDR
Package License:
L-RND
L-SNT
This topic presents the following three lessons for learning how to create MATLAB user-defined measurements:
- Example 1. Creating a "Hello World" User Measurement Script
- Example 2. Creating a Pre-Emphasis User Measurement Script
- Example 3. Creating a Pre-Emphasis User Application Script
Accessing FlexDCA Dependent Measurements Within a MATLAB Script
The following fields shows the data available for each measurement in the structure.
Measurement Data |
Method Used to Access Data |
---|---|
Name | MeasData(int).Name |
Result | MeasData(int).Result |
Status | MeasData(int).Status |
Units | MeasData(int).Units |
Source1 | MeasData(int).Source1 |
Source2 | MeasData(int).Source2 |
MeasData takes an integer argument that selects the measurement. It indexes the measurement based on 1. For example, if the following eye measurements are listed in the XML file:
- <Dependent Name = "Rise Time" />
- <Dependent Name = "Fall Time" />
- <Dependent Name = "One Level" />
The result of Rise Time, the first measurement, is accessed within the MATLAB script by:
MeasData(1).Result
the result of Fall Time, the second measurement, is accessed by:
MeasData(2).Result
and, the result of One Level, the third measurement, is accessed by:
MeasData(3).Result