Table of Contents

Method WriteDO2ThresholdAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

WriteDO2ThresholdAsync(short, CancellationToken)

Asynchronously writes a value to the DO2Threshold register.

public Task WriteDO2ThresholdAsync(short value, CancellationToken cancellationToken = default)

Parameters

value short

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.