Indicating Questionable and Manual Data

The question mark and exclamation mark graphics, used to indicate questionable and manual data in a drawing method are created by the module IconMarker.

This module places a set of icons on the screen centered over a given rectangular region. The icon displayed is cycled with each passage of the period, measured in seconds    

Format:                      IconMarker(Left, Bottom, Right, Top, Period, Mode, SizeX, SizeY, IconArray)

Parameters:             Left, Bottom, Right and Top  are the bounds of the graphic to mark.  The symbol will appear in the center of this area.   

                             Period  indicates the period (in seconds) at which the symbol is changed

                             Mode  Indicates the symbol to display according to the following table:

Mode

Symbol

0

Inhibit symbol display

1

Questionable Data symbol

2

Manual Data symbol

3

Questionable and Manual symbols

4

Error symbol

5+

User supplied symbols

                             SizeX  The horizontal extent of the symbols to be displayed

                             SizeY   The vertical extent of the symbols to be displayed.

                             IconArray  The array of images to be displayed. This MUST be a  variable - use of "Invalid" keyword or a constant here will cause the module to fail. The value of this variable is discarded for mode values less than 5.

 

The IconMarker function may not appear in a script.

Example:

To load a bitmap into IconArray, you might use code similar to the following.  The bitmap image should be 12 x 12 pixels.

CIcon   = 0;

IconArray[CIcon] = PickValid(MakeBitmap(“BitmapName.bmp”, 1),  \IMStandardArrays[3][0]); { Color 1 is set as transparent }