Search found 711 matches

by K.Wagner
Fri 14. Aug 2020, 08:21
Forum: PCAN-Basic
Topic: Failed to filter message
Replies: 5
Views: 1018

Re: Failed to filter message

Hello, ok. Just to sum up: In order to get the best accuracy on filtering you need to do two things: Limit the hardware filter as good as possible, using FilterMessages or SetValue(PCAN_ACCEPTANCE_FILTER_XX). This decreases the amount of messages received by the the hardware. Use additional software...
by K.Wagner
Thu 13. Aug 2020, 14:21
Forum: PCAN-Basic
Topic: Failed to filter message
Replies: 5
Views: 1018

Re: Failed to filter message

Hello, as Marvin already said, this is due to the way how the CAN controller sets the filter. It cannot be guaranteed that you exactly receive the messages you entered. The filter is set using a 32 bit acceptance mask and 32 bit acceptance code. The bits that stay as "don't care" can take any form, ...
by K.Wagner
Thu 13. Aug 2020, 13:40
Forum: PCAN-UDS
Topic: How to read no request message from ECU?
Replies: 5
Views: 510

Re: How to read no request message from ECU?

Hello, not sure why you ask again the same. I already told you how to get such messages 1.I used UDS_Read() API to read it ,but it's failed. you need to create a mapping to get them as UUDT frames. 2.I used PCAN-Basic Read() API to read it ,it's successful to read the message,but need take a long ti...
by K.Wagner
Thu 13. Aug 2020, 09:20
Forum: PCAN-UDS
Topic: How to read no request message from ECU?
Replies: 5
Views: 510

Re: How to read no request message from ECU?

Hello, you should not use UDS and PCAN-Basic within the same channel for reading. Note that UDS is using the PCAN-Basic channel internally for communication, so that any message you read with PCAN-Basic will not be available for UDS , which leads to communication problems. If you need to read CAN me...
by K.Wagner
Thu 13. Aug 2020, 08:03
Forum: Software
Topic: PCANBasic_enu Help file blank
Replies: 9
Views: 1181

Re: PCANBasic_enu Help file blank

Hello, I understand that sometimes one can make a mistake by reading. When you are looking for losing a problem it is always good to read possible solutions carefully and, more important, to understand the problem. The first answer from our team contained already the solution for your problem, as we...
by K.Wagner
Thu 6. Aug 2020, 09:11
Forum: PCAN-Basic
Topic: Adjust tracing sampling frequency
Replies: 5
Views: 1024

Re: Adjust tracing sampling frequency

Hello, It seems like the frequency of the time stamps in the trace file in the same no matter how often I call CAN_Read() Just to read a message "later" doesn't mean that they will change their timestamps. You need to understand more how CAN works. To be clear, what I really want is less frequent da...
by K.Wagner
Wed 5. Aug 2020, 08:34
Forum: PCAN-Basic
Topic: Adjust tracing sampling frequency
Replies: 5
Views: 1024

Re: Adjust tracing sampling frequency

Hello, then you just need to call CAN_Read less frequently. Each call to the CAN_Read function will return just one message, so you can use a timer, set its interval to the frequency you want to read and call the CAN_Read function each time the time elapses. But keep in mind that doing so could lead...
by K.Wagner
Tue 4. Aug 2020, 17:40
Forum: PCAN-Basic
Topic: Adjust tracing sampling frequency
Replies: 5
Views: 1024

Re: Adjust tracing sampling frequency

Hello, this is no possible. Writing in the trace file occurs only when a message is read. Since PCAN-Basic doesn't read messages actively, but only when you call the function CAN_Read, or CAN_ReadFD (according to your configuration), you cannot adjust a time for flushing data. The only thing you cou...
by K.Wagner
Tue 21. Jul 2020, 10:24
Forum: PCAN-ISO TP
Topic: 11-bit PCAN Client's mapping fails to filter out 29-bit CAN msgs (Python)
Replies: 1
Views: 480

Re: 11-bit PCAN Client's mapping fails to filter out 29-bit CAN msgs (Python)

Hello, this is normal that your receive those 29-bit frames. PCAN-ISO-TP is configured like that. You can see this in the chapter 4.4 of the documentation for PCAN-ISO-TP v2.x (page 116): ISO-TP_Mappings.PNG Note that there are no mappings needed in order to receive FIXED_NORMAL or MIXED 29-bit mess...
by K.Wagner
Tue 21. Jul 2020, 08:27
Forum: PCAN-UDS
Topic: Whether PCAN-UDS API Methods reenterable?
Replies: 1
Views: 355

Re: Whether PCAN-UDS API Methods reenterable?

Hello,

all our Apis are thread-safe, so yes, it is not a problem calling the function from different threads.