Table of Contents

Class CreateDO0PulseWidthPayload

Namespace
Harp.LoadCells
Assembly
Harp.LoadCells.dll

Represents an operator that creates a message payload that pulse duration (ms) for the digital output pin 0. The pulse will only be emitted when DO0Sync == Pulse.

public class CreateDO0PulseWidthPayload
Inheritance
CreateDO0PulseWidthPayload
Derived
Inherited Members

Properties

DO0PulseWidth

Gets or sets the value that pulse duration (ms) for the digital output pin 0. The pulse will only be emitted when DO0Sync == Pulse.

[Range(1, 255)]
public byte DO0PulseWidth { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that pulse duration (ms) for the digital output pin 0. The pulse will only be emitted when DO0Sync == Pulse.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the DO0PulseWidth register.

GetPayload()

Creates a message payload for the DO0PulseWidth register.

public byte GetPayload()

Returns

byte

The created message payload value.