Page 1 of 1

When checking ECU output data, both rx/tx are caught

Posted: Thu 14. Jul 2022, 05:21
by ddw0127
Hello, I'm a beginner of PCAN-USB Pro.

I have connected PCAN USB pro as follows.

     < ECU >
      |
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
|  PCAN-USB Pro   |
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
   |      |
   |      |
 Program1   Program2
  (ch1)     (ch2)


- Program1 = Send data to ECU
- Program2 = Check ECU output data
** Both Program1 and Program2 run on the same PC.


I want to send the data of Program1 to the ECU and check the output ECU data in Program2.

However, when I try to check the output data in Program2, the output data of ECU and the transmission data of Program1 are displayed together.

In this case, is there any physical problem that may occur?

Or, I am currently checking data through RxEvent, is this function catching all data on the bus?

Re: When checking ECU output data, both rx/tx are caught

Posted: Thu 14. Jul 2022, 15:04
by PEAK-Support
Why use 2 CAN Channels on one CAN Network ? Simply use one CAN Channel...

Re: When checking ECU output data, both rx/tx are caught

Posted: Fri 11. Aug 2023, 04:36
by ddw0127
Hi, I saw your answer, but I have another question, so leave a reply.

For example, if I initialize channel 1 in application A and then initialize channel 1 again in application B, it doesn't work.
Can I use the same channel in different applications? What can I do if I can use it? :D

Re: When checking ECU output data, both rx/tx are caught

Posted: Fri 11. Aug 2023, 08:06
by PEAK-Support
Only one Application could use a physical CAN Channel when using the PCAN-Basic API. See Documenation, first section.
If you need to access from 2 or more independent applications to the same CAN Channel, you need to use the commercial API - PCAN-Developer.