User-Defined Scalar Measurements

Meas. mode:
Scope
Eye
TDR
Package License:
L-RND
L-SNT

User-defined measurements are custom scalar measurements that you create using Python, MATLAB, or Compiled MATLAB. Like FlexDCA's standard measurements, user measurements perform a scalar measurement on an input waveform. Your measurement's result is displayed in the measurement Results table just like FlexDCA's standard measurements.

In FlexDCA's Oscilloscope, Eye, and TDR modes, click the User toolbar to create up to eight user-defined measurements. You cannot create user-defined measurements in Jitter mode.

User measurements can run start FlexDCA (dependent) measurements whose measurement results are passed into your script. FlexDCA also passes the results any of FlexDCA's standard measurement that are running into your script.

Here are the basic steps required to create a user measurement:

  1. Write a MATLAB or Python script that performs your measurement.
  2. Write an XML file that describes the measurement and identifies your script.
  3. Import the XML file into the User Measurement Setup dialog.
  4. Click on the User Meas button to run your measurement.

It is possible to open the script file directly in the User Measurement Setup dialog without using an XML configuration file. However, without a configuration file you will not be able to label your measurement, initialize unique script variables, or specify dependent FlexDCA measurements.

Can I remotely control user measurements?

Yes you can! Refer to the following commands in FlexDCA Programmer's Help:

  • In Scope mode: :MEASure:OSCilloscope:USER
  • In Eye mode: :MEASure:EYE:USER
  • In TDR mode: :MEASure:TDR:USER