From 9bdd5062aa87074c489d89a6422e48671416c4ef Mon Sep 17 00:00:00 2001 From: Jonathan Newman Date: Thu, 31 Oct 2024 17:18:38 -0400 Subject: [PATCH 1/2] Update ConfigureNric1384.cs - Add missing [Category(ConfigurationCategory)] attributes to calibration file path properties --- OpenEphys.Onix1/ConfigureNric1384.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenEphys.Onix1/ConfigureNric1384.cs b/OpenEphys.Onix1/ConfigureNric1384.cs index 6b195a1..6e8a5c2 100644 --- a/OpenEphys.Onix1/ConfigureNric1384.cs +++ b/OpenEphys.Onix1/ConfigureNric1384.cs @@ -75,6 +75,7 @@ public ConfigureNric1384() /// file for your chip, email IMEC at neuropixels.info@imec.be with the chip serial number to retrieve a new copy. /// /// + [Category(ConfigurationCategory)] [FileNameFilter("Gain calibration files (*_gainCalValues.csv)|*_gainCalValues.csv")] [Description("Path to the Nric1384 gain calibraiton file.")] [Editor("Bonsai.Design.OpenFileNameEditor, Bonsai.Design", DesignTypes.UITypeEditor)] @@ -96,6 +97,7 @@ public ConfigureNric1384() /// file for your chip, email IMEC at neuropixels.info@imec.be with the chip serial number to retrieve a new copy. /// /// + [Category(ConfigurationCategory)] [FileNameFilter("ADC calibration files (*_ADCCalibration.csv)|*_ADCCalibration.csv")] [Description("Path to the Nric1384 ADC calibraiton file.")] [Editor("Bonsai.Design.OpenFileNameEditor, Bonsai.Design", DesignTypes.UITypeEditor)] From bf80bfadc309c551768dbf78b83824f7e23657db Mon Sep 17 00:00:00 2001 From: Jonathan Newman Date: Mon, 4 Nov 2024 15:54:25 -0500 Subject: [PATCH 2/2] Update ConfigureNeuropixelsV1fHeadstage.cs - Add Description and Category attributes to Port and PortVoltage properties --- OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs b/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs index f646e84..2000da2 100644 --- a/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs +++ b/OpenEphys.Onix1/ConfigureNeuropixelsV1fHeadstage.cs @@ -86,6 +86,8 @@ internal override void UpdateDeviceNames() /// /// The port is the physical connection to the ONIX breakout board and must be specified prior to operation. /// + [Description("Specifies the physical connection of the headstage to the ONIX breakout board.")] + [Category(ConfigurationCategory)] public PortName Port { get { return port; } @@ -113,6 +115,7 @@ public PortName Port [Description("If defined, overrides automated voltage discovery and applies " + "the specified voltage to the headstage. Warning: this device requires 4.5V to 5.5V " + "for proper operation. Higher voltages can damage the headstage.")] + [Category(ConfigurationCategory)] public double? PortVoltage { get => PortControl.PortVoltage;