Class AsyncDevice
Represents an asynchronous API to configure and interface with SoundCard devices.
public class AsyncDevice : AsyncDevice, IDisposable
- Inheritance
-
AsyncDevice
- Implements
- Inherited Members
Methods
ReadAnalogDataAsync(CancellationToken)
Asynchronously reads the contents of the AnalogData register.
public Task<AnalogDataPayload> ReadAnalogDataAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<AnalogDataPayload>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadAttenuationAndFrequencyDI0Async(CancellationToken)
Asynchronously reads the contents of the AttenuationAndFrequencyDI0 register.
public Task<ushort[]> ReadAttenuationAndFrequencyDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationAndFrequencyDI1Async(CancellationToken)
Asynchronously reads the contents of the AttenuationAndFrequencyDI1 register.
public Task<ushort[]> ReadAttenuationAndFrequencyDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationAndFrequencyDI2Async(CancellationToken)
Asynchronously reads the contents of the AttenuationAndFrequencyDI2 register.
public Task<ushort[]> ReadAttenuationAndFrequencyDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationAndPlaySoundOrFreqAsync(CancellationToken)
Asynchronously reads the contents of the AttenuationAndPlaySoundOrFreq register.
public Task<ushort[]> ReadAttenuationAndPlaySoundOrFreqAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationAndSoundIndexDI0Async(CancellationToken)
Asynchronously reads the contents of the AttenuationAndSoundIndexDI0 register.
public Task<ushort[]> ReadAttenuationAndSoundIndexDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationAndSoundIndexDI1Async(CancellationToken)
Asynchronously reads the contents of the AttenuationAndSoundIndexDI1 register.
public Task<ushort[]> ReadAttenuationAndSoundIndexDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationAndSoundIndexDI2Async(CancellationToken)
Asynchronously reads the contents of the AttenuationAndSoundIndexDI2 register.
public Task<ushort[]> ReadAttenuationAndSoundIndexDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationBothAsync(CancellationToken)
Asynchronously reads the contents of the AttenuationBoth register.
public Task<ushort[]> ReadAttenuationBothAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationLeftAsync(CancellationToken)
Asynchronously reads the contents of the AttenuationLeft register.
public Task<ushort> ReadAttenuationLeftAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationLeftDI0Async(CancellationToken)
Asynchronously reads the contents of the AttenuationLeftDI0 register.
public Task<ushort> ReadAttenuationLeftDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationLeftDI1Async(CancellationToken)
Asynchronously reads the contents of the AttenuationLeftDI1 register.
public Task<ushort> ReadAttenuationLeftDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationLeftDI2Async(CancellationToken)
Asynchronously reads the contents of the AttenuationLeftDI2 register.
public Task<ushort> ReadAttenuationLeftDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationRightAsync(CancellationToken)
Asynchronously reads the contents of the AttenuationRight register.
public Task<ushort> ReadAttenuationRightAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationRightDI0Async(CancellationToken)
Asynchronously reads the contents of the AttenuationRightDI0 register.
public Task<ushort> ReadAttenuationRightDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationRightDI1Async(CancellationToken)
Asynchronously reads the contents of the AttenuationRightDI1 register.
public Task<ushort> ReadAttenuationRightDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadAttenuationRightDI2Async(CancellationToken)
Asynchronously reads the contents of the AttenuationRightDI2 register.
public Task<ushort> ReadAttenuationRightDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadCommandsAsync(CancellationToken)
Asynchronously reads the contents of the Commands register.
public Task<ControllerCommand> ReadCommandsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<ControllerCommand>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureAdcAsync(CancellationToken)
Asynchronously reads the contents of the ConfigureAdc register.
public Task<AdcConfiguration> ReadConfigureAdcAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<AdcConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureDI0Async(CancellationToken)
Asynchronously reads the contents of the ConfigureDI0 register.
public Task<DigitalInputConfiguration> ReadConfigureDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalInputConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureDI1Async(CancellationToken)
Asynchronously reads the contents of the ConfigureDI1 register.
public Task<DigitalInputConfiguration> ReadConfigureDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalInputConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureDI2Async(CancellationToken)
Asynchronously reads the contents of the ConfigureDI2 register.
public Task<DigitalInputConfiguration> ReadConfigureDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalInputConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureDO0Async(CancellationToken)
Asynchronously reads the contents of the ConfigureDO0 register.
public Task<DigitalOutputConfiguration> ReadConfigureDO0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureDO1Async(CancellationToken)
Asynchronously reads the contents of the ConfigureDO1 register.
public Task<DigitalOutputConfiguration> ReadConfigureDO1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadConfigureDO2Async(CancellationToken)
Asynchronously reads the contents of the ConfigureDO2 register.
public Task<DigitalOutputConfiguration> ReadConfigureDO2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputConfiguration>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadEnableEventsAsync(CancellationToken)
Asynchronously reads the contents of the EnableEvents register.
public Task<SoundCardEvents> ReadEnableEventsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<SoundCardEvents>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadFrequencyDI0Async(CancellationToken)
Asynchronously reads the contents of the FrequencyDI0 register.
public Task<ushort> ReadFrequencyDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadFrequencyDI1Async(CancellationToken)
Asynchronously reads the contents of the FrequencyDI1 register.
public Task<ushort> ReadFrequencyDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadFrequencyDI2Async(CancellationToken)
Asynchronously reads the contents of the FrequencyDI2 register.
public Task<ushort> ReadFrequencyDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadInputStateAsync(CancellationToken)
Asynchronously reads the contents of the InputState register.
public Task<DigitalInputs> ReadInputStateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalInputs>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadOutputClearAsync(CancellationToken)
Asynchronously reads the contents of the OutputClear register.
public Task<DigitalOutputs> ReadOutputClearAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputs>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadOutputSetAsync(CancellationToken)
Asynchronously reads the contents of the OutputSet register.
public Task<DigitalOutputs> ReadOutputSetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputs>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadOutputStateAsync(CancellationToken)
Asynchronously reads the contents of the OutputState register.
public Task<DigitalOutputs> ReadOutputStateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputs>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadOutputToggleAsync(CancellationToken)
Asynchronously reads the contents of the OutputToggle register.
public Task<DigitalOutputs> ReadOutputToggleAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<DigitalOutputs>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadPlaySoundOrFrequencyAsync(CancellationToken)
Asynchronously reads the contents of the PlaySoundOrFrequency register.
public Task<ushort> ReadPlaySoundOrFrequencyAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA 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.
ReadPulseDO0Async(CancellationToken)
Asynchronously reads the contents of the PulseDO0 register.
public Task<byte> ReadPulseDO0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadPulseDO1Async(CancellationToken)
Asynchronously reads the contents of the PulseDO1 register.
public Task<byte> ReadPulseDO1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadPulseDO2Async(CancellationToken)
Asynchronously reads the contents of the PulseDO2 register.
public Task<byte> ReadPulseDO2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadSoundIndexDI0Async(CancellationToken)
Asynchronously reads the contents of the SoundIndexDI0 register.
public Task<byte> ReadSoundIndexDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadSoundIndexDI1Async(CancellationToken)
Asynchronously reads the contents of the SoundIndexDI1 register.
public Task<byte> ReadSoundIndexDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadSoundIndexDI2Async(CancellationToken)
Asynchronously reads the contents of the SoundIndexDI2 register.
public Task<byte> ReadSoundIndexDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadStopAsync(CancellationToken)
Asynchronously reads the contents of the Stop register.
public Task<byte> ReadStopAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<byte>
A task that represents the asynchronous read operation. The Result property contains the register payload.
ReadTimestampedAnalogDataAsync(CancellationToken)
Asynchronously reads the timestamped contents of the AnalogData register.
public Task<Timestamped<AnalogDataPayload>> ReadTimestampedAnalogDataAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<AnalogDataPayload>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndFrequencyDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndFrequencyDI0 register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndFrequencyDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndFrequencyDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndFrequencyDI1 register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndFrequencyDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndFrequencyDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndFrequencyDI2 register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndFrequencyDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndPlaySoundOrFreqAsync(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndPlaySoundOrFreq register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndPlaySoundOrFreqAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndSoundIndexDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndSoundIndexDI0 register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndSoundIndexDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndSoundIndexDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndSoundIndexDI1 register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndSoundIndexDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationAndSoundIndexDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationAndSoundIndexDI2 register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationAndSoundIndexDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationBothAsync(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationBoth register.
public Task<Timestamped<ushort[]>> ReadTimestampedAttenuationBothAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort[]>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationLeftAsync(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationLeft register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationLeftAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationLeftDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationLeftDI0 register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationLeftDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationLeftDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationLeftDI1 register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationLeftDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationLeftDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationLeftDI2 register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationLeftDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationRightAsync(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationRight register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationRightAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationRightDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationRightDI0 register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationRightDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationRightDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationRightDI1 register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationRightDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedAttenuationRightDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the AttenuationRightDI2 register.
public Task<Timestamped<ushort>> ReadTimestampedAttenuationRightDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedCommandsAsync(CancellationToken)
Asynchronously reads the timestamped contents of the Commands register.
public Task<Timestamped<ControllerCommand>> ReadTimestampedCommandsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ControllerCommand>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureAdcAsync(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureAdc register.
public Task<Timestamped<AdcConfiguration>> ReadTimestampedConfigureAdcAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<AdcConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureDI0 register.
public Task<Timestamped<DigitalInputConfiguration>> ReadTimestampedConfigureDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalInputConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureDI1 register.
public Task<Timestamped<DigitalInputConfiguration>> ReadTimestampedConfigureDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalInputConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureDI2 register.
public Task<Timestamped<DigitalInputConfiguration>> ReadTimestampedConfigureDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalInputConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureDO0Async(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureDO0 register.
public Task<Timestamped<DigitalOutputConfiguration>> ReadTimestampedConfigureDO0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureDO1Async(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureDO1 register.
public Task<Timestamped<DigitalOutputConfiguration>> ReadTimestampedConfigureDO1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedConfigureDO2Async(CancellationToken)
Asynchronously reads the timestamped contents of the ConfigureDO2 register.
public Task<Timestamped<DigitalOutputConfiguration>> ReadTimestampedConfigureDO2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputConfiguration>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedEnableEventsAsync(CancellationToken)
Asynchronously reads the timestamped contents of the EnableEvents register.
public Task<Timestamped<SoundCardEvents>> ReadTimestampedEnableEventsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<SoundCardEvents>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedFrequencyDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the FrequencyDI0 register.
public Task<Timestamped<ushort>> ReadTimestampedFrequencyDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedFrequencyDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the FrequencyDI1 register.
public Task<Timestamped<ushort>> ReadTimestampedFrequencyDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedFrequencyDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the FrequencyDI2 register.
public Task<Timestamped<ushort>> ReadTimestampedFrequencyDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedInputStateAsync(CancellationToken)
Asynchronously reads the timestamped contents of the InputState register.
public Task<Timestamped<DigitalInputs>> ReadTimestampedInputStateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalInputs>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedOutputClearAsync(CancellationToken)
Asynchronously reads the timestamped contents of the OutputClear register.
public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputClearAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputs>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedOutputSetAsync(CancellationToken)
Asynchronously reads the timestamped contents of the OutputSet register.
public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputSetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputs>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedOutputStateAsync(CancellationToken)
Asynchronously reads the timestamped contents of the OutputState register.
public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputStateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputs>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedOutputToggleAsync(CancellationToken)
Asynchronously reads the timestamped contents of the OutputToggle register.
public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputToggleAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<DigitalOutputs>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedPlaySoundOrFrequencyAsync(CancellationToken)
Asynchronously reads the timestamped contents of the PlaySoundOrFrequency register.
public Task<Timestamped<ushort>> ReadTimestampedPlaySoundOrFrequencyAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<ushort>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedPulseDO0Async(CancellationToken)
Asynchronously reads the timestamped contents of the PulseDO0 register.
public Task<Timestamped<byte>> ReadTimestampedPulseDO0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedPulseDO1Async(CancellationToken)
Asynchronously reads the timestamped contents of the PulseDO1 register.
public Task<Timestamped<byte>> ReadTimestampedPulseDO1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedPulseDO2Async(CancellationToken)
Asynchronously reads the timestamped contents of the PulseDO2 register.
public Task<Timestamped<byte>> ReadTimestampedPulseDO2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedSoundIndexDI0Async(CancellationToken)
Asynchronously reads the timestamped contents of the SoundIndexDI0 register.
public Task<Timestamped<byte>> ReadTimestampedSoundIndexDI0Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedSoundIndexDI1Async(CancellationToken)
Asynchronously reads the timestamped contents of the SoundIndexDI1 register.
public Task<Timestamped<byte>> ReadTimestampedSoundIndexDI1Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedSoundIndexDI2Async(CancellationToken)
Asynchronously reads the timestamped contents of the SoundIndexDI2 register.
public Task<Timestamped<byte>> ReadTimestampedSoundIndexDI2Async(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
ReadTimestampedStopAsync(CancellationToken)
Asynchronously reads the timestamped contents of the Stop register.
public Task<Timestamped<byte>> ReadTimestampedStopAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.
WriteAttenuationAndFrequencyDI0Async(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndFrequencyDI0 register.
public Task WriteAttenuationAndFrequencyDI0Async(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationAndFrequencyDI1Async(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndFrequencyDI1 register.
public Task WriteAttenuationAndFrequencyDI1Async(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationAndFrequencyDI2Async(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndFrequencyDI2 register.
public Task WriteAttenuationAndFrequencyDI2Async(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationAndPlaySoundOrFreqAsync(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndPlaySoundOrFreq register.
public Task WriteAttenuationAndPlaySoundOrFreqAsync(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationAndSoundIndexDI0Async(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndSoundIndexDI0 register.
public Task WriteAttenuationAndSoundIndexDI0Async(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationAndSoundIndexDI1Async(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndSoundIndexDI1 register.
public Task WriteAttenuationAndSoundIndexDI1Async(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationAndSoundIndexDI2Async(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationAndSoundIndexDI2 register.
public Task WriteAttenuationAndSoundIndexDI2Async(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationBothAsync(ushort[], CancellationToken)
Asynchronously writes a value to the AttenuationBoth register.
public Task WriteAttenuationBothAsync(ushort[] value, CancellationToken cancellationToken = default)
Parameters
value
ushort[]The value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationLeftAsync(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationLeft register.
public Task WriteAttenuationLeftAsync(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationLeftDI0Async(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationLeftDI0 register.
public Task WriteAttenuationLeftDI0Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationLeftDI1Async(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationLeftDI1 register.
public Task WriteAttenuationLeftDI1Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationLeftDI2Async(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationLeftDI2 register.
public Task WriteAttenuationLeftDI2Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationRightAsync(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationRight register.
public Task WriteAttenuationRightAsync(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationRightDI0Async(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationRightDI0 register.
public Task WriteAttenuationRightDI0Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationRightDI1Async(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationRightDI1 register.
public Task WriteAttenuationRightDI1Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteAttenuationRightDI2Async(ushort, CancellationToken)
Asynchronously writes a value to the AttenuationRightDI2 register.
public Task WriteAttenuationRightDI2Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteCommandsAsync(ControllerCommand, CancellationToken)
Asynchronously writes a value to the Commands register.
public Task WriteCommandsAsync(ControllerCommand value, CancellationToken cancellationToken = default)
Parameters
value
ControllerCommandThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureAdcAsync(AdcConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureAdc register.
public Task WriteConfigureAdcAsync(AdcConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
AdcConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureDI0Async(DigitalInputConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureDI0 register.
public Task WriteConfigureDI0Async(DigitalInputConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
DigitalInputConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureDI1Async(DigitalInputConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureDI1 register.
public Task WriteConfigureDI1Async(DigitalInputConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
DigitalInputConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureDI2Async(DigitalInputConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureDI2 register.
public Task WriteConfigureDI2Async(DigitalInputConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
DigitalInputConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureDO0Async(DigitalOutputConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureDO0 register.
public Task WriteConfigureDO0Async(DigitalOutputConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureDO1Async(DigitalOutputConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureDO1 register.
public Task WriteConfigureDO1Async(DigitalOutputConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteConfigureDO2Async(DigitalOutputConfiguration, CancellationToken)
Asynchronously writes a value to the ConfigureDO2 register.
public Task WriteConfigureDO2Async(DigitalOutputConfiguration value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputConfigurationThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteEnableEventsAsync(SoundCardEvents, CancellationToken)
Asynchronously writes a value to the EnableEvents register.
public Task WriteEnableEventsAsync(SoundCardEvents value, CancellationToken cancellationToken = default)
Parameters
value
SoundCardEventsThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteFrequencyDI0Async(ushort, CancellationToken)
Asynchronously writes a value to the FrequencyDI0 register.
public Task WriteFrequencyDI0Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteFrequencyDI1Async(ushort, CancellationToken)
Asynchronously writes a value to the FrequencyDI1 register.
public Task WriteFrequencyDI1Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteFrequencyDI2Async(ushort, CancellationToken)
Asynchronously writes a value to the FrequencyDI2 register.
public Task WriteFrequencyDI2Async(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteOutputClearAsync(DigitalOutputs, CancellationToken)
Asynchronously writes a value to the OutputClear register.
public Task WriteOutputClearAsync(DigitalOutputs value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputsThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteOutputSetAsync(DigitalOutputs, CancellationToken)
Asynchronously writes a value to the OutputSet register.
public Task WriteOutputSetAsync(DigitalOutputs value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputsThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteOutputStateAsync(DigitalOutputs, CancellationToken)
Asynchronously writes a value to the OutputState register.
public Task WriteOutputStateAsync(DigitalOutputs value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputsThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteOutputToggleAsync(DigitalOutputs, CancellationToken)
Asynchronously writes a value to the OutputToggle register.
public Task WriteOutputToggleAsync(DigitalOutputs value, CancellationToken cancellationToken = default)
Parameters
value
DigitalOutputsThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WritePlaySoundOrFrequencyAsync(ushort, CancellationToken)
Asynchronously writes a value to the PlaySoundOrFrequency register.
public Task WritePlaySoundOrFrequencyAsync(ushort value, CancellationToken cancellationToken = default)
Parameters
value
ushortThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WritePulseDO0Async(byte, CancellationToken)
Asynchronously writes a value to the PulseDO0 register.
public Task WritePulseDO0Async(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WritePulseDO1Async(byte, CancellationToken)
Asynchronously writes a value to the PulseDO1 register.
public Task WritePulseDO1Async(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WritePulseDO2Async(byte, CancellationToken)
Asynchronously writes a value to the PulseDO2 register.
public Task WritePulseDO2Async(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteSoundIndexDI0Async(byte, CancellationToken)
Asynchronously writes a value to the SoundIndexDI0 register.
public Task WriteSoundIndexDI0Async(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteSoundIndexDI1Async(byte, CancellationToken)
Asynchronously writes a value to the SoundIndexDI1 register.
public Task WriteSoundIndexDI1Async(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteSoundIndexDI2Async(byte, CancellationToken)
Asynchronously writes a value to the SoundIndexDI2 register.
public Task WriteSoundIndexDI2Async(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.
WriteStopAsync(byte, CancellationToken)
Asynchronously writes a value to the Stop register.
public Task WriteStopAsync(byte value, CancellationToken cancellationToken = default)
Parameters
value
byteThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.