Table of Contents

Class CreateEncodersPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a message payload that contains the quadrature encoder readings.

public class CreateEncodersPayload
Inheritance
CreateEncodersPayload
Derived
Inherited Members

Properties

Encoder0

Gets or sets a value that the quadrature counter on port ENC 0.

public short Encoder0 { get; set; }

Property Value

short

Encoder1

Gets or sets a value that the quadrature counter on port ENC 1.

public short Encoder1 { get; set; }

Property Value

short

Encoder2

Gets or sets a value that the quadrature counter on port ENC 2.

public short Encoder2 { get; set; }

Property Value

short

Methods

GetMessage(MessageType)

Creates a message that contains the quadrature encoder readings.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Encoders register.

GetPayload()

Creates a message payload for the Encoders register.

public EncodersPayload GetPayload()

Returns

EncodersPayload

The created message payload value.