.. _data_processor_nodes:

Data Processor Nodes
====================

Data processor nodes modify, filter, or enhance data flowing from source nodes before it reaches target nodes or the UI.

.. _can_message_filter_node:

CAN Message Filter
------------------

The CAN Message Filter processes CAN messages based on their identifiers, either passing or blocking specified IDs.

Configuration Options
~~~~~~~~~~~~~~~~~~~~~

* **Filter Mode** - Pass filter or Block filter
* **Standard CAN Identifiers** - List of 11-bit identifiers to filter (0x000-0x7FF)
* **Extended CAN Identifiers** - List of 29-bit identifiers to filter (0x00000000-0x1FFFFFFF)

Filter Modes
~~~~~~~~~~~~

* **Pass Filter** - Only allow specified identifiers through; block all others
* **Block Filter** - Block specified identifiers; allow all others through

Identifier Specification Format
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Individual IDs: ``1,2,3``
* Ranges: ``100-200`` (includes all IDs from 100 to 200)
* Combined: ``1,5,10-20,100`` (IDs 1, 5, 10 through 20, and 100)

Use Cases
~~~~~~~~~

* Reducing bus traffic to the UI for better performance
* Isolating specific messages for focused analysis
* Excluding noisy or high-frequency messages from logging
* Pre-filtering data for specific test scenarios

Tips
~~~~

* Use pass filters when monitoring a small set of known messages
* Use block filters when you want to exclude a few known noisy messages
* Filters affect what reaches the UI and targets, but not the physical bus
* Consider filter performance with very large identifier ranges
* Multiple filters can be applied in series for complex filtering logic

.. _databases_node:

Databases
---------

The Databases data processor adds CAN or LIN database files to enable signal decoding and message naming throughout the application.

Configuration Options
~~~~~~~~~~~~~~~~~~~~~

* **Database Files** - List of .dbc (CAN) or .ldf (LIN) files to load
* **Multiple Files** - Can load multiple databases simultaneously

Database Types
~~~~~~~~~~~~~~

* **CAN Databases (.dbc)** - DBC files containing CAN message and signal definitions
* **LIN Databases (.ldf)** - LDF files containing LIN frame and signal definitions

What Databases Enable
~~~~~~~~~~~~~~~~~~~~~~

* Message names in Message Trace and other panes
* Signal names and values in expandable message rows
* Signal-based editing in send panes (CAN Send, LIN Send, etc.)
* Signal visualization in Signal Plot pane
* Signal logging in Signal Logger target node
* Unit and range information for signals

Use Cases
~~~~~~~~~

* Decoding messages in Message Trace with human-readable names
* Enabling signal-level logging instead of raw message logging
* Providing signal definitions for graphical visualization
* Simplifying message configuration with signal-based editing

Tips
~~~~

* Load databases early in your measurement setup configuration
* Multiple databases can be loaded for networks with multiple ECUs
* Database content is cached for performance with large files
* Signal decoding occurs in real-time during measurements
* Databases are required for meaningful signal logging and visualization

.. _interpreter_node:

Interpreter
-----------

The Interpreter data processor decodes higher-layer protocols built on top of CAN or LIN, such as J1939 or other industry-specific protocols.

Configuration Options
~~~~~~~~~~~~~~~~~~~~~

* **Interpreter Type** - Select from available interpreter plugins (e.g., J1939)
* **Protocol-Specific Settings** - Configuration options vary by interpreter type

Available Interpreters
~~~~~~~~~~~~~~~~~~~~~~

* **J1939** - SAE J1939 protocol for heavy-duty vehicles and equipment
* **Additional protocols** - Other interpreters may be available through extensions

What Interpreters Provide
~~~~~~~~~~~~~~~~~~~~~~~~~~

* Protocol-specific message decoding
* Protocol-specific data field decoding
* Additional columns in Message Trace with decoded information

Use Cases
~~~~~~~~~

* Analyzing J1939 networks in automotive and industrial applications
* Decoding transport protocol messages
* Identifying network addresses and routing information
* Extracting protocol parameters from multi-frame messages

Tips
~~~~

* Interpreters add processing overhead; use only when needed
* Some interpreters may require specific database files
* Interpreted information appears in additional Message Trace columns
* Multiple interpreters can be applied to different channels
* Check for protocol-specific configuration requirements

.. _extension_processor_node:

Extension
---------

The Extension data processor allows custom service extensions to be added to the measurement setup for specialized data processing tasks.

Configuration Options
~~~~~~~~~~~~~~~~~~~~~

* **Extension Selection** - Choose from installed service extensions
* **Extension-Specific Settings** - Configuration varies by extension

Use Cases
~~~~~~~~~

* Adding custom protocol decoders not available in standard interpreters
* Implementing proprietary data processing algorithms
* Integrating specialized analysis tools
* Creating custom data transformations

Tips
~~~~

* Service extensions must be installed before they appear in the list
* Refer to the CanKing Service Extensions SDK Help for creating custom extensions
* Extensions run as separate processes for isolation and stability
* Check extension documentation for specific configuration requirements
