Search found 1020 matches

by K.Wagner
Mon 12. May 2025, 09:20
Forum: PCAN-Basic
Topic: CAN_SetValue returns Unknown Error
Replies: 3
Views: 1467

Re: CAN_SetValue returns Unknown Error

Hello, ok, this is what I stated in my last post: it looks like you would use the value of the event handle and not a reference to it But, I cannot understand from your code if it is working now or not? despite of this, please note, that what the function expects is a "buffer", meaning, the value yo...
by K.Wagner
Fri 9. May 2025, 07:55
Forum: PCAN-Basic
Topic: CAN_SetValue returns Unknown Error
Replies: 3
Views: 1467

Re: CAN_SetValue returns Unknown Error

Hello, as we (still) do not work or know Rust programming, it is difficult to say something about the construtct of your code, but for us it looks like you would use the value of the event handle and not a reference to it. Additionally, an ERROR_UNKNOWN is normally returned, when an internal excepti...
by K.Wagner
Fri 28. Mar 2025, 16:57
Forum: PCAN-RP1210
Topic: J1939 wrong CAN-ID for PGN
Replies: 1
Views: 1885

Re: J1939 wrong CAN-ID for PGN

Hello, Please note that the value 25700 is not a valid PGN value, as for messages in PDU1 format, the lower byte of the PGN value must be 0 ( XX00h ). This is because this byte is filled by the destination address. Please refer to the J1939 specifications, especially the message format and usage, fo...
by K.Wagner
Fri 28. Mar 2025, 10:57
Forum: PCAN-RP1210
Topic: Bad IL Format
Replies: 3
Views: 2379

Re: Bad IL Format

Hello,

you are welcome.
by K.Wagner
Wed 26. Mar 2025, 08:08
Forum: PCAN-RP1210
Topic: Bad IL Format
Replies: 3
Views: 2379

Re: Bad IL Format

Hello, the error you get is right. Note that te PCAN-RP1210 is a native, in C++ written, Windows library. It is not an assembly. If you want to use this in an .NET environment, then you need to create a wrapper for it (keyword: marshaling ). The norm specifies the header file for C/C++ within the RP...
by K.Wagner
Wed 19. Mar 2025, 15:29
Forum: PCAN-View
Topic: UDS Checkout with PEAK CAN VIEW
Replies: 12
Views: 27600

Re: UDS Checkout with PEAK CAN VIEW

Hello, READ DID with function code 0x22 ... need to handle both Single Frame and Multi Frame responses. Which is the Example Solution i need to run to check above ? ( Sorry - I could not locate an exact example for this simple need. ) First of all, note that ISO-TP (in turn PCAN-ISO-TP API) represen...
by K.Wagner
Mon 17. Mar 2025, 21:50
Forum: PCAN-RP1210
Topic: Multipacket messages using PGN EB00
Replies: 1
Views: 13233

Re: Multipacket messages using PGN EB00

Hello, the API implements the transport protocol (BAM and RTS/CTS) as specified by the J1939 norm and the recommended practices 1210. In order to be able to send/receive large J1939 messages (data length > 8) you need to claim an address (Protect_J1939_Address), and also be sure that you let the API...
by K.Wagner
Mon 17. Mar 2025, 21:29
Forum: PCAN-RP1210
Topic: Occasionally getting error 139 when calling RP1210_ReadMessage
Replies: 1
Views: 1998

Re: Occasionally getting error 139 when calling RP1210_ReadMessage

Hello, this error occurs when you do not retrieve messages from the reception queue fast enought, so that the queue get full when trying to include a new message. The RP1210 API states that, when this happens, the queue must be emptied and the error 139 returned. Any message contained in the queue i...
by K.Wagner
Tue 11. Mar 2025, 15:34
Forum: PCAN-Basic
Topic: Enable TX Self Acknowledge
Replies: 5
Views: 85281

Re: Enable TX Self Acknowledge

Hello,

no, this is not possible. PCAN-Basic doesn't support Self Acknowledge at all.
by K.Wagner
Mon 10. Mar 2025, 17:22
Forum: PCAN-RP1210
Topic: RP1210 Protect J1939 Address and Send Message
Replies: 1
Views: 4433

Re: RP1210 Protect J1939 Address and Send Message

Hello,

we answered you by Email.