Table of Contents

Method ReadTimestampedOutputPulseAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadTimestampedOutputPulseAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputPulse register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputPulseAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalOutputs>>

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