Table of Contents

Method ReadTimestampedEnableProtocolAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadTimestampedEnableProtocolAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableProtocol register.

public Task<Timestamped<EnableFlag>> ReadTimestampedEnableProtocolAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<EnableFlag>>

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