Table of Contents

Method ReadTimestampMicrosecondsAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadTimestampMicrosecondsAsync(CancellationToken)

Asynchronously reads the fractional part of the system timestamp, in microseconds.

public Task<ushort> ReadTimestampMicrosecondsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ushort>

A task that represents the asynchronous read operation. The Result property contains the fractional part of the system timestamp, in microseconds.