KMS-310/400 Supervisor's Manual
6-85
PATREC_SAVE
FUNCTION
PATREC_SAVE - save a pattern matching model in a file
PATREC_SAVE: “filename”
Filename
file to store the pattern matching model
USE
Saves a pattern matching model in one of three formats: MIL,
BMP, or TIF. The pattern to be saved is defined by the left
measure window’s location and size on the screen. The width of
the measure window must be at least 24 pixels but no more than
256 pixels. The height of the measure window must be at least 24
pixels and no more than 240 pixels. The format is automatically
determined by the extension of the filename. The MIL format is a
Matrix format and the file extension must be “.MMO”. The BMP
format is the bit map format and the file extension must be
“.BMP”. For the TIF format the file extension must be “.TIF”.
These three formats are the only ones supported at this time.
OPTIONS
EXAMPLE SCRIPT
MATH: V01=1
//sequence #1
RECALL: V01
PATREC_SAVE: “MYMOD.TIF”
//Save in TIF format
:::
:::
EXIT:
RELATED SCRIPTS
PATREC_FIND, PATREC_GET, PATREC_SHOW
PATREC_SHOW
FUNCTION
Display a pattern matching model
PATREC_SHOW: “filename”
Filename
name of the file that holds the pattern
matching model
USE
Display in the center of the screen the pattern matching model.
The center of the model should coincide with the center of the
screen. Three file formats are supported at this time: MIL, BMP,
and TIF. Files with the extension “.MMO” are defined to have
models in the Matrox MIL format. Files with the extension
“.BMP” are defined to have models in the BMP format. Files
with the extension “.TIF” are defined to have models in the TIF
format. Files with any other extension are not valid at this time.
OPTIONS
EXAMPLE SCRIPT
MATH: V01=1
//sequence #1
RECALL: V01
PATREC_SHOW: V1200
:::
:::
EXIT:
RELATED SCRIPTS
PATREC_FIND, PATREC_GET, PATREC_SAVE
Summary of Contents for KMS-310
Page 10: ...Contents viii...
Page 33: ...System Overview Product Overview Subsystem Overview Functional Overview 3...
Page 51: ...User Interface Overview Software Controls Software Organization 4...
Page 119: ...Creating Automated Scripts Overview Script Creation Script Locator Script Commands 6...
Page 266: ...7 48 Chapter 7 Operation...
Page 292: ...8 26 Chapter 8 Maintenance...
Page 293: ...Error Messages System Error Messages Script Error Messages 9...
Page 297: ...Glossary...
Page 304: ...I 4 Index...