Open
Description
lock() does not wait the lock timeout before failing. The waitlock flag (bit 0) is not being set. Is there a reason why this flag would never be set? If there is, perhaps add a default wait = False
argument?
def lock(self):
"Send lock command"
if self.link is None:
self.open()
# flags = 0
# TODO: Added waitlock flag.
flags = 1
error = self.client.device_lock(self.link,
flags,
self._lock_timeout_ms)
if error:
raise Vxi11Exception(error, 'lock')
Metadata
Metadata
Assignees
Labels
No labels