Table of Contents

Method ReadTimestampedSamplingRateAsync

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

ReadTimestampedSamplingRateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the SamplingRate register.

public Task<Timestamped<SamplingRateMode>> ReadTimestampedSamplingRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<SamplingRateMode>>

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