Class CreateTimestampedMotor1MaxPositionPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that specifies the limit of the accumulated steps for the positive movement of motor 1. The device will not let the motor move further than this value. A value equal to 0 disables the feature.
public class CreateTimestampedMotor1MaxPositionPayload : CreateMotor1MaxPositionPayload
- Inheritance
-
CreateTimestampedMotor1MaxPositionPayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that specifies the limit of the accumulated steps for the positive movement of motor 1. The device will not let the motor move further than this value. A value equal to 0 disables the feature.
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 Motor1MaxPosition register.