bonsai-rx / daqmx

Bonsai Library for interfacing with NI-DAQmx devices
https://bonsai-rx.org/daqmx
Other
1 stars 4 forks source link

Rename SamplesPerRead property to match DAQmx API #9

Closed glopesdev closed 1 year ago

glopesdev commented 1 year ago

This PR renames the SamplesPerRead property as SamplesPerChannel to match low-level DAQmx API. It also makes the property type nullable to allow for both a convenient default, and exposing the additional read behavior of DAQmx when a negative number is specified (i.e. all currently available samples are read).