Working Sample of J1939 & Multiple CAN Devices on the Host

RP1210 Development Package and RP1210 Connectivity to PEAK CAN Interfaces
Locked
Mountain Man
Posts: 2
Joined: Thu 18. Aug 2016, 14:35

Working Sample of J1939 & Multiple CAN Devices on the Host

Post by Mountain Man » Thu 18. Aug 2016, 14:51

Can you provide a working sample of sending and receiving J1939 messages? Preferably in C#? You must have this, if for no other reason to have tested out this API originally.

Also, I have looked through the API documentation and it isn't clear to me how to programmatically control two different CAN devices (on the same Host PC) from this API. When you connect to the CAN device (using ClientConnect()) there doesn't appear to be anyway to specify the device address. In my case I am using PCAN-USB devices which have two different hex addresses (ABh and FFh). How can I establish connection to each of these simultaneously (or even not simultaneously)?

Any help would be greatly appreciated.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Working Sample of J1939 & Multiple CAN Devices on the Ho

Post by PEAK-Support » Thu 18. Aug 2016, 15:53

Our API is a CAN Layer 2 API - you do not "address" any CAN nodes - CAN is a Multi Master BUS System.
There is no source or targed definde.

If you use a commercial API (like RP12010, PCAN-Developer etc.) please contact us per E-mail (support@peak-system.com) with your serial number and part number of your API Version you use.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Mountain Man
Posts: 2
Joined: Thu 18. Aug 2016, 14:35

Re: Working Sample of J1939 & Multiple CAN Devices on the Ho

Post by Mountain Man » Thu 18. Aug 2016, 16:15

Just sent an email to the address you provided with information you requested.

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: Working Sample of J1939 & Multiple CAN Devices on the Ho

Post by PEAK-Support » Thu 18. Aug 2016, 16:33

closed
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Locked