Table of Contents

Method ReadTimestampedDigitalOutputStateAsync

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

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.