Table of Contents

Method ReadTimestampedPortDIOToggleAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadTimestampedPortDIOToggleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PortDIOToggle register.

public Task<Timestamped<PortDigitalIOS>> ReadTimestampedPortDIOToggleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PortDigitalIOS>>

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