start bluefors test
This commit is contained in:
@@ -408,7 +408,7 @@ Mod('pt2x',
|
||||
#angepasst
|
||||
|
||||
############Pfeiffer###########
|
||||
"""
|
||||
|
||||
IO(
|
||||
'io_turbo',
|
||||
uri = 'psts262:3001',
|
||||
@@ -430,4 +430,3 @@ Mod(
|
||||
io = 'io_turbo',
|
||||
)
|
||||
|
||||
"""
|
||||
@@ -197,7 +197,7 @@ class Switcher(ls.HasLscIO, ChannelSwitcher):
|
||||
def set_active_channel(self, chan):
|
||||
self.command('SCAN', chan.channel, 0)
|
||||
counter = 0
|
||||
with self.io._lock: #schliesst diese funktion fur andere kanale
|
||||
with self.io._lock: # protects this function for other modules until its finished
|
||||
for a in range(5):
|
||||
if self.query('SCAN?', int, int)[0] == chan.channel:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user