MPIRecorderTriggerCondtion
Definition
typedef enum MPIRecorderTriggerCondition { MPIRecorderTriggerConditionINVALID = -1, MPIRecorderTriggerConditionEQ, MPIRecorderTriggerConditionGREATER_THAN_OR_EQ, MPIRecorderTriggerConditionLESS_THAN_OR_EQ, MPIRecorderTriggerConditionNOT_EQ, MPIRecorderTriggerConditionCHANGE, MPIRecorderTriggerConditionLAST, MPIRecorderTriggerConditionFIRST = MPIRecorderTriggerConditionINVALID + 1, MPIRecorderTriggerConditionMATCH = MPIRecorderTriggerConditionEQ, MPIRecorderTriggerConditionREPEAT = (int)0x80000000 } MPIRecorderTriggerCondition;
Change History: Modified in the 03.03.00
Description
MPIRecorderTriggerCondtion is an enumeration of a data recorder's trigger conditions. The mask and pattern fields referred to are from the MPIRecorderTriggerUser structure. All trigger conditions (except MPIRecorderTriggerConditionCHANGE) 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 MPIRecorderTriggerConditionREPEAT with any of the other RecorderTriggerConditions. MPIRecorderTriggerConditionCHANGE 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.
MPIRecorderTriggerTriggerConditionNONE | Disables the trigger. |
---|---|
MPIRecorderTriggerTriggerConditionEQ | Triggers when the value at the specified address ANDed with the mask is equal to the pattern. |
MPIRecorderTriggerTriggerConditionGREATER_THAN_OR_EQ | Triggers when the value at the specified address ANDed with the mask is greater than or equal to the pattern. |
MPIRecorderTriggerTriggerConditionLESS_THAN_OR_EQ | Triggers when the value at the specified address ANDed with the mask is less than or equal to the pattern. |
MPIRecorderTriggerTriggerConditionNOT_EQ | Triggers when the value at the specified address ANDed with the mask is not equal to the pattern. |
MPIRecorderTriggerTriggerCHANGE | 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. |
MPIRecorderTriggerTriggerMATCH | Triggers when the value at the specified address ANDed with the mask is equal to the specified pattern. |
MPIRecorderTriggerTriggerREPEAT | Causes the trigger to remain active after it has triggered (not a single shot). |