Table of Contents

Class CreatePulsePal

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

Represents an operator that creates and configures a serial connection to a Pulse Pal device.

public class CreatePulsePal : Source<PulsePalDevice>
Inheritance
CreatePulsePal
Inherited Members

Properties

DeviceName

Gets or sets the name of the Pulse Pal device.

public string DeviceName { get; set; }

Property Value

string

OutputChannels

Gets the collection of output channels to configure on the Pulse Pal device.

public OutputChannelConfigurationCollection OutputChannels { get; }

Property Value

OutputChannelConfigurationCollection

PortName

Gets or sets the name of the serial port used to communicate with the Pulse Pal.

[TypeConverter(typeof(SerialPortNameConverter))]
public string PortName { get; set; }

Property Value

string

TriggerChannels

Gets the collection of trigger channels to configure on the Pulse Pal device.

public TriggerChannelConfigurationCollection TriggerChannels { get; }

Property Value

TriggerChannelConfigurationCollection

Methods

Generate()

Generates an observable sequence that contains the serial interface object.

public override IObservable<PulsePalDevice> Generate()

Returns

IObservable<PulsePalDevice>

A sequence containing a single instance of the PulsePalDevice class representing the serial interface to Pulse Pal.