Table of Contents

Method ReadStepModeAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadStepModeAsync(CancellationToken)

Asynchronously reads the contents of the StepMode register.

public Task<StepModeType> ReadStepModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StepModeType>

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