# <Control> Element

This element creates different types of user-defined controls in the User Operator Setup dialog box. With these controls, you can enter integers, doubles, enumerators, or strings that are passed to the script. Up to four controls can be defined in an XML file. Each control can be of any of the four types. The <Control> element is optional.

Do not use spaces or hyphens when naming your user-defined controls.

<Control Name = "FilterType"> <Enumeration> <Default>lowpass</Default> <Selection>highpass</Selection> <Selection>low</Selection> <Selection>bandpass</Selection> </Enumeration> </Control> |

- XML file elements

## Parent Elements

- <Function>

## Child Elements

- <Integer>
- <Double>
- <Enumeration>
- <String>
- <File>

## Attributes

Name
  A string that declares the name of a user-defined control. The name is displayed in the User Measurement dialog box.

## Example

- <Function>
- …
- <Control name="N">
- <Integer>
- …
- </Integer>
- </Control>
- <Control name="Fc">
- <Double>
- …
- </Double>
- </Control>
- <Control name="FType">
- <Enumeration>
- …
- </Enumeration>
- </Control>
- <Control name="String">
- <String>
- …
- </String>
- </Control>
- <Control name="File">
- <File>
- </File>
- </Control>
- </Function>