improvements on PPMS and LS370
- PPMS: improved machanism for 10 K waiting - LS370: fixed an issue with auto range + LS370: show test for all status bits Change-Id: Ia6454141917893f0e5c6c4351df3a864942bb629 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/23495 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@@ -21,7 +21,6 @@
|
|||||||
"""a very simple simulator for a LakeShore Model 370"""
|
"""a very simple simulator for a LakeShore Model 370"""
|
||||||
|
|
||||||
from secop.modules import Communicator
|
from secop.modules import Communicator
|
||||||
#from secop.lib import mkthread
|
|
||||||
|
|
||||||
class Ls370Sim(Communicator):
|
class Ls370Sim(Communicator):
|
||||||
CHANNEL_COMMANDS = [
|
CHANNEL_COMMANDS = [
|
||||||
@@ -70,8 +69,3 @@ class Ls370Sim(Communicator):
|
|||||||
#if command.startswith('R'):
|
#if command.startswith('R'):
|
||||||
# print('> %s\t< %s' % (command, reply))
|
# print('> %s\t< %s' % (command, reply))
|
||||||
return ';'.join(reply)
|
return ';'.join(reply)
|
||||||
|
|
||||||
#def run(self):
|
|
||||||
# # time dependent simulation
|
|
||||||
# while True:
|
|
||||||
# time.sleep(1)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user