Method GetMessage
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
GetMessage(MessageType)
Creates a message that contains a bit mask specifying the motor where the over voltage detection and protection mechanism occurred, which can happen when the there's a quick deceleration from a high velocity or when the motor stalls (not implemented).
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the MotorOverVoltageDetection register.