Hello,
I'm currently using worker to read and send messages to CAN network but I don't get how I can read the messages that I'm sending.
Matthieu.
Reading send messages
Re: Reading send messages
Hi,
by default you won't receive your send messages in a CAN system. But there are features available in our API to return the transmitted messages again. Which API and PCAN hardware (firmware) do you use?
regards
Michael
by default you won't receive your send messages in a CAN system. But there are features available in our API to return the transmitted messages again. Which API and PCAN hardware (firmware) do you use?
regards
Michael
Re: Reading send messages
Hi,
thanks for the response, I'm currently using Peak.PCANBasic.NET (v. 4.9.0.942).
I'm using the worker on the namespace Peak.Can.Basic.
Br,
Matthieu
thanks for the response, I'm currently using Peak.PCANBasic.NET (v. 4.9.0.942).
I'm using the worker on the namespace Peak.Can.Basic.
Br,
Matthieu
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Reading send messages
Hello Matthieu,
Which hardware do you use and which firmware is on the device?
Depending on this, you might be able to use "ALLOW_ECHO_FRAMES" in PCANBasic.
Best Regards
Marvin
Which hardware do you use and which firmware is on the device?
Depending on this, you might be able to use "ALLOW_ECHO_FRAMES" in PCANBasic.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Reading send messages
PCAN-USB
Firmware version: 8,6,1
Firmware version: 8,6,1
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Reading send messages
Hello Matthieu,
In this case you can use the AllowEchoFrames property of the worker class:
https://docs.peak-system.com/API/PCAN-B ... d756cf.htm
This parameter helps the user to allow / disallow the reception of echo messages within a
PCAN-Channel, this is, the reception of frames sent by itself. This parameter doesn’t affect
the acceptance filter of the PCAN-Channel. Furthermore, other applications working with the
same PCAN-Hardware can individually configure the reception of echo frames.
Note that disabling the PCAN_RECEIVE_STATUS parameter also suppresses the reception of
echo frames.
Best Regards
Marvin
In this case you can use the AllowEchoFrames property of the worker class:
https://docs.peak-system.com/API/PCAN-B ... d756cf.htm
This parameter helps the user to allow / disallow the reception of echo messages within a
PCAN-Channel, this is, the reception of frames sent by itself. This parameter doesn’t affect
the acceptance filter of the PCAN-Channel. Furthermore, other applications working with the
same PCAN-Hardware can individually configure the reception of echo frames.
Note that disabling the PCAN_RECEIVE_STATUS parameter also suppresses the reception of
echo frames.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team