romainbrette / clampy

4 stars 0 forks source link

Simplify Board #16

Closed romainbrette closed 5 years ago

romainbrette commented 5 years ago

Currently, there are distinct methods and attributes for analog/digital inputs/outputs. However, it seems that this is not useful. We could simply have "channel". What we lose is the possibility to check that a channel is already allocated (because an input and an output could be on channel 0 for example). It would simplify the code quite a bit. But still a bit hesitant.

romainbrette commented 5 years ago

Actually we need at least to distinguish between digital and analog, because NI-DAQmx does that distinction. So we might as well leave everything, explicit is good.