Table of Contents

Class AsyncDevice

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

Represents an asynchronous API to configure and interface with LedArray devices.

public class AsyncDevice : AsyncDevice, IDisposable
Inheritance
AsyncDevice
Implements
Inherited Members

Methods

ReadAuxDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the contents of the AuxDigitalOutputState register.

public Task<AuxDigitalOutputs> ReadAuxDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AuxDigitalOutputs>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadAuxLedPowerAsync(CancellationToken)

Asynchronously reads the contents of the AuxLedPower register.

public Task<byte> ReadAuxLedPowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<byte>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDigitalInputStateAsync(CancellationToken)

Asynchronously reads the contents of the DigitalInputState register.

public Task<DigitalInputs> ReadDigitalInputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalInputs>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDigitalInputTriggerAsync(CancellationToken)

Asynchronously reads the contents of the DigitalInputTrigger register.

public Task<DigitalInputTriggerPayload> ReadDigitalInputTriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalInputTriggerPayload>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputState register.

public Task<DigitalOutputs> ReadDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalOutputs>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDigitalOutputSyncAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputSync register.

public Task<DigitalOutputSyncPayload> ReadDigitalOutputSyncAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalOutputSyncPayload>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadEnableEventsAsync(CancellationToken)

Asynchronously reads the contents of the EnableEvents register.

public Task<LedArrayEvents> ReadEnableEventsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<LedArrayEvents>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadEnableLedAsync(CancellationToken)

Asynchronously reads the contents of the EnableLed register.

public Task<LedState> ReadEnableLedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<LedState>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadEnableLedModeAsync(CancellationToken)

Asynchronously reads the contents of the EnableLedMode register.

public Task<LedState> ReadEnableLedModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<LedState>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadEnablePowerAsync(CancellationToken)

Asynchronously reads the contents of the EnablePower register.

public Task<LedState> ReadEnablePowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<LedState>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PowerAsync(CancellationToken)

Asynchronously reads the contents of the Led0Power register.

public Task<byte> ReadLed0PowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<byte>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PulseRepeatCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led0PulseRepeatCounter register.

public Task<ushort> ReadLed0PulseRepeatCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PulseTimeOffAsync(CancellationToken)

Asynchronously reads the contents of the Led0PulseTimeOff register.

public Task<ushort> ReadLed0PulseTimeOffAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PulseTimeOnAsync(CancellationToken)

Asynchronously reads the contents of the Led0PulseTimeOn register.

public Task<ushort> ReadLed0PulseTimeOnAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PulseTimePulseCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led0PulseTimePulseCounter register.

public Task<ushort> ReadLed0PulseTimePulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PulseTimeTailAsync(CancellationToken)

Asynchronously reads the contents of the Led0PulseTimeTail register.

public Task<ushort> ReadLed0PulseTimeTailAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PwmDutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Led0PwmDutyCycle register.

public Task<float> ReadLed0PwmDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PwmDutyCycleRealAsync(CancellationToken)

Asynchronously reads the contents of the Led0PwmDutyCycleReal register.

public Task<float> ReadLed0PwmDutyCycleRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PwmFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Led0PwmFrequency register.

public Task<float> ReadLed0PwmFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PwmPulseCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led0PwmPulseCounter register.

public Task<ushort> ReadLed0PwmPulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed0PwmRealAsync(CancellationToken)

Asynchronously reads the contents of the Led0PwmReal register.

public Task<float> ReadLed0PwmRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PowerAsync(CancellationToken)

Asynchronously reads the contents of the Led1Power register.

public Task<byte> ReadLed1PowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<byte>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PulseRepeatCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led1PulseRepeatCounter register.

public Task<ushort> ReadLed1PulseRepeatCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PulseTimeOffAsync(CancellationToken)

Asynchronously reads the contents of the Led1PulseTimeOff register.

public Task<ushort> ReadLed1PulseTimeOffAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PulseTimeOnAsync(CancellationToken)

Asynchronously reads the contents of the Led1PulseTimeOn register.

public Task<ushort> ReadLed1PulseTimeOnAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PulseTimePulseCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led1PulseTimePulseCounter register.

public Task<ushort> ReadLed1PulseTimePulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PulseTimeTailAsync(CancellationToken)

Asynchronously reads the contents of the Led1PulseTimeTail register.

public Task<ushort> ReadLed1PulseTimeTailAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PwmDutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Led1PwmDutyCycle register.

public Task<float> ReadLed1PwmDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PwmFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Led1PwmFrequency register.

public Task<float> ReadLed1PwmFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PwmPulseCounterAsync(CancellationToken)

Asynchronously reads the contents of the Led1PwmPulseCounter register.

public Task<ushort> ReadLed1PwmPulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLed1PwmRealAsync(CancellationToken)

Asynchronously reads the contents of the Led1PwmReal register.

