McTriggerSource
A trigger's attributes.
| Name | Type | Meaning |
|---|---|---|
| SourceType | McTriggerSourceType | The source type the trigger uses. |
| Type | McTriggerType | The trigger condition. |
| Value | double | The value the trigger uses to determine whether a condition is met. |
| SourceHandle | HANDLE | For motion sources, it is the handle of a command used. |
| SourceIndex | int | It is the index of an axis, I/O module, or user variable. |
| SourceBitOffset | int | For input and output sources, it is the offset of the data to read. |
| DataType | KsLogDataType | For I/O and user variables sources, it is the type of the data to read. |
| Variable | McTriggerVariableType | For axis and motion sources, it is the variable to read. |