ToolRecord:
TYPE =
RECORD [
outer: ViewerClasses.Viewer, -- top level viewer
atScanViewer: ViewerClasses.Viewer, -- displays current stage position
fileNameViewer: ViewerClasses.Viewer, -- receives file name
wDirViewer: ViewerClasses.Viewer, -- working directory
scanStartViewer: ViewerClasses.Viewer, -- receives first scan location
scansViewer: ViewerClasses.Viewer, -- receives number of scans
pixelStartViewer: ViewerClasses.Viewer, -- receives leftmost pixel location
pixelsViewer:ViewerClasses.Viewer, -- receives number of pixels
pieBW: ViewerClasses.Viewer, -- displays black and white scan progress
iTimeViewer: ViewerClasses.Viewer, -- holds the value for i time
AISViewer: ViewerClasses.Viewer, -- displays image
logViewer: ViewerClasses.Viewer, -- IO stream to report errors etc
out: STREAM, -- associated with logViewer
abortButton: ViewerClasses.Viewer, -- used to abort scans
colorButton: ViewerClasses.Viewer, -- button for the filter color.
color: EikonixProtocol.Color ← Clear, -- Color the button is now.
params: Parameters,
fullFilename: ROPE, -- full filename, (derived from command sometimes)
abort: BOOLEAN ← FALSE,
hasExtensionAIS: BOOLEAN ← FALSE,
fileOK: BOOLEAN ← FALSE,
scannerCalFile: ROPE ← NIL, -- calibration data filename,
searchRules: LIST OF REF ANY ← NIL, -- Search rules for cal files.
doMinMaxPreScan: BOOL ← FALSE, -- Forces a min/max scan before actual scan
busy: BOOL ← FALSE, -- Forces buttons to be ignored.
height: INT ← 0,
dc, gain: Eikonix.NBuffer ← NIL, -- The current buffers for dc and gain
iTime: Eikonix.IntegrationTime ← 0, -- The value of the itime viewer
colorDC: ARRAY Color OF Eikonix.NBuffer ← ALL[NIL], -- The dark for the color
colorGain: ARRAY Color OF Eikonix.NBuffer ← ALL[NIL], -- The gain for the color
colorITime: ARRAY Color OF Eikonix.IntegrationTime ← [2100, 3200, 6200, 12500]
];