Signal Graphics

Signal Graphics is a tool for collecting and analyzing data from various bus systems used in cars.
It allows a time-correlated graphical representation of different signals on multiple buses.
It's designed to support various bus systems, such as CAN and LIN.

This tool supports two modes: online and offline modes.
  • Online mode allows data capture using hardware interfaces. Different interfaces are available from various electronics suppliers such as Vector.

  • Offline mode allows data logging into trace files to be analyzed.

This tool can handle large amounts of data easily.

Note

Note that Signal Graphics implements an ethernet filter (in online ethernet adapters and pcap files) to reduce noisy packets that are not useful (not in the permitted protocols). Currently only packets that fit this filter are allowed in Signal Graphics:

  • CAN protocol messages sent over:

  • MediaGateway Hardware (Ethertypes 0x1886 and 0x1887)

  • BrSpy Hardware (Ethertype 0x2085)

  • Capture Module Hardware (Ethertype 0x2090)

  • Raw Can packets (Ethertype 0xCA20)

The Signal Graphics main window:

../_images/ANDi.Signals_main_window.png

Toolbar

../_images/ANDi.Signals_toolbar_menu.png

The toolbar contains different commands:

  • Adapters displays the configured channels and allows to configure new channels from a drop down list of the connected Hardware Interfaces.

  • Start/Stop starts/stops online capture.
    • To use online mode:
      • Select one or many channels then click Start button to start capture.

      • Use either Traffic Generator tool or Scripting Environment to generate data.

      • Select the same message or signal to be dragged and dropped into the chart diagram and the signal chart(s) will be drawn.

        ../_images/ANDi.Signals_online_mode.gif
  • Open File/Stop opens/stops offline capture from trace files.
    • Supported files types:
      • PCAP/PCAPNG/VPCAP.

      • MDF Bus and Signal logging.

      • ASCII.

      • CSV Signal.

    • To use offline mode:
      • Load a trace file.

      • Select a message or a signal to be dragged and dropped into the chart diagram and the signal chart(s) will be drawn.

      ../_images/ANDi.Signals_offline_mode.gif
  • Export Graph exports current graphs:
    • As CSV file:
      • Choose the delimiter from drop-down list or set a specific one.

      • Select the list of the signals to be exported.

      • Tick either Log all updates or Log at constant rate.

      ../_images/ANDi.Signals_export_settings_csv.png
    • As MDF Signal Logging file: selects exporting all/specific logged signals.

      ../_images/ANDi.Signals_export_settings_mdf.png
  • Database loads a database.

  • Recenter clears zoom, activates auto scroll option and initialize time axis.

  • AutoScroll goes automatically to the last drawn points.

  • Shortcuts shows all available keyboard shortcuts.

  • Settings sets display settings to the current graphs. This sub menu contains:
    • Show Point Limit (in seconds): the points will show when the visible range is less than or equals to the specified value which varies between 1 and 60.

    • Max View Width (in seconds): the maximum visible range of X-axis, it varies between 1 and 600.

    • X-axis Width (in seconds): the current visible range, it varies between 0.1 and Max View Width value.

  • Add Chart adds network statistics to an existing chart or a new one.

    • Filter: filters packets that are being accepted on the hardware level.

    • Chart Type:
      • Bandwidth: sets the sampling time and bandwidth unit.

      • Packets per seconds: sets the sampling time.

      • Delta time

    • Create Into: specifies whether the new chart will be created on an existing or a separated one.

    ../_images/ANDi.Signals_network_statistics.png

Database Tree

  • Shows loaded databases.

  • Deleting one database is done by a right-clicking then clicking Delete button.

  • Only a message or a signal could be dragged and dropped.

  • A dragged message or signal can be dropped into either the Charts Panel or the Watch Window.

../_images/database_treelist.png

Charts Panel

The essential purpose of the Signal Graphics tool is to show signals in form of charts.
This graphic view offers an overview over the development of the signal over the time.

Add/Delete chart

  • To add a chart, drag and drop a signal/message to the Charts Panel:

    ../_images/ANDi.Signals_add_charts.gif
    Three options are available:
    • New chart: creates only one new chart containing the dragged signal/message's signals. The X-axis displays the timestamp values and the Y-axis displays the signal value/interpretation.

    • Existing chart: adds the dragged signal/message's signals to an exiting chart.

      ../_images/ANDi.Signals_common_chart.png
    • Separate charts: creates charts containing each one a signal from the dragged message. Each chart has its own time-axis and all of them are synchronized.

      ../_images/ANDi.Signals_separate_charts.png
  • To delete a chart, do a right-click then select "Delete chart" on the shown context menu.

