IApi.GetCommandStatus method

Gets the state of a command.

Namespace: IntervalZero.KINGSTAR.Base.Api

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

Syntax

C#VB
KsCommandStatus GetCommandStatus(
       KsCommandStatus Status
)
Function GetCommandStatus(
       Status As KsCommandStatus
) As KsCommandStatus

Parameters

Status

Type: KsCommandStatus

The command you want to get its state. It can be filled with a command whose return type is KsCommandStatus class.

Return value

Type: KsCommandStatus

Returns the KsCommandStatus class.

Remarks

The value given as Status to GetCommandStatus should not be empty, but be the return value of another command such as Start.

Usable EtherCAT states

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace