Table of Contents

Class AsyncDevice

Namespace
Harp.AnalogInput
Assembly
Harp.AnalogInput.dll

Represents an asynchronous API to configure and interface with AnalogInput devices.

public class AsyncDevice : AsyncDevice, IDisposable
Inheritance
AsyncDevice
Implements
Inherited Members

Methods

ReadAcquisitionStateAsync(CancellationToken)

Asynchronously reads the contents of the AcquisitionState register.

public Task<EnableFlag> ReadAcquisitionStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<EnableFlag>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadAnalogDataAsync(CancellationToken)

Asynchronously reads the contents of the AnalogData register.

public Task<AnalogDataPayload> ReadAnalogDataAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadDI0TriggerAsync(CancellationToken)

Asynchronously reads the contents of the DI0Trigger register.

public Task<TriggerConfig> ReadDI0TriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerConfig>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO0PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the DO0PulseWidth register.

public Task<byte> ReadDO0PulseWidthAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadDO0SyncAsync(CancellationToken)

Asynchronously reads the contents of the DO0Sync register.

public Task<SyncConfig> ReadDO0SyncAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<SyncConfig>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO0TargetChannelAsync(CancellationToken)

Asynchronously reads the contents of the DO0TargetChannel register.

public Task<AdcChannel> ReadDO0TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AdcChannel>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO0ThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO0Threshold register.

public Task<short> ReadDO0ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<short>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO0TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO0TimeAboveThreshold register.

