Skip to content

Allow individual Neuropixels 2.0 probes to be enabled #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bparks13
Copy link
Member

Refactor Neuropixels2e integration and update UI components

  • Allow individual Neuropixels 2.0 probes to be enabled, independently of whether or not they are plugged in

  • Enhanced updateSettings method to handle individual streams for Neuropixels2e probes based on their enabled state.

  • Removed NeuropixelsV2eInterface and replaced it with a probe-specific interface for better modularity.

  • Updated UI components to reflect changes in probe handling and added enable/disable functionality for probes.

  • Refactored probe index handling to use a consistent naming convention (m_probeIndex).

  • Improved error handling and user feedback in the probe interface.

  • Fixes Add ability to disable individual Neuropixels 2.0e probes #45

- Allow individual Neuropixels 2.0 probes to be enabled, independently of whether or not they are plugged in
- Enhanced updateSettings method to handle individual streams for Neuropixels2e probes based on their enabled state.
- Removed NeuropixelsV2eInterface and replaced it with a probe-specific interface for better modularity.
- Updated UI components to reflect changes in probe handling and added enable/disable functionality for probes.
- Refactored probe index handling to use a consistent naming convention (m_probeIndex).
- Improved error handling and user feedback in the probe interface.
@bparks13 bparks13 added this to the 0.1.0 milestone Jul 10, 2025
@bparks13 bparks13 requested a review from jonnew July 10, 2025 18:30
@bparks13 bparks13 self-assigned this Jul 10, 2025
Copy link
Contributor

@jonnew jonnew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues found during testing

  1. If I disable Neuropixels 2.0 probe using np2.0e headstage leaving only the Bno055 enabled, when I press play i get this message:
image

but only 1 time. The second time I press play acquisition starts, however no data is produced by the polled bno055. This appears to be the same issue as is documented in the third point of this issue: open-ephys/bonsai-onix1#468. However this is a bit different because it happens every other time indicating that if power is left on the state is corrected once every other time we try to write to a BNO register.

  1. A secondary issue that does not seem related to the first is that Breakpoint here indicates that:

bnoBuffer->addToBuffer(bnoSamples.data(), sampleNumbers, bnoTimestamps, eventCodes, NumFrames);

is getting called but for some reason data not propagating to the LFP viewer. I see no updates on the Bno stream.

  1. The enable/disable state for probes does not seem to be saved across GUI uses.

@jonnew jonnew modified the milestones: 0.1.0, 0.1.1 Jul 10, 2025
@jonnew jonnew marked this pull request as draft July 14, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to disable individual Neuropixels 2.0e probes
2 participants