Skip to content

Conversation

bparks13
Copy link
Member

@bparks13 bparks13 commented May 20, 2025

This PR adds functionality to the block read size by adding a UI element in the editor to change it. Also cleans up some of the debug statements for read frame/write frame size, and shifts around some other UI elements to make space.

Fixes #72

Default block read size has been changed from 2048 to 4096.

This PR also gives the added bonus of seeming to fix the memory buffer issue when streaming multiple Neuropixels probes. Previously, when it was set to 2048, the buffer would unpredictably but noticeably increase over time. Setting the block read size to 4096 appears to fix this behavior, or at the very least make it a much more rare occurrence.

Due to upcoming changes in the breakout board firmware, this PR also checks the firmware version to enforce that only firmware v1.x of the Onix FMC Host is valid for this plugin

@bparks13 bparks13 added this to the Neuropixels 1.0f and 2.0e milestone May 20, 2025
@bparks13 bparks13 requested a review from jonnew May 20, 2025 16:26
@bparks13 bparks13 self-assigned this May 20, 2025
bparks13 added 3 commits May 20, 2025 13:19
- Persistent heartbeat device is added in version 2.x of the breakout board firmware, check for this
- Return immediately if there are errors configuring hardware
- Requires the Onix FMC Host to be major version 1.x
- Refactor to break up large methods into smaller chunks that are more transparent
@bparks13 bparks13 merged commit dc64aae into main Jun 2, 2025
@bparks13 bparks13 deleted the issue-72 branch June 2, 2025 21:21
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 block read size as an option to change

1 participant