Show/Hide Interpretations

  • If a signal has interpretations and it is on a separate chart, the values of Y-axis will be replaced with interpretations. These interpretations can be hidden by right-clicking on the chart then selecting "Hide Interpretation".

    ../_images/ANDi.Signals_interpretations.gif

Functions

Important functions can be used to manipulate charts view:

Zoom In/Zoom Out

  • Signal charts can be magnified or reduced using a mouse wheel on the two axis X and Y. This has an impact on the scale: it can be stretched or compressed.

  • When the signal curve being shown exceeds the Show Point Limit value the curve will hide the points, and when it is below the range it will show the points.

../_images/ANDi.Signals_show_points_animation.gif

Panning

Instead of the horizontal scroll bar, a panning option is provided to be able to navigate over the axis. For panning, click, hold and drag.

Markers

Adds a marker at a certain position on the time axis. Markers are represented by a blue vertical line with the current time value and the signal value displayed at the top. One or two markers can be inserted into the chart by a right-clicking on the chart then selecting "Create Marker 1 here" or "Create Marker 2 here" in the shown context menu. When clicking "Show Delta Arrows" in the same menu, an arrow is drawn between the two markers indicating the difference between the time values.

../_images/ANDi.Signals_markers.gif

Cursor and Markers details

../_images/ANDi.Signals_cursor_markers_details.PNG
  • Cursor X: The cursor named "current position cursor" corresponds to the current position of the mouse in the chart. It is represented by an orange vertical line. The value displayed at the top of the cursor represents the current time value and the signal value. In separate mode, each partial chart has its own current position cursor and all cursors are synchronized.

  • Marker 1X: The position of Marker 1.

  • Marker 2X: The position of Marker 2.

  • Marker Delta X: The difference between markers values.

Signals Watch Panel

The signals watch panel shows the sequence of signals that are displayed in the graphic area of the view.
The watch window shows:
  • Message shows the message parent of the signal, by default the signals are grouped by their message as shown below.

  • Signal shows the signal name.

  • Mode shows the value mode. It is either Raw or Physical.

  • Last Value shows the last captured value of the signal.

  • Cursor Y shows the signal value at the mouse cursor. The signal value takes "--" when mouse pointer is out of the panel's bounds.

  • Marker1 Y shows the signal value corresponding to the first Marker. It is the intersection between the Marker 1 and the projection of the curve on Y-axis which indicates signal value.

  • Marker2 Y shows the signal value corresponding to the second Marker.

  • Delta Y indicates the difference between the two previous values.

  • Color shows the signals curve color. The color can be changed by clicking color's rectangle and choosing a new one.

  • Actions contains a delete button for the signal's chart.

  • Database the database name of which the signal is a part of, this column is hidden by default and needs to be enabled through the watch window menu.

../_images/ANDi.Signals_watch_window_all_columns.png
The signals watch window has a menu accessed by right-clicking a column header.
The elements of the menu are:
  • Sort allows to sort the signals based on the values of the selected column, the column that was right clicked, sorting can be ascending or descending.

  • Clear All Sorting allows to clear all the sorting that was done and showing the signals in the order they were added in.

  • Group By This Column allows grouping based on the selected column. Grouping is based on the columns database, message, and signal. To ungroup signals, right click the grouping column (by default message) and the click Ungroup on the shown context menu.

  • Hide Group By Box allows to show/hide the grouping column.

  • Hide This Column hides the selected column.

  • Column Chooser opens the panel that allows hiding/showing columns as explained below.

  • Best Fit resizes the selected columns to the best fit possible (that shows all the values of the column in the best way possible).

  • Best Fit (all columns) resizes all of the visible columns to the best fit possible for all columns.

../_images/ANDi.Signals_watch_window_menu.png
By clicking Column Chooser a new panel is opened that allows choosing visible columns. Showing a column is done by double clicking it on the panel, hiding it is done by dragging it to the panel or dragging it out of the watch window.
../_images/ANDi.Signals_custom_columns_animation.gif
Organizing the columns order is also possible by dragging the columns around the watch window, note that dragging the column out of the watch window will hide it, and adding it again happens by accessing the Column Chooser mentioned above.
../_images/ANDi.Signals_columns_organization.gif
Deleting signals is also possible through the signals context menu, selecting one or multiple signals in the watch window then right-clicking will show a context menu that enables deleting selected signals.
../_images/ANDi.Signals_watch_window_context_menu.png