User / Custom Operators

Instrument:
N1000A
N109x
UXR Scope
Flex Apps:
FlexDCA
FlexRT
Meas. mode:
Scope
Eye
Jitter
TDR
Package License:
L-RND

Custom Chord Operators

The following Chord Signaling operators are available for use with newer encoding formats. An operator's output is automatically assigned to an output function. The function's waveform is not displayed unless you drag a function color icon onto the function's output. After placing chord operator, click on it to setup any available settings.

User-Defined Waveform Operators

User-defined operators are custom operators that are based on Python 2.7, Python 3, or MATLAB scripts. Like FlexDCA's standard operators, user operators that modify an input waveform and display an output waveform. Two versions of the user operator are available: a single and a dual input waveform versions.

User-defined operators are not available in Jitter Mode.

Python 3 and Python 2.7 are supported for user operators. Python 2 support will be removed in a future FlexDCA release. At that time any Python 2 code will need to be ported to Python 3.

All of the example scripts are written in Python 3.

Python 3 support was added with FlexDCA revision A.07.80.

To create a user-defined operator

  1. Write a Python, MATLAB, or Compiled MATLAB script that creates your operator.
  2. Write an XML configuration file that:
    • Describes the operator,
    • Points to your script, and
    • Creates different input variables to be displayed on the User Operator Setup dialog.
  3. Import the XML file into the User Operator Setup dialog.
  4. Use the Waveform Signal Processing dialog to select and assign a waveform to your operator.

User operators can do much more than simply run the your script. You can setup the operator to customize your script at runtime. For example, you can initialize variables within your script and create up to four user-defined controls on the dialog. Values that you enter or select in user-defined controls are passed to your script. The following types of user-defined controls can be created with the picture showing integer, double, string, and drop-down list controls.

Click the Display Setup tab to control the output waveform's display properties such as scaling, color, and custom waveform name.

  • Available controls:
    • Integer value
    • Double value
    • Drop-down list of selections
    • String
    • File name

It is possible to open the script file directly in the User Operator Setup dialog without using an XML configuration file. However, without a configuration file you will not be able to specify variable values or setup user-defined controls.

User Operators and User Defined Measurements are provided with the L-RND and L-SNT package licenses (Feature F-UDMO).