Api.GetTrigger method

Gets the details of a trigger.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<McTriggerSource> GetTrigger(
       int Index
)
Public 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 Type: KsError and an McTriggerSource value.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace