Table of Contents

Method ReadTimestampedOutputStateAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadTimestampedOutputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputState register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputStateAsync(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.