# :FUNCtion:PARameters:BUSer:CONTrol:ENUM

User Op (2 inputs) Parameters Commands

- :FUNCtion:PARameters:BUSer:ABBReviation?
- :FUNCtion:PARameters:BUSer:CFILe
- :FUNCtion:PARameters:BUSer:CFILe:RELoad
- :FUNCtion:PARameters:BUSer:CFLoaded?
- :FUNCtion:PARameters:BUSer:COMMents?
- :FUNCtion:PARameters:BUSer:CONTrol:DOUBle
- :FUNCtion:PARameters:BUSer:CONTrol:ENUM
- :FUNCtion:PARameters:BUSer:CONTrol:FILE
- :FUNCtion:PARameters:BUSer:CONTrol:INTeger
- :FUNCtion:PARameters:BUSer:CONTrol:STRing
- :FUNCtion:PARameters:BUSer:LSTatus?
- :FUNCtion:PARameters:BUSer:LSTatus:REASon?
- :FUNCtion:PARameters:BUSer:NAME?

## Command Syntax

    :FUNCtionN:PARameters:BUSer:CONTrol{1:4}:ENUM SELection{1:10}

Where N identifies one of up to 64 possible operators {1:64} that can be defined as part of a math function. The operators are numbered in the order that they were originally added to the function.

## Query Syntax

    :FUNCtionN:PARameters:BUSer:CONTrol{1:4}:ENUM?

## Description

Sets the value of a function's user-defined control which has been configured as a drop-down list (enumeration). User-defined controls are shown in the function's User Operator Setup dialog box. The controls are numbered 1 through 4 starting with the top control shown in the dialog box. For example, the following figure shows how four controls are numbered:

- "N", an integer, is control 1.
- "Fc", a double, is control 2.
- "Test String", a string, is control 3.
- "Selections", a drop-down list (enumeration), is control 4.

Since control 4 is defined as an enumeration, you could set its value to SELection2 using the following command. Because the second selection listed in the XML configuration file is listed as "Medium", you would see "Medium" in the dialog box. A maximum of 10 selections can be defined in the file use the <Selection> XML element.

    :FUNCtion1:PARameters:BUSer:CONTrol4:STRing SELection2

In this case, the sibling commands `DOUBle,` `FILE`, `INTeger`, and `STRing` do not affect this user-defined control as the control has been defined as an string in the XML configuration file. This user-defined control is defined by the XML file's <Enumeration> element. The query form of the command returns current value of the user-defined control.

Use the `:FUNCtion:PARameters:BUSer:CFILe` command to load the XML configuration file for the function.