Table of Contents

Class ConfigureOutputChannel

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

Represents an operator that configures output channel parameters on a Pulse Pal device.

[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public class ConfigureOutputChannel : OutputChannelConfiguration, INamedElement
Inheritance
ConfigureOutputChannel
Implements
Inherited Members

Properties

DeviceName

Gets or sets the name of the Pulse Pal device.

[TypeConverter(typeof(DeviceNameConverter))]
public string DeviceName { get; set; }

Property Value

string

Methods

Process(IObservable<PulsePalDevice>)

Configures the output channel parameters on every Pulse Pal device in the observable sequence.

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

Parameters

source IObservable<PulsePalDevice>

The sequence of Pulse Pal devices to configure.

Returns

IObservable<PulsePalDevice>

An observable sequence that is identical to the source sequence but where there is an additional side effect of configuring the output channel parameters on each Pulse Pal device.

Process<TSource>(IObservable<TSource>)

Configures the output channel parameters on the Pulse Pal device whenever an observable sequence emits a notification.

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

Parameters

source IObservable<TSource>

The sequence containing the notifications used to trigger configuration of the Pulse Pal output channel.

Returns

IObservable<TSource>

An observable sequence that is identical to the source sequence but where there is an additional side effect of configuring the output channel parameters on the Pulse Pal device whenever the sequence emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.