<Icon> Element

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

When a user operator is created, the operator's symbol is placed on the Waveform Signal Processing dialog box. The optional <Icon> element allows you to display (overlay) a custom image on the button. This picture shows a custom icon.

  • <Icon>icons/EyeMeasBtn.png</Icon>

To create an icon, use a camera or drawing application and create a png, bmp, or jpg graphic. Although FlexDCA will scale the image, it is recommended that your graphic be 120 pixels wide by 80 pixels high (1.5 width to height ratio). The minimum size should be 60 pixels by 40 pixels. The 120 x 80 pixel high will ensure good quality icons for all display situations.

The default folder for icons is the same User Measurements folder where the XML file is placed. If you choose another folder, specify the path and name between the opening and closing elements. If, for example, you placed your graphic file (EyeMeasBtn.png) in a sub-folder called icons, the path-name specifier would be: <Icon>icons/EyeMeasBtn.png</Icon>. When entering the path you can use either the "/" or "\" character.

Parent Elements

Child Elements

None

Attributes

None

Example

  • <Function>
  • <Icon>EyeMeasBtn.png</Icon>
  • </Function>