<Integer> Element

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

The <Integer> element adds a User-Defined Control to the User Operator Setup dialog. Although the control represents an integer number, the number is converted to a float before it is sent to the script. In order for your script to access this setting, the "Name" attribute in the parent <Control> element must be the name of a script variable. Use the <Min> and <Max> child elements to set limits to the setting. The <Units> child element specifies the units of measurement to show in the control. Although the units are not available or sent to the script, the units serve a reminder of the type of data represented by the control. The <Default> element selects a starting value to populate the setting.

  • <Control Name = "N">
  • <Integer>
  • <Default>2</Default>
  • <Max>8</Max>
  • <Min>1</Min>
  • <Units>ratio</Units>
  • </Integer>
  • </Control>

Parent Elements

Child Elements

Attributes

None

Example

  • <Function>
  • <Control Name = "N">
  • <Integer>
  • <Min>1</Min>
  • <Max>8</Max>
  • <Units>ratio</Units>
  • <Default>2</Default>
  • </Integer>
  • </Function>