min_max
Purpose:
-
Perform an operation, such as finding the minimum or maximum or label that holds the minimum or maximum value and updating a requested CyFlex variable with the value or CyFlex label.
It will normally be spawned by the min_max_specs spec file translator task butĀ can also be manually started.
It does not become active until configuration is successfully completed.
Enter:
-
min_max <priority> <reg_name>
Where:
-
priority
Specify the desired run priority.
reg_name
Specify the registered name of this instance of min_max that matches the registered name from a min_max spec file.
Example:
-
min_max 17 Get_Max &
Launch min_max at a priority of 17 with a registered name of Get_Max. min_max will wait on the task specific configuration event that gets
sent by the spec file translator program that translates a spec file that has a @REG_NAME line that matches the registered name of the
min_max instance.
Notes:
-
The event used to signal min_max to do the operation comes from the spec file translator program, min_max_specs, as set in the spec file
that matches the registered name of the min_max instance.Refer to /cyflex/specs.def/min_max.def for example configurations for a min_max specification file.