Table of Contents

Method ReadTimestampedProtocolDirectionAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadTimestampedProtocolDirectionAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ProtocolDirection register.

public Task<Timestamped<ProtocolDirectionState>> ReadTimestampedProtocolDirectionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ProtocolDirectionState>>

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