Skip to content

Rewrite of cbsdk#157

Draft
cboulay wants to merge 78 commits intomasterfrom
cboulay/modularize
Draft

Rewrite of cbsdk#157
cboulay wants to merge 78 commits intomasterfrom
cboulay/modularize

Conversation

@cboulay
Copy link
Collaborator

@cboulay cboulay commented Nov 12, 2025

  • Modularizes shmem, device communication, and API code
    • can be reused partially or wholly in other applications
  • shmem always assumes Central layout (4 procs)
  • modernize
  • device located automatically

Still work to do

  • Check why Hub1 but not NSP has packets with invalid instrument ids (nowhere to index into shmem)
  • Add remaining packet types (CHANINFO, SYSINFO, etc.)
  • Add remaining buffer types (Add CentralReceiveBuffer, CentralTransmitBuffer)
  • Version checks on shmem layout or device protocol
  • Fill out API
  • More callback types
  • Validate Python code that interacts directly with shared memory then use in pycbsdk

…d by Central so users shouldn't be able to modify it.
…pl = m_impl.get()) instead of capturing this.
cboulay and others added 30 commits November 21, 2025 16:38
… as C types, then wrap them with C++ enums as needed.
…ate simple delegation by adding a device_session base class.
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.

2 participants