asam3_ctrl

Purpose:

PID control through an ECM Variable

Enter:

asam3_ctrl <name> <priority> <interval> [+c]

Where:

name

Specify the registered name of the asam3cli instance for this controller, such as asam3_1, etc.

priority

Specify the task priority.

interval

Specify the process interval assigned to this task. Specify a FAS, MED, or SLO interval. The interval value is in milliseconds.

+c

Optional. Specify this flag to treat the task as critical by the watchdog.

Example:

asam3_ctrl asam3_1  12 1000 +c &
The above command spawns ‘asam3_ctrl’ in the background at a priority of 12. The transfer of CyFlex variables is performed once every second. The task is also assigned to be a critical task. As a result, if the task ever stops responding to the watchdog, any test that is running will be aborted. The task will communicate with the “asam3_1” instance of asam3cli. The application must be configured with a spec file. Configuration is performed by the “as_specs” program.

Notes:

This task is normally started in the go script that starts CyFlex. 

See Also:

as_specsASAM3 Interface Setup