Table of Contents

Class AsyncDevice

Namespace
Harp.CameraControllerGen2
Assembly
Harp.CameraControllerGen2.dll

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

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

Methods

ReadCam0EventAsync(CancellationToken)

Asynchronously reads the contents of the Cam0Event register.

public Task<CameraEvents> ReadCam0EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<CameraEvents>

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

ReadCam1EventAsync(CancellationToken)

Asynchronously reads the contents of the Cam1Event register.

public Task<CameraEvents> ReadCam1EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<CameraEvents>

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

ReadConfigureCam0EventAsync(CancellationToken)

Asynchronously reads the contents of the ConfigureCam0Event register.

public Task<EventConfiguration> ReadConfigureCam0EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<EventConfiguration>

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

ReadConfigureCam1EventAsync(CancellationToken)

Asynchronously reads the contents of the ConfigureCam1Event register.

public Task<EventConfiguration> ReadConfigureCam1EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<EventConfiguration>

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

ReadConfigureOutput0Async(CancellationToken)

Asynchronously reads the contents of the ConfigureOutput0 register.

public Task<OutputConfiguration> ReadConfigureOutput0Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<OutputConfiguration>

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

ReadConfigureOutput1Async(CancellationToken)

Asynchronously reads the contents of the ConfigureOutput1 register.

public Task<OutputConfiguration> ReadConfigureOutput1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<OutputConfiguration>

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

ReadInputStateAsync(CancellationToken)

Asynchronously reads the contents of the InputState register.

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

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<DigitalInputs>

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

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.

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.

ReadStartAndStopAsync(CancellationToken)

Asynchronously reads the contents of the StartAndStop register.

public Task<CameraFlags> ReadStartAndStopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<CameraFlags>

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

ReadStartAndStopTimestampedAsync(CancellationToken)

Asynchronously reads the contents of the StartAndStopTimestamped register.

public Task<CameraFlags> ReadStartAndStopTimestampedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<CameraFlags>

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

ReadStartTimestampAsync(CancellationToken)

Asynchronously reads the contents of the StartTimestamp register.

public Task<uint> ReadStartTimestampAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<uint>

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

ReadStopTimestampAsync(CancellationToken)

Asynchronously reads the contents of the StopTimestamp register.

public Task<uint> ReadStopTimestampAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<uint>

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

ReadStrobeSourceCam0Async(CancellationToken)

Asynchronously reads the contents of the StrobeSourceCam0 register.

public Task<StrobeSource> ReadStrobeSourceCam0Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StrobeSource>

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

ReadStrobeSourceCam1Async(CancellationToken)

Asynchronously reads the contents of the StrobeSourceCam1 register.

public Task<StrobeSource> ReadStrobeSourceCam1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<StrobeSource>

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

ReadTimestampedCam0EventAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Cam0Event register.

public Task<Timestamped<CameraEvents>> ReadTimestampedCam0EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<CameraEvents>>

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

ReadTimestampedCam1EventAsync(CancellationToken)

Asynchronously reads the timestamped contents of the Cam1Event register.

public Task<Timestamped<CameraEvents>> ReadTimestampedCam1EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<CameraEvents>>

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

ReadTimestampedConfigureCam0EventAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ConfigureCam0Event register.

public Task<Timestamped<EventConfiguration>> ReadTimestampedConfigureCam0EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<EventConfiguration>>

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

ReadTimestampedConfigureCam1EventAsync(CancellationToken)

Asynchronously reads the timestamped contents of the ConfigureCam1Event register.

public Task<Timestamped<EventConfiguration>> ReadTimestampedConfigureCam1EventAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<EventConfiguration>>

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

ReadTimestampedConfigureOutput0Async(CancellationToken)

Asynchronously reads the timestamped contents of the ConfigureOutput0 register.

public Task<Timestamped<OutputConfiguration>> ReadTimestampedConfigureOutput0Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<OutputConfiguration>>

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

ReadTimestampedConfigureOutput1Async(CancellationToken)

Asynchronously reads the timestamped contents of the ConfigureOutput1 register.

public Task<Timestamped<OutputConfiguration>> ReadTimestampedConfigureOutput1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<OutputConfiguration>>

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

ReadTimestampedInputStateAsync(CancellationToken)

Asynchronously reads the timestamped contents of the InputState register.

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

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<DigitalInputs>>

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

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.

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.

ReadTimestampedStartAndStopAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StartAndStop register.

public Task<Timestamped<CameraFlags>> ReadTimestampedStartAndStopAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<CameraFlags>>

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

ReadTimestampedStartAndStopTimestampedAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StartAndStopTimestamped register.

public Task<Timestamped<CameraFlags>> ReadTimestampedStartAndStopTimestampedAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<CameraFlags>>

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

ReadTimestampedStartTimestampAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StartTimestamp register.

public Task<Timestamped<uint>> ReadTimestampedStartTimestampAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<uint>>

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

ReadTimestampedStopTimestampAsync(CancellationToken)

Asynchronously reads the timestamped contents of the StopTimestamp register.

public Task<Timestamped<uint>> ReadTimestampedStopTimestampAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<uint>>

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

ReadTimestampedStrobeSourceCam0Async(CancellationToken)

Asynchronously reads the timestamped contents of the StrobeSourceCam0 register.

public Task<Timestamped<StrobeSource>> ReadTimestampedStrobeSourceCam0Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<StrobeSource>>

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

ReadTimestampedStrobeSourceCam1Async(CancellationToken)

Asynchronously reads the timestamped contents of the StrobeSourceCam1 register.

public Task<Timestamped<StrobeSource>> ReadTimestampedStrobeSourceCam1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<StrobeSource>>

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

ReadTimestampedTriggerConfigCam0Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerConfigCam0 register.

