:MEASure:EYE:USER:USER{N}:CFILe

Command Syntax

:MEASure:EYE:USER:USER{1:8}:CFILe <filename>

<filename> is the configuration file (*.xml, *.m, *.py).

Description

Specifies the configuration file that is used to create a user measurement. The file is an XML file that describes the measurement and points to a MATLAB (*.m) or Python (*.py) script file. Refer to Creating the XML File for information on creating a user measurement XML file. A MATLAB or Python script can directly be used to define the measurement, but this method lacks the power of measurement variables as described in User Defined Measurements. When an XML file is not used or the measurement's name is not defined in the XML file, the file name is used to name the measurement on the measurement button and in the displayed Measurement results table.

Use the :MEASure:EYE:USER:USER{N} parent command to turn on the measurement and return the measured value.

To remove a user measurement, use the :MEASure:EYE:USER:USER{N}:CFILe:CLEar command.

To create a user measurement, use the :MEASure:USER:USER{N}:CFILe command.

Executable files (*.M, *.PY, or *.EXE) and configuration files (*.XML) cannot reside on network share drives and must reside on the local hard drive of the computer hosting the Infiniium application. For more information, see Network Share Drives are Not Supported.