Table of Contents

Method ReadDI0TriggerAsync

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

ReadDI0TriggerAsync(CancellationToken)

Asynchronously reads the contents of the DI0Trigger register.

public Task<DI0TriggerConfig> ReadDI0TriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DI0TriggerConfig>

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