public Task<Timestamped<TriggerSource>> ReadTimestampedTriggerConfigCam0Async(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.

ReadTimestampedTriggerConfigCam1Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerConfigCam1 register.

public Task<Timestamped<TriggerSource>> ReadTimestampedTriggerConfigCam1Async(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.

ReadTimestampedTriggerDurationCam0Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerDurationCam0 register.

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

ReadTimestampedTriggerDurationCam1Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerDurationCam1 register.

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

ReadTimestampedTriggerFrequencyCam0Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerFrequencyCam0 register.

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

ReadTimestampedTriggerFrequencyCam1Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerFrequencyCam1 register.

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

ReadTimestampedTriggerInvertedCam0Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerInvertedCam0 register.

public Task<Timestamped<TriggerInverted>> ReadTimestampedTriggerInvertedCam0Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerInverted>>

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

ReadTimestampedTriggerInvertedCam1Async(CancellationToken)

Asynchronously reads the timestamped contents of the TriggerInvertedCam1 register.

public Task<Timestamped<TriggerInverted>> ReadTimestampedTriggerInvertedCam1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<Timestamped<TriggerInverted>>

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

ReadTriggerConfigCam0Async(CancellationToken)

Asynchronously reads the contents of the TriggerConfigCam0 register.

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

ReadTriggerConfigCam1Async(CancellationToken)

Asynchronously reads the contents of the TriggerConfigCam1 register.

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

ReadTriggerDurationCam0Async(CancellationToken)

Asynchronously reads the contents of the TriggerDurationCam0 register.

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

ReadTriggerDurationCam1Async(CancellationToken)

Asynchronously reads the contents of the TriggerDurationCam1 register.

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

ReadTriggerFrequencyCam0Async(CancellationToken)

Asynchronously reads the contents of the TriggerFrequencyCam0 register.

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

ReadTriggerFrequencyCam1Async(CancellationToken)

Asynchronously reads the contents of the TriggerFrequencyCam1 register.

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

ReadTriggerInvertedCam0Async(CancellationToken)

Asynchronously reads the contents of the TriggerInvertedCam0 register.

public Task<TriggerInverted> ReadTriggerInvertedCam0Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerInverted>

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

ReadTriggerInvertedCam1Async(CancellationToken)

Asynchronously reads the contents of the TriggerInvertedCam1 register.

public Task<TriggerInverted> ReadTriggerInvertedCam1Async(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<TriggerInverted>

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

WriteConfigureCam0EventAsync(EventConfiguration, CancellationToken)

Asynchronously writes a value to the ConfigureCam0Event register.

public Task WriteConfigureCam0EventAsync(EventConfiguration value, CancellationToken cancellationToken = default)

Parameters

value EventConfiguration

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.

WriteConfigureCam1EventAsync(EventConfiguration, CancellationToken)

Asynchronously writes a value to the ConfigureCam1Event register.

public Task WriteConfigureCam1EventAsync(EventConfiguration value, CancellationToken cancellationToken = default)

Parameters

value EventConfiguration

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.

WriteConfigureOutput0Async(OutputConfiguration, CancellationToken)

Asynchronously writes a value to the ConfigureOutput0 register.

public Task WriteConfigureOutput0Async(OutputConfiguration value, CancellationToken cancellationToken = default)

Parameters

value OutputConfiguration

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.

WriteConfigureOutput1Async(OutputConfiguration, CancellationToken)

Asynchronously writes a value to the ConfigureOutput1 register.

public Task WriteConfigureOutput1Async(OutputConfiguration value, CancellationToken cancellationToken = default)

Parameters

value OutputConfiguration

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.

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.

WriteStartAndStopAsync(CameraFlags, CancellationToken)

Asynchronously writes a value to the StartAndStop register.

public Task WriteStartAndStopAsync(CameraFlags value, CancellationToken cancellationToken = default)

Parameters

value CameraFlags

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.

WriteStartAndStopTimestampedAsync(CameraFlags, CancellationToken)

Asynchronously writes a value to the StartAndStopTimestamped register.

public Task WriteStartAndStopTimestampedAsync(CameraFlags value, CancellationToken cancellationToken = default)

Parameters

value CameraFlags

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.

WriteStartTimestampAsync(uint, CancellationToken)

Asynchronously writes a value to the StartTimestamp register.

public Task WriteStartTimestampAsync(uint value, CancellationToken cancellationToken = default)

Parameters

value uint

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.

WriteStopTimestampAsync(uint, CancellationToken)

Asynchronously writes a value to the StopTimestamp register.

public Task WriteStopTimestampAsync(uint value, CancellationToken cancellationToken = default)

Parameters

value uint

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.

WriteStrobeSourceCam0Async(StrobeSource, CancellationToken)

Asynchronously writes a value to the StrobeSourceCam0 register.

public Task WriteStrobeSourceCam0Async(StrobeSource value, CancellationToken cancellationToken = default)

Parameters

value StrobeSource

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.

WriteStrobeSourceCam1Async(StrobeSource, CancellationToken)

Asynchronously writes a value to the StrobeSourceCam1 register.

public Task WriteStrobeSourceCam1Async(StrobeSource value, CancellationToken cancellationToken = default)

Parameters

value StrobeSource

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.

WriteTriggerConfigCam0Async(TriggerSource, CancellationToken)

Asynchronously writes a value to the TriggerConfigCam0 register.

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

WriteTriggerConfigCam1Async(TriggerSource, CancellationToken)

Asynchronously writes a value to the TriggerConfigCam1 register.

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

WriteTriggerDurationCam0Async(ushort, CancellationToken)

Asynchronously writes a value to the TriggerDurationCam0 register.

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

WriteTriggerDurationCam1Async(ushort, CancellationToken)

Asynchronously writes a value to the TriggerDurationCam1 register.

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

WriteTriggerFrequencyCam0Async(ushort, CancellationToken)

Asynchronously writes a value to the TriggerFrequencyCam0 register.

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

WriteTriggerFrequencyCam1Async(ushort, CancellationToken)

Asynchronously writes a value to the TriggerFrequencyCam1 register.

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

WriteTriggerInvertedCam0Async(TriggerInverted, CancellationToken)

Asynchronously writes a value to the TriggerInvertedCam0 register.

public Task WriteTriggerInvertedCam0Async(TriggerInverted value, CancellationToken cancellationToken = default)

Parameters

value TriggerInverted

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.

WriteTriggerInvertedCam1Async(TriggerInverted, CancellationToken)

Asynchronously writes a value to the TriggerInvertedCam1 register.

public Task WriteTriggerInvertedCam1Async(TriggerInverted value, CancellationToken cancellationToken = default)

Parameters

value TriggerInverted

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.