Table of Contents

Method ReadTimestampedDigitalInputsSamplingModeAsync

Namespace
Harp.Synchronizer
Assembly
Harp.Synchronizer.dll

ReadTimestampedDigitalInputsSamplingModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalInputsSamplingMode register.

public Task<Timestamped<DigitalInputsSamplingConfig>> ReadTimestampedDigitalInputsSamplingModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalInputsSamplingConfig>>

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