<Control> Element

Instrument
DCA-X
N109x
UXR Scope
Flex Apps:
FlexDCA
FlexRT

This element creates different types of user-defined controls in the User Operator Setup dialog. 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>

Parent Elements

Child Elements

Attributes

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

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>