Table of Contents

Class ConfigureTriggerChannel

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

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

[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public class ConfigureTriggerChannel : TriggerChannelConfiguration, INamedElement
Inheritance
ConfigureTriggerChannel
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 trigger 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 trigger channel parameters on each Pulse Pal device.

Process<TSource>(IObservable<TSource>)

Configures the trigger 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 trigger 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 trigger 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.