Search found 1024 matches

by K.Wagner
Wed 25. Jun 2025, 09:40
Forum: PCAN-Developer 4
Topic: Python GetAvailableHardware() and can_available_hardware_t Objects
Replies: 3
Views: 312

Re: Python GetAvailableHardware() and can_available_hardware_t Objects

Hello,

glad to see you have found what you needed. All this information is in the documentation. It is easier looking at it first, before looking the code. Closed.
by K.Wagner
Tue 24. Jun 2025, 13:59
Forum: PCAN-Developer 4
Topic: Python GetHardwareStatus() Does not return HWINUSE
Replies: 1
Views: 141

Re: Python GetHardwareStatus() Does not return HWINUSE

Hello,

please check whther you are using the channel already with PCAN-View using a different bit rate value than the one used within your code. Moreover, please show your code of how you are checking the status and then how you are trying to connect it.

Thanks,
by K.Wagner
Tue 24. Jun 2025, 13:54
Forum: PCAN-Developer 4
Topic: Python GetAvailableHardware() and can_available_hardware_t Objects
Replies: 3
Views: 312

Re: Python GetAvailableHardware() and can_available_hardware_t Objects

Hello,

the device ID is something "not unique" that can be set as the user needs. If you set the same ID to all your devic, then you will get also this information using the getavailableHardware function. You can change the device ID using either the PEAK Settings applet or the PCAn-View. here a ...
by K.Wagner
Tue 24. Jun 2025, 13:50
Forum: Suggestions & Feature Requests
Topic: PCAN Nets Configuration App (Windows)
Replies: 2
Views: 214

Re: PCAN Nets Configuration App (Windows)

Hello,

the PCAN Net Configuration tool does show the handle of any registered net. See picture:
Net-Config.png
Net-Config.png (44.15 KiB) Viewed 207 times
by K.Wagner
Mon 12. May 2025, 09:20
Forum: PCAN-Basic
Topic: CAN_SetValue returns Unknown Error
Replies: 3
Views: 2981

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 ...
by K.Wagner
Fri 9. May 2025, 07:55
Forum: PCAN-Basic
Topic: CAN_SetValue returns Unknown Error
Replies: 3
Views: 2981

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 ...
by K.Wagner
Fri 28. Mar 2025, 16:57
Forum: PCAN-RP1210
Topic: J1939 wrong CAN-ID for PGN
Replies: 1
Views: 2910

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 ...
by K.Wagner
Fri 28. Mar 2025, 10:57
Forum: PCAN-RP1210
Topic: Bad IL Format
Replies: 3
Views: 3161

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: 3161

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 ...
by K.Wagner
Wed 19. Mar 2025, 15:29
Forum: PCAN-View
Topic: UDS Checkout with PEAK CAN VIEW
Replies: 12
Views: 28719

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 ...