.

MEIRecorderTriggerUser

Definition

 
typedef struct	MEIRecorderTriggerUser {
    MEIRecorderTriggerCondition    condition;
    long                           *addr;
    unsigned long                  mask;
    unsigned long                  pattern;
    unsigned long                  count;
} MEIRecorderTriggerUser;

Description

MEIRecorderTriggerUser specifies the configurations for a user specified data recorder trigger.

 
condition

The logic that determines how to evaluate the addr, mask, and pattern. See the MEIRecorderTriggerCondition enumeration.

*addr

A pointer to a controller address.

mask

A bit mask ANDed with the value at the controller address.

pattern

A bit pattern compared to the masked value at the controller address.

count

The number of records to collect when the recorder is triggered. This is valid for both start and stop triggers. The valid range is 0 to the recorder buffer size configured by mpiControlConfigSet(...).

When used for the start trigger, the valid values range from -1 (continuous recording) to the maximum number of records available in the data recorder buffer.

When used for the stop trigger, count records will be collected after the trigger has triggered.

See Also

MEIRecorderTrigger | mpiRecorderConfigGet | mpiRecorderConfigSet

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering