Allow two passes through test_cmd in simult_aio.
authorW. Trevor King <wking@drexel.edu>
Mon, 8 Dec 2008 20:21:16 +0000 (15:21 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 8 Dec 2008 20:27:03 +0000 (15:27 -0500)
commit1b86727e66170b1b2d5123fb7ad2965611685834
treec800eeecdb234f68c9c1e82a6a5420b6d87e4330
parentf395c0f0577d3ab2d69d129df6ef19c645b84442
Allow two passes through test_cmd in simult_aio.

Fixed failing commands when the exact ns sample period was not available.

e.g:

Testing command:
Command on <pycomedi.common.PyComediIO object at 0x8e9184c> (output):
subdevice:      1
flags:          0x40
start:          ext|    18
scan_begin:     timer|  324675
convert:        now|    0
scan_end:       count|  1
stop:           count|  16010
test pass 0, argument conflict
Failing command (4):
Command on <pycomedi.common.PyComediIO object at 0x8e9184c> (output):
subdevice:      1
flags:          0x40
start:          ext|    18
scan_begin:     timer|  324700
convert:        now|    0
scan_end:       count|  1
stop:           count|  16010
pycomedi/simult_aio.py