Search found 9 matches

by matthieu
Thu 1. Aug 2024, 09:50
Forum: PCAN-Basic
Topic: CAN FD DLC beetween 0 to 15
Replies: 5
Views: 4917

Re: CAN FD DLC beetween 0 to 15

Hi,

the DLC that I retrieve is from a dbc file and the message is characterized by this line : "BO_ 2566741502 DM43: 22 Vector__XXX"
Anyway, I wasn't aware of the way DLC is working for CAN FD, so I couldn't get it to work properly.
Now that I'm aware, I guess I should set the DLC to the value just ...
by matthieu
Tue 30. Jul 2024, 13:26
Forum: PCAN-Basic
Topic: CAN FD DLC beetween 0 to 15
Replies: 5
Views: 4917

Re: CAN FD DLC beetween 0 to 15

the value isn't always the same, this time it was 22.

if (dataBaseMessage.DLC <= 8)
{
if (!dataBaseMessage.isExtID ?? false)
this.MsgType = MessageType.Standard;
else if (dataBaseMessage.isExtID ?? false)
this.MsgType = MessageType.Extended;
}
else
this.MsgType = MessageType ...
by matthieu
Tue 30. Jul 2024, 09:49
Forum: PCAN-Basic
Topic: CAN FD DLC beetween 0 to 15
Replies: 5
Views: 4917

CAN FD DLC beetween 0 to 15

Hello,

I'm currently trying to handle flexible data rate but when I try to set up the DLC an exception appears : The specified data length code is not valid. Value must be between 0 and 15. However I saw that normally CAN FD is working with my version : 4.9.0.942.
First, I set the message type and ...
by matthieu
Mon 22. Jul 2024, 16:09
Forum: Software
Topic: Extended | echo
Replies: 5
Views: 6695

Re: Extended | echo

thank you, looking forward the developers point of view.
by matthieu
Mon 22. Jul 2024, 12:05
Forum: Software
Topic: Extended | echo
Replies: 5
Views: 6695

Re: Extended | echo

Ok, thanks for respond.
It's still suprising because when you send a standart message, it's only echo. However, when it's extended both type are present.
"canMessage.MsgType Echo Peak.Can.Basic.MessageType"

Matthieu.
by matthieu
Mon 22. Jul 2024, 11:13
Forum: Software
Topic: Extended | echo
Replies: 5
Views: 6695

Extended | echo

Hello,

I've got a question about the multiple type in PCANMessage. Is that normal that I get 2 type in my messsage went it's extended and echo (2 and 32 -> "34"). I guess standard is working (because it's 0 and 32 -> "32").
"MsgType Extended | Echo Peak.Can.Basic.MessageType"

Matthieu
by matthieu
Tue 16. Jul 2024, 10:33
Forum: Software
Topic: Reading send messages
Replies: 5
Views: 6910

Re: Reading send messages

PCAN-USB
Firmware version: 8,6,1
by matthieu
Tue 16. Jul 2024, 08:55
Forum: Software
Topic: Reading send messages
Replies: 5
Views: 6910

Re: Reading send messages

Hi,

thanks for the response, I'm currently using Peak.PCANBasic.NET (v. 4.9.0.942).
I'm using the worker on the namespace Peak.Can.Basic.

Br,
Matthieu
by matthieu
Mon 15. Jul 2024, 16:30
Forum: Software
Topic: Reading send messages
Replies: 5
Views: 6910

Reading send messages

Hello,

I'm currently using worker to read and send messages to CAN network but I don't get how I can read the messages that I'm sending.

Matthieu.