Table of Contents

Method ReadDO1ThresholdAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadDO1ThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO1Threshold register.

public Task<short> ReadDO1ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<short>

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