Mercurial > ~darius > hgwebdir.cgi > pyinst
comparison vxi.py @ 29:12b6a3a0a481
Change timeout to 1500 - seems to help the Anritsu at Trondheim..
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 21 Sep 2011 14:57:40 +0930 |
parents | 6fe43d62c73b |
children |
comparison
equal
deleted
inserted
replaced
28:c6be52360c2f | 29:12b6a3a0a481 |
---|---|
30 import exceptions | 30 import exceptions |
31 import vxi_11 | 31 import vxi_11 |
32 | 32 |
33 class VXIDevice(object): | 33 class VXIDevice(object): |
34 def __init__(self, host, device): | 34 def __init__(self, host, device): |
35 self.v = vxi_11.vxi_11_connection(host, device = device) | 35 self.v = vxi_11.vxi_11_connection(host, device = device, timeout = 1500) |
36 | 36 |
37 def flush(self, timeout = None): | 37 def flush(self, timeout = None): |
38 pass | 38 pass |
39 | 39 |
40 def write(self, data): | 40 def write(self, data): |