Method Generate
Generate()
Generates an observable sequence of voltage measurements from one or more DAQmx analog input channels.
public override IObservable<Mat> Generate()
Returns
- IObservable<Mat>
A sequence of 2D OpenCV.Net.Mat objects storing the voltage samples. Each row corresponds to a channel in the acquisition task, and each column to a sample from each of the channels. The order of the channels follows the order in which you specify the channels in the Channels property.
Generate<TSource>(IObservable<TSource>)
Generates an observable sequence of voltage measurements from one or more DAQmx analog input channels, where each new buffer is emitted only when an observable sequence emits a notification.
public IObservable<Mat> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used for emitting sample buffers.
Returns
- IObservable<Mat>
A sequence of 2D OpenCV.Net.Mat objects storing the voltage samples. Each row corresponds to a channel in the acquisition task, and each column to a sample from each of the channels. The order of the channels follows the order in which you specify the channels in the Channels property.
Type Parameters
TSource
The type of the elements in the
source
sequence.