Class Device
- Namespace
- Harp.CameraControllerGen2
- Assembly
- Harp.CameraControllerGen2.dll
Represents an observable source of messages from the Harp device connected at the specified serial port.
| CameraControllerGen2 | |
|---|---|
| whoAmI | 1170 |
| firmwareVersion | 1.1 |
| hardwareTargets | 1.2 |
Registers
| name | address | type | length | access | description | range | interfaceType |
|---|---|---|---|---|---|---|---|
| Cam0Event | 32 | U8 | Event | Signals a frame was triggered on camera 0 | CameraEvents | ||
| Cam1Event | 33 | U8 | Event | Signals a frame was triggered on camera 1 | CameraEvents | ||
| ConfigureCam0Event | 34 | U8 | Write | Configures the event on camera 0 | EventConfiguration | ||
| ConfigureCam1Event | 35 | U8 | Write | Configures the event on camera 0 | EventConfiguration | ||
| StartAndStop | 36 | U8 | Write | Starts and stops the cameras immediately | CameraFlags | ||
| StartAndStopTimestamped | 37 | U8 | Write | Starts and stops the cameras on a timestamp | CameraFlags | ||
| StartTimestamp | 38 | U32 | Write | Specifies when the camera will start to acquire frames | |||
| StopTimestamp | 39 | U32 | Write | Specifies when the camera will stop acquiring frames | |||
| TriggerConfigCam0 | 42 | U8 | Write | Configures the trigger source for camera 0 | TriggerSource | ||
| TriggerInvertedCam0 | 43 | U8 | Write | Configures whether trigger is inverted for camera 0 | TriggerInverted | ||
| StrobeSourceCam0 | 44 | U8 | Write | Select the strobe source line for camera 0. The direct line or with pull-up. | StrobeSource | ||
| TriggerFrequencyCam0 | 45 | U16 | Write | Specifies the trigger frequency for camera 0 between 1 and 1000 | |||
| TriggerDurationCam0 | 46 | U16 | Write | Sets the duration of the trigger pulse, in microseconds (minimum is 100), for camera 0 | |||
| TriggerConfigCam1 | 49 | U8 | Write | Configures the trigger source for camera 1 | TriggerSource | ||
| TriggerInvertedCam1 | 50 | U8 | Write | Configures whether trigger is inverted for camera 1 | TriggerInverted | ||
| StrobeSourceCam1 | 51 | U8 | Write | Select the strobe source line for camera 1. The direct line or with pull-up. | StrobeSource | ||
| TriggerFrequencyCam1 | 52 | U16 | Write | Specifies the trigger frequency for camera 1 between 1 and 1000 | |||
| TriggerDurationCam1 | 53 | U16 | Write | Sets the duration of the trigger pulse, in microseconds (minimum is 100), for camera 1 | |||
| ConfigureOutput0 | 56 | U8 | Write | Configures the digital Output 0 | OutputConfiguration | ||
| ConfigureOutput1 | 57 | U8 | Write | Configures the digital Output 1 | OutputConfiguration | ||
| OutputSet | 60 | U8 | Write | Set the specified digital output lines | DigitalOutputs | ||
| OutputClear | 61 | U8 | Write | Clear the specified digital output lines | DigitalOutputs | ||
| OutputToggle | 62 | U8 | Write | Toggle the specified digital output lines | DigitalOutputs | ||
| OutputState | 63 | U8 | Write | Write the state of all digital output lines | DigitalOutputs | ||
| InputState | 64 | U8 | Event | Specifies the state of the digital Input 0 | DigitalInputs |
[Combinator(MethodName = "Generate")]
[WorkflowElementCategory(ElementCategory.Source)]
public class Device : Device, INamedElement
- Inheritance
-
Device
- Implements
- Inherited Members
Constructors
Fields
- WhoAmI
Represents the unique identity class of the Harp.CameraControllerGen2 device. This field is constant.
Properties
- RegisterMap
Gets a read-only mapping from address to register type.
Methods
- CreateAsync(string)
Initializes a new instance of the asynchronous API to configure and interface with CameraControllerGen2 devices on the specified serial port.