Class CreateTimestampedMotorOverVoltageDetectionPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload 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 class CreateTimestampedMotorOverVoltageDetectionPayload : CreateMotorOverVoltageDetectionPayload
- Inheritance
-
CreateTimestampedMotorOverVoltageDetectionPayload
- Inherited Members
Methods
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
timestamp
doubleThe timestamp of the message payload, in seconds.
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the MotorOverVoltageDetection register.