MEIRecorderTriggerCondtion
Definition
|
typedef enum MEIRecorderTriggerCondition {
MEIRecorderTriggerConditionNONE,
MEIRecorderTriggerConditionEQ, MEIRecorderTriggerConditionGREATER_THAN_OR_EQ, MEIRecorderTriggerConditionLESS_THAN_OR_EQ, MEIRecorderTriggerConditionNOT_EQ, MEIRecorderTriggerConditionCHANGE, MEIRecorderTriggerConditionMATCH = MEIRecorderTriggerConditionEQ,
MEIRecorderTriggerConditionREPEAT = 0x80000000
} MEIRecorderTriggerCondition;
|
|
Change History: Modified in the 03.03.00 |
Description
MEIRecorderTriggerCondtion is an enumeration of a data recorder's trigger conditions.
The mask and pattern fields referred to are from the MEIRecorderTriggerUser structure.
All trigger conditions (except MEIRecorderTriggerConditionCHANGE) are "single shot." This means that they will only trigger one time and will not continue to trigger even if the conditions are met.
RecorderTriggers can be made to repeat by ORing in MEIRecorderTriggerConditionREPEAT with any of the other RecorderTriggerConditions.
MEIRecorderTriggerConditionCHANGE is not a single shot. When it triggers, it will set the pattern value equal to the value at the specified address and rearm.
NOTE: There are 2 Recorder triggers. Trigger 0 will start the recorder, and Trigger 1 will stop the recorder. Only one of the triggers will be evaluated at a time. The trigger that is evaluated depends on the state of the Recorder. If the Recorder is not active, then Trigger 0 (Start) will be evaluated. If the Recorder is active, then Trigger 1 (Stop) will be evaluated.
|
MEIRecorderTriggerTriggerConditionNONE |
Disables the trigger.
|
MEIRecorderTriggerTriggerConditionEQ |
Triggers when the value at the specified address ANDed with the mask is equal to the pattern.
|
MEIRecorderTriggerTriggerConditionGREATER_THAN_OR_EQ |
Triggers when the value at the specified address ANDed with the mask is greater than or equal to the pattern.
|
MEIRecorderTriggerTriggerConditionLESS_THAN_OR_EQ |
Triggers when the value at the specified address ANDed with the mask is less than or equal to the pattern.
|
MEIRecorderTriggerTriggerConditionNOT_EQ |
Triggers when the value at the specified address ANDed with the mask is not equal to the pattern.
|
MEIRecorderTriggerTriggerCHANGE |
Triggers when the value at the specified address ANDed with the mask changes. The pattern field is only used to set the initial bit pattern used to determine if a change occurs. |
MEIRecorderTriggerTriggerMATCH |
Triggers when the value at the specified address ANDed with the mask is equal to the specified pattern. |
MEIRecorderTriggerTriggerREPEAT |
Causes the trigger to remain active after it has triggered (not a single shot). |
|
See Also
MEIRecorderTriggerUser | mpiRecorderConfigGet | mpiRecorderConfigSet
|