XNET J1939 Support: Devices with the same PGN but Different Source Address

Updated Mar 27, 2023

Reported In

Driver

  • NI-XNET

Issue Details

I'm using the XNET driver with the J1939 transport protocol and I need to receive messages with the same parameter group number (PGN) from multiple source addresses. How can I do this with the XNET driver?

Solution

Starting with the version 16.0 of the XNET driver there's a property called J1939.AddFltr in the XNET Session property node, this allows the session to filter by a specific source address. Below there is an example showing the use of this property node.