Hi.
We are making an application where we need to know whether a message we send ends up on the bus. The status err_ok means that the message has been placed in Transmit queue but not that it has been transmitted, or at least that's what we observed when we tried our code. We are currently using PCAN basic as our API.
Is knowing, if message has been transmitted on to the bus, possible? If not, is it possible to know if the transmit queue already has a message in it?
Thank you in advance.
Message delivery on to CAN bus
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Message delivery on to CAN bus
Hello,
As PCANBasic does not feature a self-receive this
could be done by reading the traffic on the bus with a second channel, if the message is on the bus you will be able to read it.
"Is knowing, if message has been transmitted on to the bus, possible? If not, is it possible to know if the transmit queue already has a message in it? "
As mentioned before, you could readon the bus with a second channel, there is no way to query the queue for messages.
Best Regards
Marvin
As PCANBasic does not feature a self-receive this
could be done by reading the traffic on the bus with a second channel, if the message is on the bus you will be able to read it.
"Is knowing, if message has been transmitted on to the bus, possible? If not, is it possible to know if the transmit queue already has a message in it? "
As mentioned before, you could readon the bus with a second channel, there is no way to query the queue for messages.
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
-
- Posts: 3
- Joined: Sun 12. Dec 2021, 12:20
Re: Message delivery on to CAN bus
Hello
Good morning!
Okay. Thank you for the response.
I know that PEAK also offers a PCAN developer API. Does this API contain the self-receive feature? I know this is a PCAN Basic forum but please share your thoughts.
Thanks and Regards
Deepti
Good morning!
Okay. Thank you for the response.
I know that PEAK also offers a PCAN developer API. Does this API contain the self-receive feature? I know this is a PCAN Basic forum but please share your thoughts.
Thanks and Regards
Deepti
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: Message delivery on to CAN bus
Hello,
I have to correct myself, sorry.
The newest version of PCANBasic (4.6.0, released on 10/12/2021) includes the Parameter "PCAN_ALLOW_ ECHO_FRAMES",
which allows you to echo the transmit messages back onto your channel:
https://www.peak-system.com/fileadmin/m ... -basic.zip
See the parameter documentation regarding this:
Best Regards
Marvin
I have to correct myself, sorry.
The newest version of PCANBasic (4.6.0, released on 10/12/2021) includes the Parameter "PCAN_ALLOW_ ECHO_FRAMES",
which allows you to echo the transmit messages back onto your channel:
https://www.peak-system.com/fileadmin/m ... -basic.zip
See the parameter documentation regarding this:
Best Regards
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
-
- Posts: 3
- Joined: Sun 12. Dec 2021, 12:20
Re: Message delivery on to CAN bus
Hello Marvin,
Thank you for letting me know about the new version of PCAN Basic API (4.6.0). It is very fortunate that this new release coincided with what we needed.
I am going through the documentation now.
Thank you for your support!
Thanks and Regards
Deepti
Thank you for letting me know about the new version of PCAN Basic API (4.6.0). It is very fortunate that this new release coincided with what we needed.
I am going through the documentation now.
Thank you for your support!
Thanks and Regards
Deepti