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.
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.
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.