Table of Contents

Method ReadUInt32ArrayAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadUInt32ArrayAsync(int, CancellationToken)

Asynchronously reads the value of a 32-bit unsigned integer array register with the specified address.

public Task<uint[]> ReadUInt32ArrayAsync(int address, CancellationToken cancellationToken = default)

Parameters

address int

The address of the register to read.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<uint[]>

A task that represents the asynchronous read operation. The Result property contains the state of the array register.