DeviceReadThread¶
-
class
MonitorControl.
DeviceReadThread
(actor, action, name=None, suspend=False)¶ Bases:
threading.Thread
One thread in a multi-threaded, multiple device instrument
This creates a thread which can be started, terminated, suspended, put to sleep and resumed. For more discussion see http://mail.python.org/pipermail/python-list/2003-December/239268.html
Methods Summary
resume_thread
([sync_sec])run
()set_sleep
(sleeptime)Thread termination routine
Methods Documentation
-
resume_thread
(sync_sec=False)¶
-
run
()¶
-
set_sleep
(sleeptime)¶
-
suspend_thread
()¶
-
sync_second
()¶
-
terminate
()¶ Thread termination routine
-