QInstrument 3.0.1__tar.gz → 3.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qinstrument-3.0.1 → qinstrument-3.0.2}/PKG-INFO +1 -1
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrument.egg-info/PKG-INFO +1 -1
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QInstrumentTree.py +7 -7
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QInstrumentWidget.py +6 -6
- {qinstrument-3.0.1 → qinstrument-3.0.2}/pyproject.toml +1 -1
- {qinstrument-3.0.1 → qinstrument-3.0.2}/LICENSE.md +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrument.egg-info/SOURCES.txt +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrument.egg-info/dependency_links.txt +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrument.egg-info/entry_points.txt +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrument.egg-info/requires.txt +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrument.egg-info/top_level.txt +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/QInstrumentRack.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/README.md +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/__main__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/IPGLaser/IPGLaserWidget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/IPGLaser/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/IPGLaser/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/IPGLaser/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/IPGLaser/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/IPGLaser/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/IPGPhotonics/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus/OpusWidget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus1064/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus1064/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus1064/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus1064/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus1064/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus532/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus532/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus532/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus532/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus532/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus660/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus660/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus660/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus660/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/Opus660/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Novanta/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/PDUS210/PDUS210Widget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/PDUS210/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/PDUS210/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/PDUS210/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/PDUS210/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/PDUS210/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PiezoDrive/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/ProscanWidget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/DS345/DS345Widget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/DS345/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/DS345/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/DS345/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/DS345/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/DS345/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR830/SR830Widget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR830/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR830/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR830/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR830/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR830/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR844/SR844Widget.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR844/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR844/fake.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR844/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR844/tree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/SR844/widget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/StanfordResearch/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Tektronix/TDS1000/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Tektronix/TDS1000/instrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/Tektronix/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/Configure.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QAbstractInstrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QFakeInstrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QPollingMixin.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QReconcileDialog.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QSerialInstrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/QSerialInterface.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/__init__.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/lib/lazy.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/setup.cfg +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_Configure.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QAbstractInstrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QDS345.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QFakeInstrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QIPGLaser.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QInstrumentRack.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QInstrumentTree.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QInstrumentWidget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QLedWidget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QOpus.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QPDUS210.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QPollingMixin.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QProscan.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QReconcileDialog.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QRotaryEncoderSpinBox.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QSR830.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QSR844.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QSerialInstrument.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/tests/test_QSerialInterface.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/QJoystick.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/QJoystickPad.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/QLedWidget.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/QRotaryEncoder.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/QRotaryEncoderSpinBox.py +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/QRotaryEncoderSpinBox.ui +0 -0
- {qinstrument-3.0.1 → qinstrument-3.0.2}/widgets/__init__.py +0 -0
|
@@ -268,17 +268,17 @@ class QInstrumentTree(ParameterTree):
|
|
|
268
268
|
|
|
269
269
|
@QtCore.Slot()
|
|
270
270
|
def _firstShow(self) -> None:
|
|
271
|
-
'''Restore settings,
|
|
271
|
+
'''Restore settings, sync the tree, then start the device thread.
|
|
272
272
|
|
|
273
|
-
Restores saved settings
|
|
274
|
-
on the main thread, then moves the device to a
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
273
|
+
Restores saved settings and syncs the tree while the device is
|
|
274
|
+
still on the main thread, then moves the device to a dedicated
|
|
275
|
+
worker thread. Polling is not started automatically; call
|
|
276
|
+
:meth:`startPolling` explicitly or connect a control to it when
|
|
277
|
+
continuous updates are needed.
|
|
278
278
|
'''
|
|
279
279
|
self._restoreSettings()
|
|
280
|
-
self._startDeviceThread()
|
|
281
280
|
self._syncProperties()
|
|
281
|
+
self._startDeviceThread()
|
|
282
282
|
|
|
283
283
|
def _restoreSettings(self) -> None:
|
|
284
284
|
'''Reconcile hardware state with the saved configuration file.
|
|
@@ -431,15 +431,15 @@ class QInstrumentWidget(QtWidgets.QWidget):
|
|
|
431
431
|
def _firstShow(self) -> None:
|
|
432
432
|
'''Run first-show reconciliation after the event loop is idle.
|
|
433
433
|
|
|
434
|
-
Restores saved settings
|
|
435
|
-
on the main thread, then moves the device to a worker
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
434
|
+
Restores saved settings and syncs the UI while the device is still
|
|
435
|
+
on the main thread, then moves the device to a dedicated worker
|
|
436
|
+
thread. Polling is not started automatically; call
|
|
437
|
+
:meth:`startPolling` explicitly or connect a control to it when
|
|
438
|
+
continuous updates are needed.
|
|
439
439
|
'''
|
|
440
440
|
self._restoreSettings()
|
|
441
|
-
self._startDeviceThread()
|
|
442
441
|
self._syncProperties()
|
|
442
|
+
self._startDeviceThread()
|
|
443
443
|
|
|
444
444
|
def _startDeviceThread(self) -> None:
|
|
445
445
|
'''Move the device into a dedicated worker thread.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "QInstrument"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.2"
|
|
8
8
|
description = "Qt-based framework for controlling scientific instruments over serial ports"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { file = "LICENSE.md" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qinstrument-3.0.1 → qinstrument-3.0.2}/instruments/PriorScientific/Proscan/ProscanWidget.ui
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|