public Task<float> ReadLed1PwmRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadLedD1PwmDutyCycleRealAsync(CancellationToken)

Asynchronously reads the contents of the LedD1PwmDutyCycleReal register.

public Task<float> ReadLedD1PwmDutyCycleRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadPulseModeAsync(CancellationToken)

Asynchronously reads the contents of the PulseMode register.

public Task<PulseModePayload> ReadPulseModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PulseModePayload>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadTimestampedAuxDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AuxDigitalOutputState register.

public Task<Timestamped<AuxDigitalOutputs>> ReadTimestampedAuxDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AuxDigitalOutputs>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedAuxLedPowerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AuxLedPower register.

public Task<Timestamped<byte>> ReadTimestampedAuxLedPowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<byte>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDigitalInputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalInputState register.

public Task<Timestamped<DigitalInputs>> ReadTimestampedDigitalInputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalInputs>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDigitalInputTriggerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalInputTrigger register.

public Task<Timestamped<DigitalInputTriggerPayload>> ReadTimestampedDigitalInputTriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalInputTriggerPayload>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputState register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalOutputs>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDigitalOutputSyncAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputSync register.

public Task<Timestamped<DigitalOutputSyncPayload>> ReadTimestampedDigitalOutputSyncAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalOutputSyncPayload>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedEnableEventsAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableEvents register.

public Task<Timestamped<LedArrayEvents>> ReadTimestampedEnableEventsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<LedArrayEvents>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedEnableLedAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableLed register.

public Task<Timestamped<LedState>> ReadTimestampedEnableLedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<LedState>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedEnableLedModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableLedMode register.

public Task<Timestamped<LedState>> ReadTimestampedEnableLedModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<LedState>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedEnablePowerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnablePower register.

public Task<Timestamped<LedState>> ReadTimestampedEnablePowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<LedState>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PowerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0Power register.

public Task<Timestamped<byte>> ReadTimestampedLed0PowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<byte>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PulseRepeatCounterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PulseRepeatCounter register.

public Task<Timestamped<ushort>> ReadTimestampedLed0PulseRepeatCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PulseTimeOffAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PulseTimeOff register.

public Task<Timestamped<ushort>> ReadTimestampedLed0PulseTimeOffAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PulseTimeOnAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PulseTimeOn register.

public Task<Timestamped<ushort>> ReadTimestampedLed0PulseTimeOnAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PulseTimePulseCounterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PulseTimePulseCounter register.

public Task<Timestamped<ushort>> ReadTimestampedLed0PulseTimePulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PulseTimeTailAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PulseTimeTail register.

public Task<Timestamped<ushort>> ReadTimestampedLed0PulseTimeTailAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PwmDutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PwmDutyCycle register.

public Task<Timestamped<float>> ReadTimestampedLed0PwmDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PwmDutyCycleRealAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PwmDutyCycleReal register.

public Task<Timestamped<float>> ReadTimestampedLed0PwmDutyCycleRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PwmFrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PwmFrequency register.

public Task<Timestamped<float>> ReadTimestampedLed0PwmFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PwmPulseCounterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PwmPulseCounter register.

public Task<Timestamped<ushort>> ReadTimestampedLed0PwmPulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed0PwmRealAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led0PwmReal register.

public Task<Timestamped<float>> ReadTimestampedLed0PwmRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PowerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1Power register.

public Task<Timestamped<byte>> ReadTimestampedLed1PowerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<byte>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PulseRepeatCounterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PulseRepeatCounter register.

public Task<Timestamped<ushort>> ReadTimestampedLed1PulseRepeatCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PulseTimeOffAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PulseTimeOff register.

public Task<Timestamped<ushort>> ReadTimestampedLed1PulseTimeOffAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PulseTimeOnAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PulseTimeOn register.

public Task<Timestamped<ushort>> ReadTimestampedLed1PulseTimeOnAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PulseTimePulseCounterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PulseTimePulseCounter register.

public Task<Timestamped<ushort>> ReadTimestampedLed1PulseTimePulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PulseTimeTailAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PulseTimeTail register.

public Task<Timestamped<ushort>> ReadTimestampedLed1PulseTimeTailAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PwmDutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PwmDutyCycle register.

public Task<Timestamped<float>> ReadTimestampedLed1PwmDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PwmFrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PwmFrequency register.

public Task<Timestamped<float>> ReadTimestampedLed1PwmFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PwmPulseCounterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PwmPulseCounter register.

public Task<Timestamped<ushort>> ReadTimestampedLed1PwmPulseCounterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ushort>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLed1PwmRealAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Led1PwmReal register.

public Task<Timestamped<float>> ReadTimestampedLed1PwmRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedLedD1PwmDutyCycleRealAsync(CancellationToken)

Asynchronously reads the timestamped contents of the LedD1PwmDutyCycleReal register.

public Task<Timestamped<float>> ReadTimestampedLedD1PwmDutyCycleRealAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedPulseModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PulseMode register.

