Table of Contents

Method ReadTimestampedPortDIOStateEventAsync

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

ReadTimestampedPortDIOStateEventAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PortDIOStateEvent register.

public Task<Timestamped<PortDigitalIOS>> ReadTimestampedPortDIOStateEventAsync(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.