Table of Contents

Method ReadAttenuationAndSoundIndexDI2Async

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

ReadAttenuationAndSoundIndexDI2Async(CancellationToken)

Asynchronously reads the contents of the AttenuationAndSoundIndexDI2 register.

public Task<ushort[]> ReadAttenuationAndSoundIndexDI2Async(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 register payload.