Table of Contents

Method ReadAnalogDataAsync

Namespace
Harp.Hobgoblin
Assembly
Harp.Hobgoblin.dll

ReadAnalogDataAsync(CancellationToken)

Asynchronously reads the contents of the AnalogData register.

public Task<AnalogDataPayload> ReadAnalogDataAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AnalogDataPayload>

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