Table of Contents

Method ReadTimestampedAcquisitionStateAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadTimestampedAcquisitionStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AcquisitionState register.

public Task<Timestamped<EnableFlag>> ReadTimestampedAcquisitionStateAsync(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.