Method GetMessage
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
GetMessage(double, MessageType)
Creates a timestamped 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(double timestamp, MessageType messageType)
Parameters
timestampdoubleThe timestamp of the message payload, in seconds.
messageTypeMessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the MotorOverVoltageDetection register.