Signal Plot

The Signal Plot is a customized workspace pane for visualizing CAN and LIN signals in real-time. It provides powerful graphing capabilities with support for multiple graphs, customizable axes, time cursors, and zoom controls.

Overview

The Signal Plot pane displays signal data from CAN and LIN buses as time-series graphs. It can be added to any workspace in the Workspace view and configured to show multiple signals simultaneously across one or more graphs, each with one or more Y-axes.

Toolbar Controls

The Signal Plot toolbar provides various controls for configuring and interacting with the plot:

Play/Pause

The Play/Pause button controls whether the plot displays live data or is paused for analysis.

When paused, additional features become available such as time cursors and zoom controls.

Note:
The Play/Pause control is only enabled when a measurement is running (CanKing is online).

Time Window

The time window setting determines how much historical data is displayed on the X-axis. Available options are:

The default time window is 30 seconds. Changing the time window adjusts the visible time range while maintaining the current position in the data stream.

Time Mode

The time mode setting controls how time is displayed on the X-axis:

Plot Mode

The plot mode determines how new data is displayed as it arrives:

Advance Fraction (Scan Mode)

When using Scan mode, the advance fraction determines how much the plot advances when it reaches the right edge:

This control is only available when Plot Mode is set to Scan.

Auto-Scale Y Axes

When enabled, the Y-axes automatically adjust their ranges to fit all visible signal data. This ensures that all signals remain visible regardless of their values.

When disabled, the Y-axes maintain fixed ranges, which can be useful for comparing signal magnitudes or tracking specific value ranges.

Save Y Axes Ranges

The Save button captures the current Y-axis ranges for all graphs. This is useful after manually zooming the Y-axes to specific ranges that you want to preserve.

Saved ranges are persisted in the project file and will be restored when the project is reopened.

Time Cursors

Time cursors are vertical lines that can be positioned at specific time points to measure signal values. Two cursors are available:

To use time cursors:

  1. Pause the plot
  2. Enable one or both cursors using the cursor buttons in the toolbar
  3. Click and drag the cursor lines to position them at desired time points
  4. View signal values at cursor positions in the legends panel

Note:
Time cursors are only available when the plot is paused.

Zoom Controls

The zoom controls allow you to navigate through zoom history when the plot is paused:

These controls maintain a history of zoom and pan operations, allowing you to navigate backward and forward through your exploration of the data.

Note:
Zoom controls are only available when the plot is paused.

Show/Hide Legends

The legends button toggles the visibility of the legends panel on the right side of the plot. The legends panel displays:

Interactive Features

The Signal Plot supports various mouse and keyboard interactions for analyzing data:

Zooming

When the plot is paused, you can zoom in on specific areas:

Panning

When the plot is paused, you can pan to view different parts of the data:

Moving Cursors

When time cursors are enabled:

Multiple Graphs

The Signal Plot supports multiple independent graphs stacked vertically. Each graph can have:

Graphs share a common X-axis (time), which ensures that signals across different graphs are time-synchronized.

Y-Axes Configuration

Each graph can have multiple Y-axes, allowing signals with different units or value ranges to be plotted on the same time axis but with different scales:

Manual Y-Axis Scaling

To manually adjust Y-axis ranges:

  1. Pause the plot
  2. Disable "Auto-Scale Y Axes" if enabled
  3. Zoom in/out on the desired Y-axis using mouse wheel
  4. Optionally save the ranges using the "Save Y Axes Ranges" button

Legends Panel

The legends panel on the right side of the plot displays information about all visible signals:

The legends panel can be hidden to maximize the plot area by clicking the Show/Hide Legends button in the toolbar.

Setting Up Signal Plot

To add a Signal Plot pane to your workspace:

  1. Open the Workspace view from the left toolbar
  2. Create a new workspace or select an existing one
  3. Click "Select View" or "Edit Workspace"
  4. Select "Signal Plot" from the available views
  5. Configure which signals to display

Signal Selection

Signals must be available in the UI stream to be displayed in the Signal Plot. To ensure signals are available:

  1. In the Measurement Setup view, add a "Databases" data processor to your CAN or LIN channel
  2. Load a database file (.dbc for CAN, .ldf for LIN) containing your signals
  3. Start a measurement to begin receiving data
  4. Configure the Signal Plot to display the desired signals

Tips and Best Practices

Performance

Data Analysis

Workspace Organization