Skip to content

Commit

Permalink
GPIB: Allow refreshing connection to GPIB device manager. (#264)
Browse files Browse the repository at this point in the history
For some GPIB device servers, if the GPIB device manager was started
after the device server, the device server would not update the list of
attached devices once the GPIB device manager was started. Uncomment
out a refresh line in connectToDeviceManager to fix this, so the GPIB
device manager can be started even after GPIB device servers.

Fixes labrad/servers#351
Review: @maffoo
  • Loading branch information
jwenner committed Jun 25, 2016
1 parent 5c1ea7c commit 59d0074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labrad/gpib.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def connectToDeviceManager(self):
"""
"""
#yield self.client.refresh()
yield self.client.refresh()
manager = self.client[self.deviceManager]
#If we have a device identification function register it with the device manager
if hasattr(self, 'deviceIdentFunc'):
Expand Down

0 comments on commit 59d0074

Please sign in to comment.