Table of Contents

Class AsyncDevice

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

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

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

Methods

ReadAuxInFallingEdgeAsync(CancellationToken)

Asynchronously reads the contents of the AuxInFallingEdge register.

public Task<AuxiliaryInputs> ReadAuxInFallingEdgeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AuxiliaryInputs>

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

ReadAuxInRisingEdgeAsync(CancellationToken)

Asynchronously reads the contents of the AuxInRisingEdge register.

public Task<AuxiliaryInputs> ReadAuxInRisingEdgeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AuxiliaryInputs>

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

ReadAuxInStateAsync(CancellationToken)

Asynchronously reads the contents of the AuxInState register.

public Task<AuxiliaryInputs> ReadAuxInStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AuxiliaryInputs>

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

ReadExpansionBoardAsync(CancellationToken)

Asynchronously reads the contents of the ExpansionBoard register.

public Task<ExpansionBoardType> ReadExpansionBoardAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<ExpansionBoardType>

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

ReadMagneticEncoderAsync(CancellationToken)

Asynchronously reads the contents of the MagneticEncoder register.

public Task<MagneticEncoderPayload> ReadMagneticEncoderAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<MagneticEncoderPayload>

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

ReadMagneticEncoderSampleRateAsync(CancellationToken)

Asynchronously reads the contents of the MagneticEncoderSampleRate register.

public Task<MagneticEncoderSampleRateMode> ReadMagneticEncoderSampleRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<MagneticEncoderSampleRateMode>

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

ReadOpticalFlowAsync(CancellationToken)

Asynchronously reads the contents of the OpticalFlow register.

public Task<OpticalFlowPayload> ReadOpticalFlowAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<OpticalFlowPayload>

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

ReadOut0PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out0PulseWidth register.

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

ReadOut1PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out1PulseWidth register.

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

ReadOut2PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out2PulseWidth register.

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

ReadOut3PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out3PulseWidth register.

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

ReadOut4PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out4PulseWidth register.

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

ReadOut5PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out5PulseWidth register.

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

ReadOut6PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out6PulseWidth register.

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

ReadOut7PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out7PulseWidth register.

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

ReadOut8PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out8PulseWidth register.

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

ReadOut9PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Out9PulseWidth register.

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

ReadOutputClearAsync(CancellationToken)

Asynchronously reads the contents of the OutputClear register.

