Get Periodic Trigger Slip Data
This MotoHawk™ block allows the application to recover periodic trigger group slip data. The Global Periodic Trigger Slip and Execution Metric Definition block is one way to install trigger group slip.
Block ID
Get Periodic Trigger Slip Data
Library
motohawk_tasking_lib/Trigger Blocks
Description
This MotoHawk™ block allows the application to recover periodic trigger group slip data. To read data the Periodic Trigger Group slip detection must first be installed. The Global Periodic Trigger Slip and Execution Metric Definition block via the Install Slip Detection option provides one way to install such detection. Attempts to use this block without installing the detection will result in an error.
This figure illustrates some of the runtime attributes that can be recovered by this block. Other attributes relate to configuration settings that are defined in definition blocks like the Global Periodic Trigger Slip and Execution Metric Definition block.
Block Parameters
Defn
Parameter Field | Values | Comments/Description |
---|---|---|
Reference Task | Single quote enclosed alpha-numeric | The name of the Task that the periodic trigger group executes within. A 5ms periodic trigger group that executes in (say) the FGNDTask is not the same periodic trigger group as a 5ms trigger that executes in (say) the BGNDTask. They have different execution priorities that require them to be grouped separately so far as slip detection is concerned and therefore the attributes associated with the group will be different. |
Method of periodic execution specification | Dropdown | Specifies the method that the block will use to identify the periodic trigger group. This allows both TIME_PERIODIC and RTIx_PERIODIC triggers to be easily identified. Legacy periodic triggers will also be identified. |
Trigger's Period of Execution | Numeric | Specify the trigger group of interest. Data format is based upon the Method of periodic execution specification |
Data Selection |
Dropdown Max Observed Elapsed Time Allowed Elapsed Time Slip Event Count Slip Threshold Is Late Discarded Executions |
Max Observed Elapsed Time recovers the maximum observed Elapsed Time of the selected periodic trigger group.
This Figure illustrates Allowed Elapsed Time is the Slip Tolerance multiplied by the Trigger Group's periodic execution. Thus a 5ms periodic trigger with a Slip Tolerance of 100% would return a value of 5000. Slip Event Count is the current value of slip that counts up when slip events are observed and down otherwise. Trigger group slip is flagged via Is Late when this count exceeds the Slip Threshold Slip Threshold used with this periodic trigger group. Is Late indicates whether the selected periodic trigger group is currently considered to be in slip. Discarded Executions represents the number of periodic trigger group execution requests that have been discarded because of on going slip. |