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:

Accessing FlexDCA Dependent Measurements Within a MATLAB Script

The following fields shows the data available for each measurement in the structure.

Accessing Dependent Measurement Data within MATLAB
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