Search found 711 matches

by K.Wagner
Mon 1. Feb 2021, 10:41
Forum: PCAN-UDS
Topic: Data padding setting issue
Replies: 3
Views: 218

Re: Data padding setting issue

Hello, the using of padding values is per default activated, so you actually must do nothing. PaddingHelp.PNG When running the sample 02 as you mentioned without modifying it, then we can see 5 bytes padding, using the byte 0x55 Padding1.PNG To assert the padding is configurable, we use the paramete...
by K.Wagner
Mon 25. Jan 2021, 08:51
Forum: PCAN-PassThru API
Topic: Very high CPU usage when continously calling GetMessages with a lot of data.
Replies: 5
Views: 373

Re: Very high CPU usage when continously calling GetMessages with a lot of data.

Hello, first of all, in any moment was my intention to blame code from anyone. We have several APIs that works different and in most cases a call in a while (true) leads to such behaviors. I admit, I missed the timeout in the function call i.e. mixed it with other issue that I was investigating, kin...
by K.Wagner
Mon 18. Jan 2021, 11:37
Forum: PCAN-PassThru API
Topic: Very high CPU usage when continously calling GetMessages with a lot of data.
Replies: 5
Views: 373

Re: Very high CPU usage when continously calling GetMessages with a lot of data.

Hello, If I use any of my other devices then there is no such issue with the same amount of data I assume you are not using the same code for reading from the other hardware, right? Of course those devices do 15765 flow control in hardware... Thought this makes a difference, a continuously read proc...
by K.Wagner
Wed 13. Jan 2021, 10:46
Forum: PCAN-UDS
Topic: UDS CANFD Support
Replies: 4
Views: 387

Re: UDS CANFD Support

Hello, PCAN-UDS version 2.0 was released in Dezember as expected. Here the History and Download link Note: the package contains a readme file. Please read this - it is about an issue that is still being corrected. Follow the recommendations in there to avoid compatibility problems with the next rele...
by K.Wagner
Fri 8. Jan 2021, 08:55
Forum: PCAN Basic .NET Assembly Beta
Topic: DLC as int vs byte TPCANMsgFD
Replies: 1
Views: 126

Re: DLC as int vs byte TPCANMsgFD

Hello, no it is not a bug, it was intended so. As you can see the classic TPCANMsg structure has also a member LEN of type byte, and in the assembly is defined as int too. Assembly: TPCANMsg.Length Classic: TPCANMsg.LEN The idea is to prevent the user for making castings by himself when working with...
by K.Wagner
Tue 1. Dec 2020, 08:16
Forum: PCAN-XCP
Topic: TransportLayerCommand sends on MasterID instead on the BroadcastID
Replies: 5
Views: 412

Re: TransportLayerCommand sends on MasterID instead on the BroadcastID

Hello,

thanks for your feedback! This version will be released the coming week.

Closed.
by K.Wagner
Fri 27. Nov 2020, 11:09
Forum: PCAN-XCP
Topic: TransportLayerCommand sends on MasterID instead on the BroadcastID
Replies: 5
Views: 412

Re: TransportLayerCommand sends on MasterID instead on the BroadcastID

Hello,

if you are interested in a test version (RC version), please send an email to support[at]peak-system.com, mentioning this topic.
by K.Wagner
Fri 27. Nov 2020, 09:42
Forum: PCAN-XCP
Topic: TransportLayerCommand sends on MasterID instead on the BroadcastID
Replies: 5
Views: 412

Re: TransportLayerCommand sends on MasterID instead on the BroadcastID

Hello again,
Flo1989 wrote:
Thu 26. Nov 2020, 19:16
When i send it in synchron mode it returns XCP_ERR_OK but sends on Master ID
After further tests we were able to get the Master ID too, as you described. This will also be fixed.

Thanks for bringing this to our attention.
by K.Wagner
Fri 27. Nov 2020, 09:09
Forum: PCAN-XCP
Topic: TransportLayerCommand sends on MasterID instead on the BroadcastID
Replies: 5
Views: 412

Re: TransportLayerCommand sends on MasterID instead on the BroadcastID

Hello, When i Send the command in async mode it returns "XCP_ERR_INSUFFICIENT_BUFFER". Indeed, this seems to be a bug. For two of three sub commands of TRANSPORT_LAYER_CMD it is mandatory to use the synchron version of the function. GET_SLAVE_ID is the exception, but the API is currently not allowin...
by K.Wagner
Thu 26. Nov 2020, 14:24
Forum: PCAN-UDS
Topic: How to create Trace files using PCAN UDS api
Replies: 1
Views: 202

Re: How to create Trace files using PCAN UDS api

Hello, since UDS is based on PCAN-Basic, you can use this API to start a tracing operation. You will then get a PCAN-Trace file like those generated by PCAN-View. For this you need to call the PCAN-Basic function CAN_SetValue with the UDS handle you have initialized, to set the parameter PCAN_TRACE_...