Skip to content

Instrument manager rework#951

Merged
azonenberg merged 17 commits intongscopeclient:masterfrom
fredzo:instrument-manager-rework
Jan 26, 2026
Merged

Instrument manager rework#951
azonenberg merged 17 commits intongscopeclient:masterfrom
fredzo:instrument-manager-rework

Conversation

@fredzo
Copy link
Copy Markdown
Contributor

@fredzo fredzo commented Jan 19, 2026

Hi Andrew,

This is the second part of my work on ManageInstrumentDialog and Mock instruments (goes with ngscopeclient/scopehal#1057).
It also fixes Digital Bank handling when there is only one digital channel in the bank.
Changes are:

  • StreamBrowserDialog :
    • Removed DigitalBank node if there is only one Channel in the bank
    • Fixed SegFault when unfolding channel of Offline oscilloscope
    • Added offline badge for PSU
  • Moved channel creation to Preload for MockInstrments and moved preload before AddInstrument() to fix instrument state initialization
  • When connection to a recent instrument fails, spawn a new AddInstrumentDialog to allow updating connection path
  • ManageInstrumentDialog:
    • Added Offline state (green/red badge)
    • Added rename instrument function
    • Added support for path edition on offline instruments

Change path after failed connection:
ngscopeclient_2ehpYMOQg2

Rename instruments:
ngscopeclient_u6e5CXVAdE

Edit path on offline instruments:
ngscopeclient_AEjCZ1i6vE

fredzo added 11 commits January 15, 2026 18:10
…n of a given nickname when duplicated.

When reconnection fails for a recent instrument, respawn a AddInstrumentDialog to allow modifying the connetion parameters.
…ror dialog.

Moved PreloadConfiguration before AddInstrument() for Mockable instruments to allow channel creation before instrument state is initialized.
Only create InstrumentThread if Instrument is online.
Added String support for EditableProperties.
Added rename (change nickname) support to ManageInstrument dialog + update nickname in recent instrument list.
Removed (unused) selection on instrument list.
Fixed intrument list change in ManageInstrumentDialog.
@azonenberg
Copy link
Copy Markdown
Collaborator

@fredzo I'm seeing build issues with this, looks like you might not be synced with all of my recent updates. Let me know when it's ready to merge.

@fredzo
Copy link
Copy Markdown
Contributor Author

fredzo commented Jan 25, 2026

@fredzo I'm seeing build issues with this, looks like you might not be synced with all of my recent updates. Let me know when it's ready to merge.

Yes, I just finished merging, I'll hit you when build is OK

@azonenberg azonenberg merged commit 10027ae into ngscopeclient:master Jan 26, 2026
23 checks passed
@fredzo fredzo deleted the instrument-manager-rework branch January 26, 2026 20:33
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