Table of Contents

Method ReadSingleArrayAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadSingleArrayAsync(int, CancellationToken)

Asynchronously reads the value of a single-precision floating point array register with the specified address.

public Task<float[]> ReadSingleArrayAsync(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<float[]>

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