romainbrette / clampy

4 stars 0 forks source link

Input/output ranges #1

Open romainbrette opened 5 years ago

romainbrette commented 5 years ago

It would be good to have a function that says the maximum and minimum values for inputs/outputs. For example, on the NI USB 6343, analog output range is +-10 V, input ranges are: +-0.2 V, +-1 V, +-5 V, +-10 V (not sure what this means). The ranges of the Axoclamp 2B exceed that, so the NI board is the limiting factor.

Is there an NI function that returns the ranges maybe? (see the docs)

romainbrette commented 5 years ago

There is also the general NI-DAQmx docs.

romainbrette commented 5 years ago

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