Table of Contents

Method ReadDigitalOutputSetAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadDigitalOutputSetAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputSet register.

public Task<DigitalOutputs> ReadDigitalOutputSetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalOutputs>

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