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

User-Defined Eye Measurement Commands

- :MEASure:EYE:USER:USER{N}
- :MEASure:EYE:USER:USER{N}:ABBReviation?
- :MEASure:EYE:USER:USER{N}:CFILe
- :MEASure:EYE:USER:USER{N}:CFILe:CLEar
- :MEASure:EYE:USER:USER{N}:CFILe:RELoad
- :MEASure:EYE:USER:USER{N}:CFLoaded?
- :MEASure:EYE:USER:USER{N}:COMMents?
- :MEASure:EYE:USER:USER{N}:FAVorite
- :MEASure:EYE:USER:USER{N}:LOCation?
- :MEASure:EYE:USER:USER{N}:LSTatus?
- :MEASure:EYE:USER:USER{N}:LSTatus:REASon?
- :MEASure:EYE:USER:USER{N}:NAME?
- :MEASure:EYE:USER:USER{N}:SOURce{1:2}
- :MEASure:EYE:USER:USER{N}:STATus?
- :MEASure:EYE:USER:USER{N}:STATus:DETails?
- :MEASure:EYE:USER:USER{N}:STATus:REASon?

## 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.