Class CreateTimestampedDisableDriverPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload 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 class CreateTimestampedDisableDriverPayload : CreateDisableDriverPayload
- Inheritance
-
CreateTimestampedDisableDriverPayload
- Inherited Members
Methods
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.