Search found 663 matches

by M.Heidemann
Tue 21. Sep 2021, 15:19
Forum: PCAN-Basic
Topic: CAN_Read not reading the expected messages
Replies: 11
Views: 163

Re: CAN_Read not reading the expected messages

Hello, This will not read all messages with ID= 0x18D8DA32 because you'll break the while loop once one message with ID=0x18D8DA32 has been read: Loop break.png Remove the break and it should print all instances of 0x18D8DA32. You'll also have to read every message in the queue, there is no way arou...
by M.Heidemann
Tue 21. Sep 2021, 13:41
Forum: PCAN-Basic
Topic: CAN_Read not reading the expected messages
Replies: 11
Views: 163

Re: CAN_Read not reading the expected messages

Hello, Have a look at the read-examples provided with the PCAN-Linux driver package in the folder: peak-linux-driver-8.12.0\libpcanbasic\examples Furthermore also read the documentation provided for PCANbasic. You'll need to read until the Reception queue is empty, for this purpose you can use the r...
by M.Heidemann
Tue 21. Sep 2021, 12:51
Forum: PCAN-Router
Topic: Certain messages not sent out
Replies: 6
Views: 520

Re: Certain messages not sent out

Hello, The PCAN-Router has 16Kbyte RAM, which is needed for all variables, libs, etc. Your compiler will also give information regarding the total size used for the firmware, including all dependencies. You'll need about 16 bytes for an TX message and 20 bytes for a RX message (it includes a timesta...
by M.Heidemann
Tue 21. Sep 2021, 07:51
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 9
Views: 593

Re: cant receive frame after a query !

Hello, Regarding my comment: How are we supposed to keep track of your edits? I was not refering to your code, but you have edited a previous post of yours with new information, we do not get any notifications regarding this and may miss that new information is available for this request, hence my p...
by M.Heidemann
Mon 20. Sep 2021, 12:19
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 9
Views: 593

Re: cant receive frame after a query !

Please, if they are new findings regarding your support case, post them.

How are we supposed to keep track of your edits?

Furthermore:

Can you show us:

a) Connection Dialog PCAN-View
b) Message sent in PCAN-View and response
by M.Heidemann
Mon 20. Sep 2021, 10:30
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 9
Views: 593

Re: cant receive frame after a query !

"Extended" only refers to the type of CAN-ID (11bit /29bit) used, how many data-bytes there are is idenpendent from that. You message is both a FD messages and message using an extended ID. Your code is not correct. TPCANBitrateFD BitrateFD msg.MSGTYPE = PCAN_MESSAGE_FD | PCAN_MESSAGE_EXTENDED msg.D...
by M.Heidemann
Mon 20. Sep 2021, 08:14
Forum: PCAN-Basic
Topic: reduce canFD frame size
Replies: 1
Views: 110

Re: reduce canFD frame size

Hello, If your controller expects a DLC of 64 regardless of the actual content of the message, i don't think there is much in terms of your code what you can do about it. We do not know your controller and the protocol used here, so we would suggest to stick with the protocol on your software side a...
by M.Heidemann
Mon 20. Sep 2021, 07:57
Forum: PCAN-Basic
Topic: cant receive frame after a query !
Replies: 9
Views: 593

Re: cant receive frame after a query !

Hello, Just an assumption, as we do not know the full extend of your application: You message uses an ID given as Hex, however the data-byte are given as decimal values: //send frame to controller msg.MSGTYPE = PCAN_MESSAGE_FD; msg.DLC = 3; // DLC (data length code, for canFD message) value. -> 11 i...
by M.Heidemann
Fri 17. Sep 2021, 13:07
Forum: PCAN-Explorer 6 & Add-ins
Topic: About macro
Replies: 2
Views: 392

Re: About macro

Hello, You seem to have missed the length parameter, the standard macro needs to know how long the message actually is: WaitDataParameters.png Your incoming message is actually 8 Bytes long and you will have to specify this appropiately, your current macro actually waits for: +----------+------+----...
by M.Heidemann
Fri 17. Sep 2021, 09:38
Forum: PCAN-Explorer 6 & Add-ins
Topic: PUSH BUTTON TO SEND TX MESSAGES CONTINUOUSLY
Replies: 1
Views: 95

Re: PUSH BUTTON TO SEND TX MESSAGES CONTINUOUSLY

Hello,

You have already contacted our support via email.

Please stick to one method of communication.

Best Regards

Marvin

-closed-