This PR adds support for reading digital input channels both synchronously and asynchronously. In the case of synchronous reads (i.e., an external read trigger source is provided), the SampleRate property may be set to zero (default) for directly sampling the latest state of the digital lines.
AnalogInput was also modified following similar design decisions to allow for synchronous reads.
This PR adds support for reading digital input channels both synchronously and asynchronously. In the case of synchronous reads (i.e., an external read trigger source is provided), the
SampleRate
property may be set to zero (default) for directly sampling the latest state of the digital lines.AnalogInput
was also modified following similar design decisions to allow for synchronous reads.Fixes #5