Search found 3 matches

by tanyabell
Mon 30. Sep 2024, 20:52
Forum: PCAN-Basic
Topic: Error message
Replies: 1
Views: 14129

Error message

Hello,
I got an error message when writing a message on PCAN:
"Type could not be marshaled because the length of an embedded array instance does not match the declared length in the lay

How can I fix this error?
by tanyabell
Wed 28. Aug 2024, 19:57
Forum: PCAN-UDS
Topic: Detect if the device goes missing?
Replies: 2
Views: 2180

Re: Detect if the device goes missing?


the channel remains occupied because the connection will continue working, when you connect that device again (it is "reserved" for that application). If you want to check if a channel is still physically there, you need to call CAN_GetStatus periodically. If the device is plugged out, then you ...
by tanyabell
Tue 20. Aug 2024, 10:49
Forum: PCAN-UDS
Topic: Detect if the device goes missing?
Replies: 2
Views: 2180

Detect if the device goes missing?

Hello,

I'm working with PCAN-UDS and a Peak-USB device. When I connect the device, the channel condition goes from Unavailable to Available. If I disconnect it, it goes back to Unavailable.

However, if I call PCAN_Initialize on the corresponding handle, the condition becomes Occupied. I tried ...