Table of Contents

Class UpdateDisplay

Namespace
Bonsai.PulsePal
Assembly
Bonsai.PulsePal.dll

Represents an operator that writes a sequence of text strings to the Pulse Pal oLED display.

public class UpdateDisplay : Sink<string>
Inheritance
UpdateDisplay
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<string>)

Writes an observable sequence of text strings to the Pulse Pal oLED display.

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

Parameters

source IObservable<string>

A sequence where each value represents a text string to display on the top row of the oLED display. Text must be less than 17 characters in length.

Returns

IObservable<string>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing each text string to the Pulse Pal oLED display.

Process(IObservable<Tuple<string, string>>)

Writes an observable sequence of text strings to the Pulse Pal oLED display.

public IObservable<Tuple<string, string>> Process(IObservable<Tuple<string, string>> source)

Parameters

source IObservable<Tuple<string, string>>

A sequence where each value represents a pair of text strings to display respectively on the top and bottom rows of the oLED display. The text in each row must be less than 17 characters in length.

Returns

IObservable<Tuple<string, string>>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing each pair of text strings to the top and bottom rows of the Pulse Pal oLED display.