Method WriteDigitalInputsSamplingModeAsync
- Namespace
- Harp.Synchronizer
- Assembly
- Harp.Synchronizer.dll
WriteDigitalInputsSamplingModeAsync(DigitalInputsSamplingConfig, CancellationToken)
Asynchronously writes a value to the DigitalInputsSamplingMode register.
public Task WriteDigitalInputsSamplingModeAsync(DigitalInputsSamplingConfig value, CancellationToken cancellationToken = default)
Parameters
valueDigitalInputsSamplingConfigThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.