Send lock command.
(self)
| 449 | raise Vxi11Error("error local: %d" % error) |
| 450 | |
| 451 | def lock(self): |
| 452 | """Send lock command. |
| 453 | """ |
| 454 | |
| 455 | flags = 0 |
| 456 | |
| 457 | error = self.client.device_lock(self.link, flags, self.lock_timeout) |
| 458 | |
| 459 | if error: |
| 460 | raise Vxi11Error("error locking: %d" % error) |
| 461 | |
| 462 | def unlock(self): |
| 463 | """Send unlock command. |
nothing calls this directly
no test coverage detected