Table of Contents

Method WriteProtocolDirectionAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

WriteProtocolDirectionAsync(ProtocolDirectionState, CancellationToken)

Asynchronously writes a value to the ProtocolDirection register.

public Task WriteProtocolDirectionAsync(ProtocolDirectionState value, CancellationToken cancellationToken = default)

Parameters

value ProtocolDirectionState

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.