Table of Contents

Method ReadDO0TimeAboveThresholdAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadDO0TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO0TimeAboveThreshold register.

public Task<ushort> ReadDO0TimeAboveThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

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