Table of Contents

Method ReadAttenuationAndSoundIndexDI1Async

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

ReadAttenuationAndSoundIndexDI1Async(CancellationToken)

Asynchronously reads the contents of the AttenuationAndSoundIndexDI1 register.

public Task<ushort[]> ReadAttenuationAndSoundIndexDI1Async(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.