add comma between command and arguments
Change-Id: Ibc3a9072140842d521ebb4840eecb180e69b134e
This commit is contained in:
@ -35,7 +35,7 @@ class Ls340IO(StringIO):
|
||||
|
||||
class LakeShore(HasIO):
|
||||
def set_par(self, cmd, *args):
|
||||
head = cmd + ','.join([str(a) for a in args])
|
||||
head = ','.join([cmd] + [f'{a:g}' for a in args])
|
||||
tail = cmd.replace(' ', '? ')
|
||||
reply = self.communicate(f'{head};{tail}')
|
||||
return [float(num) for num in reply.split(',')]
|
||||
|
Reference in New Issue
Block a user