Search found 796 matches

by K.Wagner
Wed 22. Jun 2022, 08:16
Forum: Software
Topic: PCAN Exp 6 VIN
Replies: 5
Views: 433

Re: PCAN Exp 6 VIN

Hello, How do you implement the use of the API??? Very little to no documentation on how to use them Sorry, I do not understand this. With the APIs you have: Documentation in PDF format for PCAN-ISO-TP with round about 260 pages. Documentation in PDF format for PCAN-UDS with round about 770 pages. E...
by K.Wagner
Tue 21. Jun 2022, 08:08
Forum: Software
Topic: PCAN Exp 6 VIN
Replies: 5
Views: 433

Re: PCAN Exp 6 VIN

Hello, looking at your CAN data, it seems as you are doing ISO-TP/UDS communication. PCAN-Explorer doesn't support those protocols. However, our devices support them via API (see PCAN-ISO-TP , PCAN-UDS for more information). The APIs are well documented and come with plenty of sample projects. One o...
by K.Wagner
Mon 20. Jun 2022, 11:40
Forum: PCAN-UDS
Topic: Display Rx Messages in Hexadecimal
Replies: 1
Views: 73

Re: Display Rx Messages in Hexadecimal

Hello, I understand that using Read_2013 would return a status code for the receive queue. when the function returns PUDS_STATUS_OK, then you got a message. This is placed in the out_msg_buffer parameter. I'm looking into how I can display the raw hex message received from the ECU. When you read a m...
by K.Wagner
Fri 10. Jun 2022, 09:29
Forum: PCAN-Developer 3 and PCAN-Evaluation
Topic: Using CreateEventEx causes problems with CAN_SetClientParam
Replies: 2
Views: 89

Re: Using CreateEventEx causes problems with CAN_SetClientParam

Hello, when you create an event for reading, this is not handled by the application/API but forwarded to the device driver which works in kernel mode. This has to do some opertations on the event to having it triggered from the kernel mode to the client mode, so this was implemented using ALL_ACCESS...
by K.Wagner
Fri 10. Jun 2022, 07:53
Forum: PCAN-Basic
Topic: Custom Trace Filename
Replies: 1
Views: 77

Re: Custom Trace Filename

Hello,

no, this is not possible with the API. But doing this in C# is very straightforward.

Code: Select all

System.IO.File.Move("oldfilename", "newfilename");
Just be sure to stop tracing before you do this, otherwise you will get an access denied error.
by K.Wagner
Tue 7. Jun 2022, 11:04
Forum: Software
Topic: Is it possible to know if the ECU is powered on/off in a PCAN basic API
Replies: 3
Views: 414

Re: Is it possible to know if the ECU is powered on/off in a PCAN basic API

Hello, was expecting PCAN_ERROR_BUSOFF to be returned when I physically disconnect the port, am I missing something? note that a PCAN-Basic connection uses a CAN net to attach to a hardware. This net is used for reading and writing. When you first connect a channel and then you remove it from the US...
by K.Wagner
Tue 7. Jun 2022, 08:14
Forum: Software
Topic: PCAN-View: How to change J1939 baud rate with byte arrays
Replies: 4
Views: 265

Re: PCAN-View: How to change J1939 baud rate with byte arrays

Hello,

sorry but we do not have such information. The way how ECUs are configurated change from ECU to ECU, and are also dependant from manufacturer and protocol used. Please check the documentation of your ECU or contact its manufacturer.
by K.Wagner
Tue 7. Jun 2022, 08:10
Forum: PCAN Basic .NET Assembly Beta
Topic: Change the clock frequency using PCAN Basic API
Replies: 1
Views: 349

Re: Change the clock frequency using PCAN Basic API

Hello, PCAN-Basic works in two mode, CAN-FD and classic CAN. PCAN devices that only support classic CAN only work with 8 Mhz, so changing this is not allowed. CAN-FD on the other hand does allow different frequencies. If your PCAN device supports CAN-FD, then just initialize the channel using PCAN-B...
by K.Wagner
Fri 3. Jun 2022, 08:11
Forum: PCAN-UDS
Topic: UDS_Initialize_2013 Return code 0x80000200
Replies: 1
Views: 80

Re: UDS_Initialize_2013 Return code 0x80000200

Hello, When I try to initialize other hardware (PCI, LAN, PCC, other USB channels I'm not using) I get cantp_status = 0x1 (PCANTP_STATUS_NOT_INITIALIZED); what I would expect given I don't have that hardware. This is because you have the driver for those devices installed on your system. Note that t...
by K.Wagner
Wed 1. Jun 2022, 12:54
Forum: PCAN-UDS
Topic: Cannot receive Negative Response with custom mapping
Replies: 9
Views: 250

Re: Cannot receive Negative Response with custom mapping

Hello, you need to remove standard mappings, only when you need other configuration for the already defined, otherwise you just need to include the new mapping. My sending address is 6BF and my receiving address is 6BF I think the problem is the use of the same ID for both, request and response. Ple...