public Task<Timestamped<PulseModePayload>> ReadTimestampedPulseModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PulseModePayload>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

WriteAuxDigitalOutputStateAsync(AuxDigitalOutputs, CancellationToken)

Asynchronously writes a value to the AuxDigitalOutputState register.

public Task WriteAuxDigitalOutputStateAsync(AuxDigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value AuxDigitalOutputs

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteAuxLedPowerAsync(byte, CancellationToken)

Asynchronously writes a value to the AuxLedPower register.

public Task WriteAuxLedPowerAsync(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalInputTriggerAsync(DigitalInputTriggerPayload, CancellationToken)

Asynchronously writes a value to the DigitalInputTrigger register.

public Task WriteDigitalInputTriggerAsync(DigitalInputTriggerPayload value, CancellationToken cancellationToken = default)

Parameters

value DigitalInputTriggerPayload

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalOutputStateAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputState register.

public Task WriteDigitalOutputStateAsync(DigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputs

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalOutputSyncAsync(DigitalOutputSyncPayload, CancellationToken)

Asynchronously writes a value to the DigitalOutputSync register.

public Task WriteDigitalOutputSyncAsync(DigitalOutputSyncPayload value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputSyncPayload

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteEnableEventsAsync(LedArrayEvents, CancellationToken)

Asynchronously writes a value to the EnableEvents register.

public Task WriteEnableEventsAsync(LedArrayEvents value, CancellationToken cancellationToken = default)

Parameters

value LedArrayEvents

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteEnableLedAsync(LedState, CancellationToken)

Asynchronously writes a value to the EnableLed register.

public Task WriteEnableLedAsync(LedState value, CancellationToken cancellationToken = default)

Parameters

value LedState

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteEnableLedModeAsync(LedState, CancellationToken)

Asynchronously writes a value to the EnableLedMode register.

public Task WriteEnableLedModeAsync(LedState value, CancellationToken cancellationToken = default)

Parameters

value LedState

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteEnablePowerAsync(LedState, CancellationToken)

Asynchronously writes a value to the EnablePower register.

public Task WriteEnablePowerAsync(LedState value, CancellationToken cancellationToken = default)

Parameters

value LedState

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PowerAsync(byte, CancellationToken)

Asynchronously writes a value to the Led0Power register.

public Task WriteLed0PowerAsync(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PulseRepeatCounterAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led0PulseRepeatCounter register.

public Task WriteLed0PulseRepeatCounterAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PulseTimeOffAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led0PulseTimeOff register.

public Task WriteLed0PulseTimeOffAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PulseTimeOnAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led0PulseTimeOn register.

public Task WriteLed0PulseTimeOnAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PulseTimePulseCounterAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led0PulseTimePulseCounter register.

public Task WriteLed0PulseTimePulseCounterAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PulseTimeTailAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led0PulseTimeTail register.

public Task WriteLed0PulseTimeTailAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PwmDutyCycleAsync(float, CancellationToken)

Asynchronously writes a value to the Led0PwmDutyCycle register.

public Task WriteLed0PwmDutyCycleAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PwmFrequencyAsync(float, CancellationToken)

Asynchronously writes a value to the Led0PwmFrequency register.

public Task WriteLed0PwmFrequencyAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed0PwmPulseCounterAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led0PwmPulseCounter register.

public Task WriteLed0PwmPulseCounterAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PowerAsync(byte, CancellationToken)

Asynchronously writes a value to the Led1Power register.

public Task WriteLed1PowerAsync(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PulseRepeatCounterAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led1PulseRepeatCounter register.

public Task WriteLed1PulseRepeatCounterAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PulseTimeOffAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led1PulseTimeOff register.

public Task WriteLed1PulseTimeOffAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PulseTimeOnAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led1PulseTimeOn register.

public Task WriteLed1PulseTimeOnAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PulseTimePulseCounterAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led1PulseTimePulseCounter register.

public Task WriteLed1PulseTimePulseCounterAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PulseTimeTailAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led1PulseTimeTail register.

public Task WriteLed1PulseTimeTailAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PwmDutyCycleAsync(float, CancellationToken)

Asynchronously writes a value to the Led1PwmDutyCycle register.

public Task WriteLed1PwmDutyCycleAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PwmFrequencyAsync(float, CancellationToken)

Asynchronously writes a value to the Led1PwmFrequency register.

public Task WriteLed1PwmFrequencyAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteLed1PwmPulseCounterAsync(ushort, CancellationToken)

Asynchronously writes a value to the Led1PwmPulseCounter register.

public Task WriteLed1PwmPulseCounterAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WritePulseModeAsync(PulseModePayload, CancellationToken)

Asynchronously writes a value to the PulseMode register.

public Task WritePulseModeAsync(PulseModePayload value, CancellationToken cancellationToken = default)

Parameters

value PulseModePayload

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.