Redler Technologies Inc.

MotionPacketHelperParseDriverFault Method

When the driver sends a 100[0] command, the payload need to be parsed. This method parses the payload.

Definition

Namespace: Redler.Motion.Communication.MotionPackets
Assembly: Redler.Motion.Communication (in Redler.Motion.Communication.dll) Version: 0.0.0.0
C#
public static (ushort commandID, byte index, MotionPacketHelperDriverFaultCodes errorCode) ParseDriverFault(
	byte[] errorData
)

Parameters

errorData  Byte
The payload of 100[0] response

Return Value

ValueTupleUInt16, Byte, MotionPacketHelperDriverFaultCodes
The command's index and subindex that caused the error, and the error code

Exceptions

ArgumentExceptionThrown when the payload is not valid

See Also