romainbrette / clampy

4 stars 0 forks source link

NI board channel names #34

Open romainbrette opened 2 years ago

romainbrette commented 2 years ago

Currently, channel names (addresses) are constructed as follows:

self.name+"/ai"+str(channel)

for an analog input. For example, /Dev1/ai0. However, this seems to be a bit restrictive. For example, some names seem to be of the type /Dev1/port0/.... A simple idea would be that if channel is a string, then the channel name is self.name+channel.