IApi.GetTrigger method
Gets the details of a trigger.
Namespace: IntervalZero.KINGSTAR.Base.ApiAssembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsReturn<McTriggerSource> GetTrigger(
int Index
)
Function GetTrigger(
Index As Integer
) As KsReturn(Of McTriggerSource)
Parameters
Index
Type: int
A trigger index. Indexes are zero based. You can have up to 16 triggers. For example, index 0 uses triggerTime
, index 1 uses triggerIoOutput
, and index 2 uses triggerMotion
.
Return value
Type: KsReturn<McTriggerSource>
Returns a KsError code and an McTriggerSource value.
Usable EtherCAT states
ecatOP
Examples
N/A
See also