Enable TX Self Acknowledge

The free CAN Software API (Application Programming Interface) for Windows®
Locked
SvenSie
Posts: 3
Joined: Thu 6. Mar 2025, 08:50

Enable TX Self Acknowledge

Post by SvenSie » Thu 6. Mar 2025, 10:06

Hello,

I would like to enable TX Self Acknowledge with PCAN Basic API. How is this possible?

I´m using the PCAN-USB FD and I´m able to use this feature with the PCAN-View Software, but now I would like to use it in a simple test-program.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Enable TX Self Acknowledge

Post by M.Heidemann » Thu 6. Mar 2025, 13:57

Hello,

Self-Acknowledge is not implemented in PCANbasic, you would need to use our PCAN-Developer 4 API for that:


https://www.peak-system.com/PCAN-Develo ... .html?&L=1

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

SvenSie
Posts: 3
Joined: Thu 6. Mar 2025, 08:50

Re: Enable TX Self Acknowledge

Post by SvenSie » Thu 6. Mar 2025, 15:06

That's a pity. I don't think I'm going to get €1700 from my boss just to make one setting (the rest already works fine with PCAN-Basic).
Then I will probably have to take the detour of using PCAN-View in addition.

Is there any other way to get this setting without PCAN-View and PCAN-Developer 4 API?

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Enable TX Self Acknowledge

Post by M.Heidemann » Thu 6. Mar 2025, 15:30

Hello Sven,

Not on Windows, no.

Our Linux driver supports this feature, using either the CAN 2.0 or CANFD API, please see chapter "5 Developer Guide" staring on page 47:

https://www.peak-system.com/fileadmin/m ... an_eng.pdf

Alternatively, use a second hardware for acknowledgement.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

SvenSie
Posts: 3
Joined: Thu 6. Mar 2025, 08:50

Re: Enable TX Self Acknowledge

Post by SvenSie » Tue 11. Mar 2025, 14:08

Another Question:
Is it possible with PCAN-Basic to detect if the "Self Acknowledge" is activated?

I would like to show a hint if this needs to be activated with PCAN-View.

K.Wagner
Software Development
Software Development
Posts: 1080
Joined: Wed 22. Sep 2010, 13:36

Re: Enable TX Self Acknowledge

Post by K.Wagner » Tue 11. Mar 2025, 15:34

Hello,

no, this is not possible. PCAN-Basic doesn't support Self Acknowledge at all.
Best regards,
Keneth

Locked