Class CreateTimestampedEncoderSamplingRatePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that configures the sampling rate of the quadrature encoder event.
public class CreateTimestampedEncoderSamplingRatePayload : CreateEncoderSamplingRatePayload
- Inheritance
-
CreateTimestampedEncoderSamplingRatePayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that configures the sampling rate of the quadrature encoder event.
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 EncoderSamplingRate register.