public Task<DigitalOutputs> ReadOutputClearAsync(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.

ReadOutputPulseAsync(CancellationToken)

Asynchronously reads the contents of the OutputPulse register.

public Task<DigitalOutputs> ReadOutputPulseAsync(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.

ReadOutputSetAsync(CancellationToken)

Asynchronously reads the contents of the OutputSet register.

public Task<DigitalOutputs> ReadOutputSetAsync(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.

ReadOutputStateAsync(CancellationToken)

Asynchronously reads the contents of the OutputState register.

public Task<DigitalOutputs> ReadOutputStateAsync(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.

ReadOutputToggleAsync(CancellationToken)

Asynchronously reads the contents of the OutputToggle register.

public Task<DigitalOutputs> ReadOutputToggleAsync(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.

ReadPwm0AcquisitionModeAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0AcquisitionMode register.

public Task<AcquisitionMode> ReadPwm0AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AcquisitionMode>

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

ReadPwm0ActualDutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0ActualDutyCycle register.

public Task<float> ReadPwm0ActualDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm0ActualFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0ActualFrequency register.

public Task<float> ReadPwm0ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm0DutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0DutyCycle register.

public Task<float> ReadPwm0DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm0EventConfigAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0EventConfig register.

public Task<EnableFlag> ReadPwm0EventConfigAsync(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.

ReadPwm0FrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0Frequency register.

public Task<float> ReadPwm0FrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm0PulseCountAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0PulseCount register.

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

ReadPwm0TriggerSourceAsync(CancellationToken)

Asynchronously reads the contents of the Pwm0TriggerSource register.

public Task<TriggerSource> ReadPwm0TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerSource>

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

ReadPwm1AcquisitionModeAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1AcquisitionMode register.

public Task<AcquisitionMode> ReadPwm1AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AcquisitionMode>

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

ReadPwm1ActualDutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1ActualDutyCycle register.

public Task<float> ReadPwm1ActualDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm1ActualFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1ActualFrequency register.

public Task<float> ReadPwm1ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm1DutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1DutyCycle register.

public Task<float> ReadPwm1DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm1EventConfigAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1EventConfig register.

public Task<EnableFlag> ReadPwm1EventConfigAsync(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.

ReadPwm1FrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1Frequency register.

public Task<float> ReadPwm1FrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm1PulseCountAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1PulseCount register.

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

ReadPwm1TriggerSourceAsync(CancellationToken)

Asynchronously reads the contents of the Pwm1TriggerSource register.

public Task<TriggerSource> ReadPwm1TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerSource>

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

ReadPwm2AcquisitionModeAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2AcquisitionMode register.

public Task<AcquisitionMode> ReadPwm2AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AcquisitionMode>

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

ReadPwm2ActualDutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2ActualDutyCycle register.

public Task<float> ReadPwm2ActualDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm2ActualFrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2ActualFrequency register.

public Task<float> ReadPwm2ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm2DutyCycleAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2DutyCycle register.

public Task<float> ReadPwm2DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm2EventConfigAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2EventConfig register.

public Task<EnableFlag> ReadPwm2EventConfigAsync(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.

ReadPwm2FrequencyAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2Frequency register.

public Task<float> ReadPwm2FrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<float>

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

ReadPwm2PulseCountAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2PulseCount register.

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

ReadPwm2TriggerSourceAsync(CancellationToken)

Asynchronously reads the contents of the Pwm2TriggerSource register.

public Task<TriggerSource> ReadPwm2TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerSource>

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

ReadPwmAndStimDisableAsync(CancellationToken)

Asynchronously reads the contents of the PwmAndStimDisable register.

public Task<PwmAndStimMappings> ReadPwmAndStimDisableAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmAndStimMappings>

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

ReadPwmAndStimEnableAsync(CancellationToken)

Asynchronously reads the contents of the PwmAndStimEnable register.

public Task<PwmAndStimMappings> ReadPwmAndStimEnableAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmAndStimMappings>

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

ReadPwmAndStimStateAsync(CancellationToken)

Asynchronously reads the contents of the PwmAndStimState register.

public Task<PwmAndStimMappings> ReadPwmAndStimStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmAndStimMappings>

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

ReadPwmRiseEventAsync(CancellationToken)

Asynchronously reads the contents of the PwmRiseEvent register.

public Task<PwmChannels> ReadPwmRiseEventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmChannels>

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

ReadPwmStartAsync(CancellationToken)

Asynchronously reads the contents of the PwmStart register.

public Task<PwmChannels> ReadPwmStartAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmChannels>

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

ReadPwmStopAsync(CancellationToken)

Asynchronously reads the contents of the PwmStop register.

public Task<PwmChannels> ReadPwmStopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<PwmChannels>

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

ReadServo0PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Servo0PulseWidth register.

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

ReadServo1PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Servo1PulseWidth register.

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

ReadServo2PulseWidthAsync(CancellationToken)

Asynchronously reads the contents of the Servo2PulseWidth register.

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

ReadServoPeriodAsync(CancellationToken)

Asynchronously reads the contents of the ServoPeriod register.

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

ReadStim0AcquisitionModeAsync(CancellationToken)

Asynchronously reads the contents of the Stim0AcquisitionMode register.

public Task<AcquisitionMode> ReadStim0AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<AcquisitionMode>

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

ReadStim0PulseCountAsync(CancellationToken)

Asynchronously reads the contents of the Stim0PulseCount register.

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

ReadStim0PulseOffTimeAsync(CancellationToken)

Asynchronously reads the contents of the Stim0PulseOffTime register.

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

ReadStim0PulseOnTimeAsync(CancellationToken)

Asynchronously reads the contents of the Stim0PulseOnTime register.

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

ReadStim0TriggerSourceAsync(CancellationToken)

Asynchronously reads the contents of the Stim0TriggerSource register.

public Task<TriggerSource> ReadStim0TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerSource>

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

ReadStimStartAsync(CancellationToken)

Asynchronously reads the contents of the StimStart register.

public Task<StimChannels> ReadStimStartAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StimChannels>

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

ReadStimStopAsync(CancellationToken)

Asynchronously reads the contents of the StimStop register.

public Task<StimChannels> ReadStimStopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StimChannels>

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

ReadTimestampedAuxInFallingEdgeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AuxInFallingEdge register.

public Task<Timestamped<AuxiliaryInputs>> ReadTimestampedAuxInFallingEdgeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AuxiliaryInputs>>

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

ReadTimestampedAuxInRisingEdgeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AuxInRisingEdge register.

public Task<Timestamped<AuxiliaryInputs>> ReadTimestampedAuxInRisingEdgeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AuxiliaryInputs>>

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

ReadTimestampedAuxInStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the AuxInState register.

public Task<Timestamped<AuxiliaryInputs>> ReadTimestampedAuxInStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AuxiliaryInputs>>

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

ReadTimestampedExpansionBoardAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ExpansionBoard register.

public Task<Timestamped<ExpansionBoardType>> ReadTimestampedExpansionBoardAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<ExpansionBoardType>>

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

ReadTimestampedMagneticEncoderAsync(CancellationToken)

Asynchronously reads the timestamped contents of the MagneticEncoder register.

public Task<Timestamped<MagneticEncoderPayload>> ReadTimestampedMagneticEncoderAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<MagneticEncoderPayload>>

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

ReadTimestampedMagneticEncoderSampleRateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the MagneticEncoderSampleRate register.

public Task<Timestamped<MagneticEncoderSampleRateMode>> ReadTimestampedMagneticEncoderSampleRateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<MagneticEncoderSampleRateMode>>

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

ReadTimestampedOpticalFlowAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OpticalFlow register.

public Task<Timestamped<OpticalFlowPayload>> ReadTimestampedOpticalFlowAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<OpticalFlowPayload>>

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

ReadTimestampedOut0PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out0PulseWidth register.

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

ReadTimestampedOut1PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out1PulseWidth register.

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

ReadTimestampedOut2PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out2PulseWidth register.

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

ReadTimestampedOut3PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out3PulseWidth register.

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

ReadTimestampedOut4PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out4PulseWidth register.

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

ReadTimestampedOut5PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out5PulseWidth register.

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

ReadTimestampedOut6PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out6PulseWidth register.

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

ReadTimestampedOut7PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out7PulseWidth register.

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

ReadTimestampedOut8PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out8PulseWidth register.

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

ReadTimestampedOut9PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Out9PulseWidth register.

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

ReadTimestampedOutputClearAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputClear register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputClearAsync(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.

ReadTimestampedOutputPulseAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputPulse register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputPulseAsync(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.

ReadTimestampedOutputSetAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputSet register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputSetAsync(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.

ReadTimestampedOutputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputState register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputStateAsync(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.

ReadTimestampedOutputToggleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the OutputToggle register.

public Task<Timestamped<DigitalOutputs>> ReadTimestampedOutputToggleAsync(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.

ReadTimestampedPwm0AcquisitionModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0AcquisitionMode register.

public Task<Timestamped<AcquisitionMode>> ReadTimestampedPwm0AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AcquisitionMode>>

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

ReadTimestampedPwm0ActualDutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0ActualDutyCycle register.

public Task<Timestamped<float>> ReadTimestampedPwm0ActualDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm0ActualFrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0ActualFrequency register.

public Task<Timestamped<float>> ReadTimestampedPwm0ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm0DutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0DutyCycle register.

public Task<Timestamped<float>> ReadTimestampedPwm0DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm0EventConfigAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0EventConfig register.

public Task<Timestamped<EnableFlag>> ReadTimestampedPwm0EventConfigAsync(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.

ReadTimestampedPwm0FrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0Frequency register.

public Task<Timestamped<float>> ReadTimestampedPwm0FrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm0PulseCountAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0PulseCount register.

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

ReadTimestampedPwm0TriggerSourceAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm0TriggerSource register.

public Task<Timestamped<TriggerSource>> ReadTimestampedPwm0TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerSource>>

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

ReadTimestampedPwm1AcquisitionModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1AcquisitionMode register.

public Task<Timestamped<AcquisitionMode>> ReadTimestampedPwm1AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AcquisitionMode>>

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

ReadTimestampedPwm1ActualDutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1ActualDutyCycle register.

public Task<Timestamped<float>> ReadTimestampedPwm1ActualDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm1ActualFrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1ActualFrequency register.

public Task<Timestamped<float>> ReadTimestampedPwm1ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm1DutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1DutyCycle register.

public Task<Timestamped<float>> ReadTimestampedPwm1DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm1EventConfigAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1EventConfig register.

public Task<Timestamped<EnableFlag>> ReadTimestampedPwm1EventConfigAsync(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.

ReadTimestampedPwm1FrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1Frequency register.

public Task<Timestamped<float>> ReadTimestampedPwm1FrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm1PulseCountAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1PulseCount register.

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

ReadTimestampedPwm1TriggerSourceAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm1TriggerSource register.

public Task<Timestamped<TriggerSource>> ReadTimestampedPwm1TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerSource>>

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

ReadTimestampedPwm2AcquisitionModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2AcquisitionMode register.

public Task<Timestamped<AcquisitionMode>> ReadTimestampedPwm2AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AcquisitionMode>>

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

ReadTimestampedPwm2ActualDutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2ActualDutyCycle register.

public Task<Timestamped<float>> ReadTimestampedPwm2ActualDutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm2ActualFrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2ActualFrequency register.

public Task<Timestamped<float>> ReadTimestampedPwm2ActualFrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm2DutyCycleAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2DutyCycle register.

public Task<Timestamped<float>> ReadTimestampedPwm2DutyCycleAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm2EventConfigAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2EventConfig register.

public Task<Timestamped<EnableFlag>> ReadTimestampedPwm2EventConfigAsync(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.

ReadTimestampedPwm2FrequencyAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2Frequency register.

public Task<Timestamped<float>> ReadTimestampedPwm2FrequencyAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<float>>

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

ReadTimestampedPwm2PulseCountAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2PulseCount register.

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

ReadTimestampedPwm2TriggerSourceAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Pwm2TriggerSource register.

public Task<Timestamped<TriggerSource>> ReadTimestampedPwm2TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerSource>>

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

ReadTimestampedPwmAndStimDisableAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PwmAndStimDisable register.

public Task<Timestamped<PwmAndStimMappings>> ReadTimestampedPwmAndStimDisableAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PwmAndStimMappings>>

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

ReadTimestampedPwmAndStimEnableAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PwmAndStimEnable register.

public Task<Timestamped<PwmAndStimMappings>> ReadTimestampedPwmAndStimEnableAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PwmAndStimMappings>>

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

ReadTimestampedPwmAndStimStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PwmAndStimState register.

public Task<Timestamped<PwmAndStimMappings>> ReadTimestampedPwmAndStimStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PwmAndStimMappings>>

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

ReadTimestampedPwmRiseEventAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PwmRiseEvent register.

public Task<Timestamped<PwmChannels>> ReadTimestampedPwmRiseEventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PwmChannels>>

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

ReadTimestampedPwmStartAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PwmStart register.

public Task<Timestamped<PwmChannels>> ReadTimestampedPwmStartAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PwmChannels>>

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

ReadTimestampedPwmStopAsync(CancellationToken)

Asynchronously reads the timestamped contents of the PwmStop register.

public Task<Timestamped<PwmChannels>> ReadTimestampedPwmStopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<PwmChannels>>

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

ReadTimestampedServo0PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Servo0PulseWidth register.

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

ReadTimestampedServo1PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Servo1PulseWidth register.

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

ReadTimestampedServo2PulseWidthAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Servo2PulseWidth register.

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

ReadTimestampedServoPeriodAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ServoPeriod register.

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

ReadTimestampedStim0AcquisitionModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Stim0AcquisitionMode register.

public Task<Timestamped<AcquisitionMode>> ReadTimestampedStim0AcquisitionModeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<AcquisitionMode>>

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

ReadTimestampedStim0PulseCountAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Stim0PulseCount register.

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

ReadTimestampedStim0PulseOffTimeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Stim0PulseOffTime register.

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

ReadTimestampedStim0PulseOnTimeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Stim0PulseOnTime register.

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

ReadTimestampedStim0TriggerSourceAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Stim0TriggerSource register.

public Task<Timestamped<TriggerSource>> ReadTimestampedStim0TriggerSourceAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerSource>>

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

ReadTimestampedStimStartAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StimStart register.

public Task<Timestamped<StimChannels>> ReadTimestampedStimStartAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<StimChannels>>

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

ReadTimestampedStimStopAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StimStop register.

public Task<Timestamped<StimChannels>> ReadTimestampedStimStopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<StimChannels>>

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

WriteAuxInFallingEdgeAsync(AuxiliaryInputs, CancellationToken)

Asynchronously writes a value to the AuxInFallingEdge register.

public Task WriteAuxInFallingEdgeAsync(AuxiliaryInputs value, CancellationToken cancellationToken = default)

Parameters

value AuxiliaryInputs

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.

WriteAuxInRisingEdgeAsync(AuxiliaryInputs, CancellationToken)

Asynchronously writes a value to the AuxInRisingEdge register.

public Task WriteAuxInRisingEdgeAsync(AuxiliaryInputs value, CancellationToken cancellationToken = default)

Parameters

value AuxiliaryInputs

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.

WriteExpansionBoardAsync(ExpansionBoardType, CancellationToken)

Asynchronously writes a value to the ExpansionBoard register.

public Task WriteExpansionBoardAsync(ExpansionBoardType value, CancellationToken cancellationToken = default)

Parameters

value ExpansionBoardType

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.

WriteMagneticEncoderSampleRateAsync(MagneticEncoderSampleRateMode, CancellationToken)

Asynchronously writes a value to the MagneticEncoderSampleRate register.

public Task WriteMagneticEncoderSampleRateAsync(MagneticEncoderSampleRateMode value, CancellationToken cancellationToken = default)

Parameters

value MagneticEncoderSampleRateMode

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.

WriteOut0PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out0PulseWidth register.

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

WriteOut1PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out1PulseWidth register.

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

WriteOut2PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out2PulseWidth register.

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

WriteOut3PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out3PulseWidth register.

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

WriteOut4PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out4PulseWidth register.

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

WriteOut5PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out5PulseWidth register.

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

WriteOut6PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out6PulseWidth register.

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

WriteOut7PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out7PulseWidth register.

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

WriteOut8PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out8PulseWidth register.

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

WriteOut9PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Out9PulseWidth register.

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

WriteOutputClearAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the OutputClear register.

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

WriteOutputPulseAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the OutputPulse register.

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

WriteOutputSetAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the OutputSet register.

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

WriteOutputStateAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the OutputState register.

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

WriteOutputToggleAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the OutputToggle register.

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

WritePwm0AcquisitionModeAsync(AcquisitionMode, CancellationToken)

Asynchronously writes a value to the Pwm0AcquisitionMode register.

public Task WritePwm0AcquisitionModeAsync(AcquisitionMode value, CancellationToken cancellationToken = default)

Parameters

value AcquisitionMode

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.

WritePwm0DutyCycleAsync(float, CancellationToken)

Asynchronously writes a value to the Pwm0DutyCycle register.

public Task WritePwm0DutyCycleAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.

WritePwm0EventConfigAsync(EnableFlag, CancellationToken)

Asynchronously writes a value to the Pwm0EventConfig register.

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

WritePwm0FrequencyAsync(float, CancellationToken)

Asynchronously writes a value to the Pwm0Frequency register.

public Task WritePwm0FrequencyAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.

WritePwm0PulseCountAsync(ushort, CancellationToken)

Asynchronously writes a value to the Pwm0PulseCount register.

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

WritePwm0TriggerSourceAsync(TriggerSource, CancellationToken)

Asynchronously writes a value to the Pwm0TriggerSource register.

public Task WritePwm0TriggerSourceAsync(TriggerSource value, CancellationToken cancellationToken = default)

Parameters

value TriggerSource

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.

WritePwm1AcquisitionModeAsync(AcquisitionMode, CancellationToken)

Asynchronously writes a value to the Pwm1AcquisitionMode register.

public Task WritePwm1AcquisitionModeAsync(AcquisitionMode value, CancellationToken cancellationToken = default)

Parameters

value AcquisitionMode

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.

WritePwm1DutyCycleAsync(float, CancellationToken)

Asynchronously writes a value to the Pwm1DutyCycle register.

public Task WritePwm1DutyCycleAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.

WritePwm1EventConfigAsync(EnableFlag, CancellationToken)

Asynchronously writes a value to the Pwm1EventConfig register.

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

WritePwm1FrequencyAsync(float, CancellationToken)

Asynchronously writes a value to the Pwm1Frequency register.

public Task WritePwm1FrequencyAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.

WritePwm1PulseCountAsync(ushort, CancellationToken)

Asynchronously writes a value to the Pwm1PulseCount register.

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

WritePwm1TriggerSourceAsync(TriggerSource, CancellationToken)

Asynchronously writes a value to the Pwm1TriggerSource register.

public Task WritePwm1TriggerSourceAsync(TriggerSource value, CancellationToken cancellationToken = default)

Parameters

value TriggerSource

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.

WritePwm2AcquisitionModeAsync(AcquisitionMode, CancellationToken)

Asynchronously writes a value to the Pwm2AcquisitionMode register.

public Task WritePwm2AcquisitionModeAsync(AcquisitionMode value, CancellationToken cancellationToken = default)

Parameters

value AcquisitionMode

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.

WritePwm2DutyCycleAsync(float, CancellationToken)

Asynchronously writes a value to the Pwm2DutyCycle register.

public Task WritePwm2DutyCycleAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.

WritePwm2EventConfigAsync(EnableFlag, CancellationToken)

Asynchronously writes a value to the Pwm2EventConfig register.

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

WritePwm2FrequencyAsync(float, CancellationToken)

Asynchronously writes a value to the Pwm2Frequency register.

public Task WritePwm2FrequencyAsync(float value, CancellationToken cancellationToken = default)

Parameters

value float

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.

WritePwm2PulseCountAsync(ushort, CancellationToken)

Asynchronously writes a value to the Pwm2PulseCount register.

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

WritePwm2TriggerSourceAsync(TriggerSource, CancellationToken)

Asynchronously writes a value to the Pwm2TriggerSource register.

public Task WritePwm2TriggerSourceAsync(TriggerSource value, CancellationToken cancellationToken = default)

Parameters

value TriggerSource

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.

WritePwmAndStimDisableAsync(PwmAndStimMappings, CancellationToken)

Asynchronously writes a value to the PwmAndStimDisable register.

public Task WritePwmAndStimDisableAsync(PwmAndStimMappings value, CancellationToken cancellationToken = default)

Parameters

value PwmAndStimMappings

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.

WritePwmAndStimEnableAsync(PwmAndStimMappings, CancellationToken)

Asynchronously writes a value to the PwmAndStimEnable register.

public Task WritePwmAndStimEnableAsync(PwmAndStimMappings value, CancellationToken cancellationToken = default)

Parameters

value PwmAndStimMappings

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.

WritePwmAndStimStateAsync(PwmAndStimMappings, CancellationToken)

Asynchronously writes a value to the PwmAndStimState register.

public Task WritePwmAndStimStateAsync(PwmAndStimMappings value, CancellationToken cancellationToken = default)

Parameters

value PwmAndStimMappings

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.

WritePwmRiseEventAsync(PwmChannels, CancellationToken)

Asynchronously writes a value to the PwmRiseEvent register.

public Task WritePwmRiseEventAsync(PwmChannels value, CancellationToken cancellationToken = default)

Parameters

value PwmChannels

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.

WritePwmStartAsync(PwmChannels, CancellationToken)

Asynchronously writes a value to the PwmStart register.

public Task WritePwmStartAsync(PwmChannels value, CancellationToken cancellationToken = default)

Parameters

value PwmChannels

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.

WritePwmStopAsync(PwmChannels, CancellationToken)

Asynchronously writes a value to the PwmStop register.

public Task WritePwmStopAsync(PwmChannels value, CancellationToken cancellationToken = default)

Parameters

value PwmChannels

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.

WriteServo0PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Servo0PulseWidth register.

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

WriteServo1PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Servo1PulseWidth register.

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

WriteServo2PulseWidthAsync(ushort, CancellationToken)

Asynchronously writes a value to the Servo2PulseWidth register.

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

WriteServoPeriodAsync(ushort, CancellationToken)

Asynchronously writes a value to the ServoPeriod register.

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

WriteStim0AcquisitionModeAsync(AcquisitionMode, CancellationToken)

Asynchronously writes a value to the Stim0AcquisitionMode register.

public Task WriteStim0AcquisitionModeAsync(AcquisitionMode value, CancellationToken cancellationToken = default)

Parameters

value AcquisitionMode

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.

WriteStim0PulseCountAsync(ushort, CancellationToken)

Asynchronously writes a value to the Stim0PulseCount register.

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

WriteStim0PulseOffTimeAsync(ushort, CancellationToken)

Asynchronously writes a value to the Stim0PulseOffTime register.

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

WriteStim0PulseOnTimeAsync(ushort, CancellationToken)

Asynchronously writes a value to the Stim0PulseOnTime register.

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

WriteStim0TriggerSourceAsync(TriggerSource, CancellationToken)

Asynchronously writes a value to the Stim0TriggerSource register.

public Task WriteStim0TriggerSourceAsync(TriggerSource value, CancellationToken cancellationToken = default)

Parameters

value TriggerSource

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.

WriteStimStartAsync(StimChannels, CancellationToken)

Asynchronously writes a value to the StimStart register.

public Task WriteStimStartAsync(StimChannels value, CancellationToken cancellationToken = default)

Parameters

value StimChannels

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.

WriteStimStopAsync(StimChannels, CancellationToken)

Asynchronously writes a value to the StimStop register.

public Task WriteStimStopAsync(StimChannels value, CancellationToken cancellationToken = default)

Parameters

value StimChannels

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.