Search found 927 matches

by K.Wagner
Fri 22. Sep 2023, 09:38
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 116

Re: Get Raw CAN Data out of UDS Response

Hello,

thanks for the feedback. Glad to see that you solved your problem. Closed.
by K.Wagner
Thu 21. Sep 2023, 15:30
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 116

Re: Get Raw CAN Data out of UDS Response

Hello, If you check the help for "WaitForService_2013" you will find the following regarding the parameters: - Response.PNG and then this in the remarks section: - Remarks.PNG - In other words, if the call to SvcReadDataByIdentifier_2013 is OK, and then the call to WaitForService_2013 too, then the ...
by K.Wagner
Mon 18. Sep 2023, 09:59
Forum: PCAN-Basic
Topic: Support for legacy software
Replies: 8
Views: 116

Re: Support for legacy software

Hello,

ich you have to implement the access to the PCAN-PCI card again, then use please the PCAN-Basic API for it. It offers support for x86 and x64 applications.

Please use the software PEAK-Drivers Setup to install both, the Plug&Play device drivers and the PCAN-Basic API.
by K.Wagner
Fri 15. Sep 2023, 17:44
Forum: PCAN-Basic
Topic: Support for legacy software
Replies: 8
Views: 116

Re: Support for legacy software

Dear,

we do not know any 7841.dll and our APIs also do not return negative values on failure.

APIs from our company are canapi2.dll, canapi4.dll, pcanbasic.dll, pcan_pci.dll/pcan_2pci.dll (part of PCANLight API dlls), among others. Check if you find any of those files in your system.
by K.Wagner
Thu 24. Aug 2023, 09:59
Forum: PCAN-UDS
Topic: CANID MAPPING
Replies: 1
Views: 101

Re: CANID MAPPING

Hello, your code seems to be OK. Just be careful, that within the function PUDS_SetRequestResponse_CANID you are using a fix channel value in the second call to AddMapping_2013: status = UDSApi.AddMapping_2013(m_clientHandle, ref request_mapping); if (UDSApi.StatusIsOk_2013(status)) { MessageBox.Sho...
by K.Wagner
Thu 24. Aug 2023, 09:06
Forum: PCAN-UDS
Topic: Get Raw CAN Data out of UDS Response
Replies: 6
Views: 116

Re: Get Raw CAN Data out of UDS Response

Hello, there are two ways to do this: You configure UDS filters to accept the UUDT messages you want to receive (Unacknowledged Unsegmented Data Transfer, a.k.a. single CAN/CAN_FD frames). check the " UUDT Read/Write Example " within the chapter 4.3.3 of the PCAN-UDS documentation. You can also chec...
by K.Wagner
Tue 22. Aug 2023, 12:46
Forum: PCAN-Basic
Topic: TPCANMSg could not be marshaled
Replies: 3
Views: 153

Re: TPCANMSg could not be marshaled

Hello, So it is impossible to send a packet of 2 bytes ? of course it's possible. I already told you what you need to change in my last post. Why not just try it? you will see that two bytes will be sent. Background: As wrote, the data array of a CAN structure is 8 bytes in length, in other words, t...
by K.Wagner
Tue 22. Aug 2023, 12:20
Forum: PCAN-Basic
Topic: TPCANMSg could not be marshaled
Replies: 3
Views: 153

Re: TPCANMSg could not be marshaled

Hello,

the data array of a CAN structure is 8 byte in length. You are creating a two bytes array, which doesn't fit the structure declaration:
TPCANMsg structure declaration for C#
TPCANMsg structure declaration for C#
TPCANmsg.PNG (17.48 KiB) Viewed 151 times
_
Please change the following line of your code:

Code: Select all

CANMsg.DATA = new byte[2];
to be like this:

Code: Select all

CANMsg.DATA = new byte[8];
by K.Wagner
Tue 22. Aug 2023, 09:30
Forum: Software
Topic: Memory Problems with PCAN USB X6
Replies: 1
Views: 136

Re: Memory Problems with PCAN USB X6

Hello, We got some parts which are showing a really weird behavior on the Can bus during the power on process. After recording the CAN Trace with a vector box we figured out that the Can messages show no anomalies. After the power on process of the ECU we checked the memory of the PC where we are de...
by K.Wagner
Fri 18. Aug 2023, 15:25
Forum: Software
Topic: Using PCAN Basic with Excel
Replies: 1
Views: 113

Re: Using PCAN Basic with Excel

Hello, you are refering to a header file for Visual-Basic 6. We do not support this file anymore beginning with the latest version of PCAN-Basic (see the Changes section of the Release Notes v4.7.1 ). We can provide you with the last version of this file if you want it, but note: we give you this fi...