Table of Contents

Method Process

Namespace
Bonsai.DAQmx
Assembly
Bonsai.DAQmx.dll

Process(IObservable<double>)

Generates a voltage signal in one or more DAQmx analog output channels from an observable sequence of samples.

public IObservable<double> Process(IObservable<double> source)

Parameters

source IObservable<double>

A sequence of floating-point numbers representing the samples used to generate voltage signals.

Returns

IObservable<double>

An observable sequence that is identical to the source sequence but where there is an additional side effect of generating voltage signals in one or more DAQmx analog output channels.

Process(IObservable<Mat>)

Generates voltage signals in one or more DAQmx analog output channels from an observable sequence of sample buffers.

public override IObservable<Mat> Process(IObservable<Mat> source)

Parameters

source IObservable<Mat>

A sequence of 2D OpenCV.Net.Mat objects storing the voltage samples. Each row corresponds to one of the channels in the signal generation 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.

Returns

IObservable<Mat>

An observable sequence that is identical to the source sequence but where there is an additional side effect of generating voltage signals in one or more DAQmx analog output channels.