Skip to content

Conversation

@fredzo
Copy link
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.
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.

1 participant