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?
When checking ECU output data, both rx/tx are caught
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: When checking ECU output data, both rx/tx are caught
Why use 2 CAN Channels on one CAN Network ? Simply use one CAN Channel...
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: When checking ECU output data, both rx/tx are caught
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?
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?

- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: When checking ECU output data, both rx/tx are caught
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.
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.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------