evaluate

Purpose:

Evaluate user-defined expressions based on specification files.

Enter:

evaluate <reg_name> <spec_file> [priority] [+c] &

Where:

reg_name

Specify the registered name for the service.

spec_file

Specify the specification file path.

priority

Optional. Specify the task priority.

+c

Optional. Specify this flag to indicate a critical task.

Example:

evaluate Eval_crt /specs/eval.123 18 1000 +c &

Notes:

This process runs in the background and is typically invoked from a startup script. If specified as critical, it may trigger shutdowns on failure.
Multiple instances of “evaluate” may be started to handle multiple spec files.  Normally, there is a 1-to-1 pairing of an instance of “evaluate” with a spec file.  
The pairing is accomplished through the “registered name”.  The “registered name” is a spawning argument for “evaluate” and is placed in the corresponding 
spec file following the macro “@REG_NAME”.  
The spec file has the format:
# event_name   expression_file  
tmr-100        /specs/my_expr.100  
tmr-1000     /specs/my_expr.1000

See Also: