Open gfisher-NI opened 11 months ago
@gfisher-NI thank you for filing a public issue so that users can be aware of this mistake.
If you haven't already, I recommend you also file an internal bug. This description was taken from the niFgen_InitializeWithIndependentChannels documentation in the C Reference and it doesn't appear to have changed.
@ni-jfitzger Will do! I just know the preference is to open issues involving Python here, first.
Description of issue
In the documentation for niFgen.Session the parameter channel_name is listed as having a default value of 'None':![image](https://github.com/ni/nimi-python/assets/68872082/b13456d9-cdda-44a8-ad51-6664c5dea92b)
Further down in the documentation, channel_name is listed as having a default value of '0':![image](https://github.com/ni/nimi-python/assets/68872082/d2da1b05-8c70-44b0-a345-4c7b1a0b5ce7)
My understanding is that these are two different things -- on a two-channel device, a default value of '0' would indicate a session contained only channel 0, whereas a value of None would indicate it contained all channels (same as leaving the terminal unwired or wired to a blank string in LabVIEW).