Table of Contents

Method ReadAcquisitionStateAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadAcquisitionStateAsync(CancellationToken)

Asynchronously reads the contents of the AcquisitionState register.

public Task<EnableFlag> ReadAcquisitionStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<EnableFlag>

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