Table of Contents

Class WaveformView

Namespace
Bonsai.Dsp.Design
Assembly
Bonsai.Dsp.Design.dll

Represents a dynamic waveform oscilloscope style control used to display multi-dimensional matrices where each row represents an independent channel.

public class WaveformView : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
WaveformView
Implements
Inherited Members

Constructors

WaveformView()

Initializes a new instance of the WaveformView class.

Properties

AutoScaleX

Gets or sets a value indicating whether to compute the range of the x-axis automatically based on the range of the data that is included in the graph.

AutoScaleY

Gets or sets a value indicating whether to compute the range of the y-axis automatically based on the range of the data that is included in the graph.

ChannelOffset

Gets or sets a value which will be added to the samples of each channel, proportional to channel index, for the purposes of visualization.

ChannelsPerPage

Gets or sets the maximum number of channels which should be included in a single page.

HistoryLength

Gets or sets a value specifying how many previous data buffers to store and display in the graph.

OverlayChannels

Gets or sets a value indicating whether to overlay the traces of all the channels in the page into a single waveform graph. If this value is false, channels will be displayed individually in separate graph panes.

SelectedChannels

Gets a collection of indices to the channels to display when the control is in overlay mode.

SelectedPage

Gets or sets the currently selected channel page. Channels in the currently selected page will be the ones displayed in the graph.

WaveformBufferLength

Gets or sets a value specifying how many previous traces to overlay for each channel.

XMax

Gets or sets the upper bound of the x-axis displayed in the graph.

XMin

Gets or sets the lower bound of the x-axis displayed in the graph.

YMax

Gets or sets the upper bound of the y-axis displayed in the graph.

YMin

Gets or sets the lower bound of the y-axis displayed in the graph.

Methods

Dispose(bool)

Clean up any resources being used.

InvalidateWaveform()

Invalidates the entire waveform graph and causes the underlying control to be redrawn.

OnAxisChanged(EventArgs)

Raises the AxisChanged event.

OnSelectedPageChanged(EventArgs)

Raises the SelectedPageChanged event.

ProcessDialogKey(Keys)

Processes a dialog key.

Events

AutoScaleXChanged

Occurs when the AutoScaleX property changes.

AutoScaleYChanged

Occurs when the AutoScaleY property changes.

AxisChanged

Occurs when the scale ranges of the axes of the waveform view are recalculated.

SelectedPageChanged

Occurs when the SelectedPage property changes.