Open GoogleCodeExporter opened 9 years ago
I am going to add buf_size=3000 kw argument to get_digital_input_lines and
other related methods so that user can increase the buffer size when
the default size turns out to be too small.
A general solution would be to have a loop that catches runtime errors
and increases the buffer size incrementally until the call succeeds.
But let's see if simpler solution works for users. I'll commit the
changes within an hour.
Original comment by pearu.peterson
on 26 Feb 2010 at 8:33
I have committed a patch (r28) with the following features:
1) libnidaqmx.py module has global variable default_buf_size
that can be increased in runtime when the default value 3000
turns out to be too small.
2) get_digital_input_lines and related functions have buf_size=None
kw argument that can be used to override default_buf_size for
a local method call.
Let me know if this solution work for your application.
Original comment by pearu.peterson
on 26 Feb 2010 at 9:26
Original issue reported on code.google.com by
cwebster...@gtempaccount.com
on 25 Feb 2010 at 7:44