Table of Contents

Class CreateEncoderSamplingRatePayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that configures the sampling rate of the quadrature encoder event.

public class CreateEncoderSamplingRatePayload
Inheritance
CreateEncoderSamplingRatePayload
Derived
Inherited Members

Properties

EncoderSamplingRate

Gets or sets the value that configures the sampling rate of the quadrature encoder event.

public EncoderSamplingRateConfig EncoderSamplingRate { get; set; }

Property Value

EncoderSamplingRateConfig

Methods

GetMessage(MessageType)

Creates a message that configures the sampling rate of the quadrature encoder event.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the EncoderSamplingRate register.

GetPayload()

Creates a message payload for the EncoderSamplingRate register.

public EncoderSamplingRateConfig GetPayload()

Returns

EncoderSamplingRateConfig

The created message payload value.