Table of Contents

Method ReadTimestampedMagneticEncoderSampleRateAsync

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

ReadTimestampedMagneticEncoderSampleRateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the MagneticEncoderSampleRate register.

public Task<Timestamped<MagneticEncoderSampleRateMode>> ReadTimestampedMagneticEncoderSampleRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<MagneticEncoderSampleRateMode>>

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