public Task<ushort> ReadDO0TimeAboveThresholdAsync(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.

ReadDO0TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO0TimeBelowThreshold register.

public Task<ushort> ReadDO0TimeBelowThresholdAsync(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.

ReadDO1TargetChannelAsync(CancellationToken)

Asynchronously reads the contents of the DO1TargetChannel register.

public Task<AdcChannel> ReadDO1TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AdcChannel>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO1ThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO1Threshold register.

public Task<short> ReadDO1ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<short>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO1TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO1TimeAboveThreshold register.

public Task<ushort> ReadDO1TimeAboveThresholdAsync(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.

ReadDO1TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO1TimeBelowThreshold register.

public Task<ushort> ReadDO1TimeBelowThresholdAsync(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.

ReadDO2TargetChannelAsync(CancellationToken)

Asynchronously reads the contents of the DO2TargetChannel register.

public Task<AdcChannel> ReadDO2TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AdcChannel>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO2ThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO2Threshold register.

public Task<short> ReadDO2ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<short>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO2TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO2TimeAboveThreshold register.

public Task<ushort> ReadDO2TimeAboveThresholdAsync(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.

ReadDO2TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO2TimeBelowThreshold register.

public Task<ushort> ReadDO2TimeBelowThresholdAsync(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.

ReadDO3TargetChannelAsync(CancellationToken)

Asynchronously reads the contents of the DO3TargetChannel register.

public Task<AdcChannel> ReadDO3TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AdcChannel>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO3ThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO3Threshold register.

public Task<short> ReadDO3ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<short>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadDO3TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO3TimeAboveThreshold register.

public Task<ushort> ReadDO3TimeAboveThresholdAsync(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.

ReadDO3TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the contents of the DO3TimeBelowThreshold register.

public Task<ushort> ReadDO3TimeBelowThresholdAsync(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.

ReadDigitalInputStateAsync(CancellationToken)

Asynchronously reads the contents of the DigitalInputState register.

public Task<DigitalInputs> ReadDigitalInputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadDigitalOutputClearAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputClear register.

public Task<DigitalOutputs> ReadDigitalOutputClearAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadDigitalOutputSetAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputSet register.

public Task<DigitalOutputs> ReadDigitalOutputSetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputState register.

public Task<DigitalOutputs> ReadDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadDigitalOutputToggleAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputToggle register.

public Task<DigitalOutputs> ReadDigitalOutputToggleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadRangeAndFilterAsync(CancellationToken)

Asynchronously reads the contents of the RangeAndFilter register.

public Task<RangeAndFilterConfig> ReadRangeAndFilterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<RangeAndFilterConfig>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadSamplingRateAsync(CancellationToken)

Asynchronously reads the contents of the SamplingRate register.

public Task<SamplingRateMode> ReadSamplingRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<SamplingRateMode>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadSyncOutputAsync(CancellationToken)

Asynchronously reads the contents of the SyncOutput register.

public Task<StartSyncOutputTarget> ReadSyncOutputAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StartSyncOutputTarget>

A task that represents the asynchronous read operation. The Result property contains the register payload.

ReadTimestampedAcquisitionStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AcquisitionState register.

public Task<Timestamped<EnableFlag>> ReadTimestampedAcquisitionStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<EnableFlag>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedAnalogDataAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AnalogData register.

public Task<Timestamped<AnalogDataPayload>> ReadTimestampedAnalogDataAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDI0TriggerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DI0Trigger register.

public Task<Timestamped<TriggerConfig>> ReadTimestampedDI0TriggerAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerConfig>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO0PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0PulseWidth register.

public Task<Timestamped<byte>> ReadTimestampedDO0PulseWidthAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO0SyncAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0Sync register.

public Task<Timestamped<SyncConfig>> ReadTimestampedDO0SyncAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<SyncConfig>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO0TargetChannelAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0TargetChannel register.

public Task<Timestamped<AdcChannel>> ReadTimestampedDO0TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AdcChannel>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO0ThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0Threshold register.

public Task<Timestamped<short>> ReadTimestampedDO0ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<short>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO0TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0TimeAboveThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO0TimeAboveThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO0TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0TimeBelowThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO0TimeBelowThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO1TargetChannelAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO1TargetChannel register.

public Task<Timestamped<AdcChannel>> ReadTimestampedDO1TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AdcChannel>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO1ThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO1Threshold register.

public Task<Timestamped<short>> ReadTimestampedDO1ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<short>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO1TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO1TimeAboveThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO1TimeAboveThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO1TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO1TimeBelowThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO1TimeBelowThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO2TargetChannelAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO2TargetChannel register.

public Task<Timestamped<AdcChannel>> ReadTimestampedDO2TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AdcChannel>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO2ThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO2Threshold register.

public Task<Timestamped<short>> ReadTimestampedDO2ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<short>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO2TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO2TimeAboveThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO2TimeAboveThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO2TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO2TimeBelowThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO2TimeBelowThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO3TargetChannelAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO3TargetChannel register.

public Task<Timestamped<AdcChannel>> ReadTimestampedDO3TargetChannelAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AdcChannel>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO3ThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO3Threshold register.

public Task<Timestamped<short>> ReadTimestampedDO3ThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<short>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedDO3TimeAboveThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO3TimeAboveThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO3TimeAboveThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDO3TimeBelowThresholdAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO3TimeBelowThreshold register.

public Task<Timestamped<ushort>> ReadTimestampedDO3TimeBelowThresholdAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDigitalInputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalInputState register.

public Task<Timestamped<DigitalInputs>> ReadTimestampedDigitalInputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDigitalOutputClearAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputClear register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedDigitalOutputClearAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDigitalOutputSetAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputSet register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedDigitalOutputSetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDigitalOutputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputState register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedDigitalOutputStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedDigitalOutputToggleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputToggle register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedDigitalOutputToggleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A 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.

ReadTimestampedRangeAndFilterAsync(CancellationToken)

Asynchronously reads the timestamped contents of the RangeAndFilter register.

public Task<Timestamped<RangeAndFilterConfig>> ReadTimestampedRangeAndFilterAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<RangeAndFilterConfig>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedSamplingRateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the SamplingRate register.

public Task<Timestamped<SamplingRateMode>> ReadTimestampedSamplingRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<SamplingRateMode>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

ReadTimestampedSyncOutputAsync(CancellationToken)

Asynchronously reads the timestamped contents of the SyncOutput register.

public Task<Timestamped<StartSyncOutputTarget>> ReadTimestampedSyncOutputAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<StartSyncOutputTarget>>

A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.

WriteAcquisitionStateAsync(EnableFlag, CancellationToken)

Asynchronously writes a value to the AcquisitionState register.

public Task WriteAcquisitionStateAsync(EnableFlag value, CancellationToken cancellationToken = default)

Parameters

value EnableFlag

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDI0TriggerAsync(TriggerConfig, CancellationToken)

Asynchronously writes a value to the DI0Trigger register.

public Task WriteDI0TriggerAsync(TriggerConfig value, CancellationToken cancellationToken = default)

Parameters

value TriggerConfig

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO0PulseWidthAsync(byte, CancellationToken)

Asynchronously writes a value to the DO0PulseWidth register.

public Task WriteDO0PulseWidthAsync(byte value, CancellationToken cancellationToken = default)

Parameters

value byte

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO0SyncAsync(SyncConfig, CancellationToken)

Asynchronously writes a value to the DO0Sync register.

public Task WriteDO0SyncAsync(SyncConfig value, CancellationToken cancellationToken = default)

Parameters

value SyncConfig

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO0TargetChannelAsync(AdcChannel, CancellationToken)

Asynchronously writes a value to the DO0TargetChannel register.

public Task WriteDO0TargetChannelAsync(AdcChannel value, CancellationToken cancellationToken = default)

Parameters

value AdcChannel

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO0ThresholdAsync(short, CancellationToken)

Asynchronously writes a value to the DO0Threshold register.

public Task WriteDO0ThresholdAsync(short value, CancellationToken cancellationToken = default)

Parameters

value short

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO0TimeAboveThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO0TimeAboveThreshold register.

public Task WriteDO0TimeAboveThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO0TimeBelowThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO0TimeBelowThreshold register.

public Task WriteDO0TimeBelowThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO1TargetChannelAsync(AdcChannel, CancellationToken)

Asynchronously writes a value to the DO1TargetChannel register.

public Task WriteDO1TargetChannelAsync(AdcChannel value, CancellationToken cancellationToken = default)

Parameters

value AdcChannel

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO1ThresholdAsync(short, CancellationToken)

Asynchronously writes a value to the DO1Threshold register.

public Task WriteDO1ThresholdAsync(short value, CancellationToken cancellationToken = default)

Parameters

value short

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO1TimeAboveThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO1TimeAboveThreshold register.

public Task WriteDO1TimeAboveThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO1TimeBelowThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO1TimeBelowThreshold register.

public Task WriteDO1TimeBelowThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO2TargetChannelAsync(AdcChannel, CancellationToken)

Asynchronously writes a value to the DO2TargetChannel register.

public Task WriteDO2TargetChannelAsync(AdcChannel value, CancellationToken cancellationToken = default)

Parameters

value AdcChannel

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO2ThresholdAsync(short, CancellationToken)

Asynchronously writes a value to the DO2Threshold register.

public Task WriteDO2ThresholdAsync(short value, CancellationToken cancellationToken = default)

Parameters

value short

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO2TimeAboveThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO2TimeAboveThreshold register.

public Task WriteDO2TimeAboveThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO2TimeBelowThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO2TimeBelowThreshold register.

public Task WriteDO2TimeBelowThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO3TargetChannelAsync(AdcChannel, CancellationToken)

Asynchronously writes a value to the DO3TargetChannel register.

public Task WriteDO3TargetChannelAsync(AdcChannel value, CancellationToken cancellationToken = default)

Parameters

value AdcChannel

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO3ThresholdAsync(short, CancellationToken)

Asynchronously writes a value to the DO3Threshold register.

public Task WriteDO3ThresholdAsync(short value, CancellationToken cancellationToken = default)

Parameters

value short

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO3TimeAboveThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO3TimeAboveThreshold register.

public Task WriteDO3TimeAboveThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDO3TimeBelowThresholdAsync(ushort, CancellationToken)

Asynchronously writes a value to the DO3TimeBelowThreshold register.

public Task WriteDO3TimeBelowThresholdAsync(ushort value, CancellationToken cancellationToken = default)

Parameters

value ushort

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalOutputClearAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputClear register.

public Task WriteDigitalOutputClearAsync(DigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputs

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalOutputSetAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputSet register.

public Task WriteDigitalOutputSetAsync(DigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputs

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalOutputStateAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputState register.

public Task WriteDigitalOutputStateAsync(DigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputs

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteDigitalOutputToggleAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputToggle register.

public Task WriteDigitalOutputToggleAsync(DigitalOutputs value, CancellationToken cancellationToken = default)

Parameters

value DigitalOutputs

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteRangeAndFilterAsync(RangeAndFilterConfig, CancellationToken)

Asynchronously writes a value to the RangeAndFilter register.

public Task WriteRangeAndFilterAsync(RangeAndFilterConfig value, CancellationToken cancellationToken = default)

Parameters

value RangeAndFilterConfig

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteSamplingRateAsync(SamplingRateMode, CancellationToken)

Asynchronously writes a value to the SamplingRate register.

public Task WriteSamplingRateAsync(SamplingRateMode value, CancellationToken cancellationToken = default)

Parameters

value SamplingRateMode

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.

WriteSyncOutputAsync(StartSyncOutputTarget, CancellationToken)

Asynchronously writes a value to the SyncOutput register.

public Task WriteSyncOutputAsync(StartSyncOutputTarget value, CancellationToken cancellationToken = default)

Parameters

value StartSyncOutputTarget

The value to be stored in the register.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.