Method GetMessage
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
GetMessage(double, MessageType)
Creates a timestamped message that disables the driver for a specific stepper motor, which prevents current from being sent to the motor or load. If the driver is already disabled, the driver remains disabled.
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 DisableDriver register.