Table of Contents

Class CreateTimestampedMotor2MaxPositionPayload

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 2. The device will not let the motor move further than this value. A value equal to 0 disables the feature.

public class CreateTimestampedMotor2MaxPositionPayload : CreateMotor2MaxPositionPayload
Inheritance
CreateTimestampedMotor2MaxPositionPayload
Inherited Members

Methods

GetMessage(double, MessageType)

Creates a timestamped message that specifies the limit of the accumulated steps for the positive movement of motor 2. 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 double

The timestamp of the message payload, in seconds.

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new timestamped message for the Motor2MaxPosition register.