Skip to content

,System.Collections.Generic.IList{System.Double>

Defined in

Type: SignalUI Namespace: CrissCross.WPF.Plot Assembly: CrissCross.WPF.Plot.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public void UpdateSignal(IObservable<(string? Name, IList<double>? Value, IList<double> DateTime, int Axis)> observable)

View source

Summary: Subscribes to an observable sequence of signal data and updates the plot with new values as they arrive.

Parameters

NameTypeDescription
observableIObservable<(string? Name, IList? Value, IList DateTime, int Axis)>An observable sequence that provides tuples containing the signal name, value list, date/time list, and axis identifier. The value and date/time lists must be non-null, non-empty, and of equal length.

Remarks

The method processes incoming signal data, filters for valid entries, and updates the plot in real time. Data points with duplicate time values are ignored, and the plot is refreshed unless the chart is paused. If a fixed number of points is configured, older points are removed to maintain the limit. The method is thread-safe and uses background scheduling for data processing and main thread scheduling for UI updates.