Table of Contents

Class AsyncDevice

Namespace
Harp.SyringePump
Assembly
Harp.SyringePump.dll

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

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

Methods

ReadDI0TriggerAsync(CancellationToken)

Asynchronously reads the contents of the DI0Trigger register.

ReadDO0SyncAsync(CancellationToken)

Asynchronously reads the contents of the DO0Sync register.

ReadDO1SyncAsync(CancellationToken)

Asynchronously reads the contents of the DO1Sync register.

ReadDigitalInputStateAsync(CancellationToken)

Asynchronously reads the contents of the DigitalInputState register.

ReadDigitalOutputClearAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputClear register.

ReadDigitalOutputSetAsync(CancellationToken)

Asynchronously reads the contents of the DigitalOutputSet register.

ReadDirectionAsync(CancellationToken)

Asynchronously reads the contents of the Direction register.

ReadEnableEventsAsync(CancellationToken)

Asynchronously reads the contents of the EnableEvents register.

ReadEnableMotorDriverAsync(CancellationToken)

Asynchronously reads the contents of the EnableMotorDriver register.

ReadEnableProtocolAsync(CancellationToken)

Asynchronously reads the contents of the EnableProtocol register.

ReadForwardSwitchAsync(CancellationToken)

Asynchronously reads the contents of the ForwardSwitch register.

ReadProtocolAsync(CancellationToken)

Asynchronously reads the contents of the Protocol register.

ReadProtocolDirectionAsync(CancellationToken)

Asynchronously reads the contents of the ProtocolDirection register.

ReadProtocolPeriodAsync(CancellationToken)

Asynchronously reads the contents of the ProtocolPeriod register.

ReadProtocolStepCountAsync(CancellationToken)

Asynchronously reads the contents of the ProtocolStepCount register.

ReadReverseSwitchAsync(CancellationToken)

Asynchronously reads the contents of the ReverseSwitch register.

ReadStepAsync(CancellationToken)

Asynchronously reads the contents of the Step register.

ReadStepModeAsync(CancellationToken)

Asynchronously reads the contents of the StepMode register.

ReadTimestampedDI0TriggerAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DI0Trigger register.

ReadTimestampedDO0SyncAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO0Sync register.

ReadTimestampedDO1SyncAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DO1Sync register.

ReadTimestampedDigitalInputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalInputState register.

ReadTimestampedDigitalOutputClearAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputClear register.

ReadTimestampedDigitalOutputSetAsync(CancellationToken)

Asynchronously reads the timestamped contents of the DigitalOutputSet register.

ReadTimestampedDirectionAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Direction register.

ReadTimestampedEnableEventsAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableEvents register.

ReadTimestampedEnableMotorDriverAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableMotorDriver register.

ReadTimestampedEnableProtocolAsync(CancellationToken)

Asynchronously reads the timestamped contents of the EnableProtocol register.

ReadTimestampedForwardSwitchAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ForwardSwitch register.

ReadTimestampedProtocolAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Protocol register.

ReadTimestampedProtocolDirectionAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ProtocolDirection register.

ReadTimestampedProtocolPeriodAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ProtocolPeriod register.

ReadTimestampedProtocolStepCountAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ProtocolStepCount register.

ReadTimestampedReverseSwitchAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ReverseSwitch register.

ReadTimestampedStepAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Step register.

ReadTimestampedStepModeAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StepMode register.

WriteDI0TriggerAsync(DI0TriggerConfig, CancellationToken)

Asynchronously writes a value to the DI0Trigger register.

WriteDO0SyncAsync(DO0SyncConfig, CancellationToken)

Asynchronously writes a value to the DO0Sync register.

WriteDO1SyncAsync(DO1SyncConfig, CancellationToken)

Asynchronously writes a value to the DO1Sync register.

WriteDigitalOutputClearAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputClear register.

WriteDigitalOutputSetAsync(DigitalOutputs, CancellationToken)

Asynchronously writes a value to the DigitalOutputSet register.

WriteDirectionAsync(DirectionState, CancellationToken)

Asynchronously writes a value to the Direction register.

WriteEnableEventsAsync(PumpEvents, CancellationToken)

Asynchronously writes a value to the EnableEvents register.

WriteEnableMotorDriverAsync(EnableFlag, CancellationToken)

Asynchronously writes a value to the EnableMotorDriver register.

WriteEnableProtocolAsync(EnableFlag, CancellationToken)

Asynchronously writes a value to the EnableProtocol register.

WriteProtocolDirectionAsync(ProtocolDirectionState, CancellationToken)

Asynchronously writes a value to the ProtocolDirection register.

WriteProtocolPeriodAsync(ushort, CancellationToken)

Asynchronously writes a value to the ProtocolPeriod register.

WriteProtocolStepCountAsync(ushort, CancellationToken)

Asynchronously writes a value to the ProtocolStepCount register.

WriteStepAsync(StepState, CancellationToken)

Asynchronously writes a value to the Step register.

WriteStepModeAsync(StepModeType, CancellationToken)

Asynchronously writes a value to the StepMode register.