Skip to content

Conversation

@hatlabcz
Copy link
Contributor

[This PR runs in parallel with the ClientStation update (PR #114). Either can be merged first, but both should follow the Threaded server (PR #113).]

  • Fixed a crash in gui/base_instrument/InstrumentSortFilterProxyModel that occurred when "trashed" parameters are "hidden" and the "refreshAll" button was clicked.
  • Removed duplicate parameter update calls in gui/instruments. (added a get counter to param1 of dummy_instruments/generic.DummyInstrumentTimeout for testing this)
  • Ensured the server address is passed correctly to the SubClient in gui/instruments/ModelParameters, so that parameters in the GUIs can still get the update signal properly when server address is not the default 'localhost:5555'. Useful when the subscriber runs on a remote machine.
  • Made the "instrument type" (in gui/instruments.GenericInstrument) still display useful class name when the instrument is a proxy.
  • Made the gui display floating-point numbers in scientific notation in gui/parameters
  • Made the get-only paramters also update properly when ParameterWidget is initialized
  • Added a formatter to log.QLogHandler to highlight parameter changes, also made the it thread-safe with a html signal-slot
  • Added some application icons

- Fixed a crash in `gui/base_instrument/InstrumentSortFilterProxyModel` that occurred when "trashed" parameters are "hidden" and the "refreshAll" button was clicked.
- Removed duplicate parameter update calls in `gui/instruments`. (can be tested with `dummy_instruments/generic.DummyInstrumentTimeout`)
- Ensured the server address is passed correctly to the `SubClient` in `gui/instruments/ModelParameters`, so that parameters in the GUIs can still get the update signal properly when server address is not the default 'localhost:5555'. Useful when the subscriber is not on the server PC.
- Made the "instrument type" (in `gui/instruments.GenericInstrument`) still display useful class name when the instrument is a proxy.
- Made the gui display floating-point numbers in scientific notation in `gui/parameters`
- Made the get-only paramters also update properly when `ParameterWidget` is initialized
- updated `log.QLogHandler` to highlight parameter changes, also made the it thread-safe with a html signal-slot
- Added some application icons
marcosfrenkel
marcosfrenkel previously approved these changes Nov 21, 2025
@marcosfrenkel marcosfrenkel merged commit 2fa528e into toolsforexperiments:master Nov 21, 2025
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