Skip to content

Create a generic headstage dialog #517

@bparks13

Description

@bparks13

Currently the headstage dialogs are all manually implemented, with a dialog that has a fixed number of tabs and the devices are manually added to the tabs.

Instead, we should switch to using a dialog that takes in a MultiDeviceFactory, which all headstages inherit from, and automate the dialog based on this class.

For example, the entire list of devices could be retrieved using GetDevices(), so that anytime a new device is added, or a new headstage for that matter, the dialog will automatically respond to all available devices.

Using the type of the device, we should be able to determine if there is a custom GUI, or if the generic dialog (i.e., the property pane) should be used.

Headstage dialogs already implemented:

  • Headstage64
  • HeadstageRhs2116
  • HeadstageNeuropixelsV1e / HeadstageNeuropixelsV1f
  • HeadstageNeuropixelsV2e

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions