Skip to content

Fixed bug in reboot method #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pylablib/devices/Toptica/ibeam.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def query(self, comm, multiline=False, keep_whitespace=False, check_error="FEW",

def reboot(self):
"""Reboot the laser system"""
self.query("reset system",reply=False)
self.query("reset system",reply=False, multiline=True)

def get_device_info(self):
"""Get the device info of the laser system: ``(serial, version)``"""
Expand Down Expand Up @@ -197,4 +197,4 @@ def get_temperatures(self):
temperatures.append(float(m[1]))
else:
raise TopticaError("can not parse reply '{}' to query '{}'".format(reply,q))
return TTemperatures(*temperatures)
return TTemperatures(*temperatures)