romainbrette / clampy

4 stars 0 forks source link

Min/max for channels #24

Closed romainbrette closed 5 years ago

romainbrette commented 5 years ago

You can apparently set expected min/max values for channels with NI boards, so I suppose resolution is maximized (our board for example seems to have different possible ranges).

romainbrette commented 5 years ago

Check this: https://github.com/ni/nidaqmx-python/blob/master/nidaqmx_examples/channel_properties.py

romainbrette commented 5 years ago

I added code to do this. This is not necessary for outputs (commands), since those are known in advance (unless running in continuous mode), so min/max values are calculated on the fly. After trying, it doesn't seem to make much difference.