Manager classes¶
-
class
pymeasure.display.manager.
Experiment
(results, curve, browser_item, parent=None)¶ Bases:
PyQt4.QtCore.QObject
The Experiment class helps group the
Procedure
,Results
, and their display functionality. Its function is only a convenient container.Parameters: - results –
Results
object - curve –
ResultsCurve
object - browser_item –
BrowserItem
object
- results –
-
class
pymeasure.display.manager.
ExperimentQueue
¶ Bases:
PyQt4.QtCore.QObject
Represents a Queue of Experiments and allows queries to be easily preformed
-
has_next
()¶ Returns True if another item is on the queue
-
next
()¶ Returns the next experiment on the queue
-
-
class
pymeasure.display.manager.
Manager
(plot, browser, port=5888, log_level=20, parent=None)¶ Bases:
PyQt4.QtCore.QObject
Controls the execution of
Experiment
classes by implementing a queue system in which Experiments are added, removed, executed, or aborted. When instantiated, the Manager is linked to aBrowser
and a PyQtGraph PlotItem within the user interface, which are updated in accordance with the execution status of the Experiments.-
abort
()¶ Aborts the currently running Experiment, but raises an exception if there is no running experiment
-
clear
()¶ Remove all Experiments
-
is_running
()¶ Returns True if a procedure is currently running
-
load
(experiment)¶ Load a previously executed Experiment
-
next
()¶ Initiates the start of the next experiment in the queue as long as no other experiments are currently running and there is a procedure in the queue.
-
queue
(experiment)¶ Adds an experiment to the queue.
-
remove
(experiment)¶ Removes an Experiment
-
resume
()¶ Resume processing of the queue.
-