Table of Contents

Method ReadTimestampedInputStateAsync

Namespace
Harp.CameraControllerGen2
Assembly
Harp.CameraControllerGen2.dll

ReadTimestampedInputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the InputState register.

public Task<Timestamped<DigitalInputs>> ReadTimestampedInputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalInputs>>

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