Search found 49 matches

by elpimous12
Tue 23. Aug 2022, 11:06
Forum: Linux
Topic: Peak M2 on Ubuntu I7 RT latency
Replies: 2
Views: 1154

Re: Peak M2 on Ubuntu I7 RT latency

Thanks, Michael.
I'll do that 👌
by elpimous12
Sun 21. Aug 2022, 21:29
Forum: Linux
Topic: Peak M2 on Ubuntu I7 RT latency
Replies: 2
Views: 1154

Peak M2 on Ubuntu I7 RT latency

Hello the team.
I send a 64 bytes canFD frame, who send a query to I'd...
how long must I wait before read RXQueue, to be sure to read a feeded Rx frame?
Usleep(10)? 100 ?
Thanks the team.
vincent
by elpimous12
Fri 6. May 2022, 13:46
Forum: Linux
Topic: frame padding c++ example
Replies: 5
Views: 983

Re: frame padding c++ example

Perfect. Thanks the team
by elpimous12
Thu 5. May 2022, 15:40
Forum: Linux
Topic: frame padding c++ example
Replies: 5
Views: 983

Re: frame padding c++ example

Hello, sorry for explication.. Testing again In my c++ code, Ubuntu 20.04, pcanbasic api, Peak M2, I built a frame FD, containing 32 bytes. _tx_msg.id = 0x8000 | id; _tx_msg.length = 32; // Write Mode _tx_msg.data[0] = 0x01; // Write uint8 (0x00) | Write 1 register (0x01) _tx_msg.data[1] = 0x00; // ...
by elpimous12
Tue 3. May 2022, 21:19
Forum: Linux
Topic: frame padding c++ example
Replies: 5
Views: 983

Re: frame padding c++ example

For example, the last 20 bytes...
by elpimous12
Tue 3. May 2022, 18:57
Forum: Linux
Topic: frame padding c++ example
Replies: 5
Views: 983

frame padding c++ example

Hello the team, hello all.
I need, in my project, to replace unused bytes 0x00 to 0x50.
frame example : 0100001f010000000000000000000000000070785a698a55000090785a698a55000090785a698a55000000000000000000000000000000000000000000000000
Could I find anywhere, a simple c++ example?
Thanks the team.
Vincent
by elpimous12
Sat 9. Oct 2021, 14:57
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 17
Views: 6325

Re: cant receive frame after a query !

Thanks, Mr
by elpimous12
Tue 28. Sep 2021, 18:48
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 17
Views: 6325

Re: cant receive frame after a query !

hello, you're right ! sent message MSGTYPE is 14, so PCAN_MESSAGE_FD + PCAN_MESSAGE_EXTENDED + PCAN_MESSAGE_BRS received message is 128, so it's PCAN_MESSAGE_STATUS. I followed all your readFD examples, the one in previous posts is Your one. msg, in CAN_ReadFD() is a TPCANMsgFD buffer to store the C...
by elpimous12
Tue 28. Sep 2021, 13:02
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 17
Views: 6325

Re: cant receive frame after a query !

Humm..
Do you have a c++ example with write&read fd frame?
Or perhaps just the correct command to read real can fd frame?
Thanks for your time.
Vincent
by elpimous12
Tue 28. Sep 2021, 12:35
Forum: Linux
Topic: "can send" command over c++ (peak 4canM2)
Replies: 4
Views: 1703

Re: "can send" command over c++ (peak 4canM2)

Big thanks Michael.
Exactly what I needed. 👌