Search found 661 matches

by K.Wagner
Fri 3. Jul 2020, 14:10
Forum: PCAN-Basic
Topic: Python win32 event in different processes
Replies: 1
Views: 27

Re: Python win32 event in different processes

Hello, Do the events in the different processes influence each other? Actually not. PCAN-Basic manages things per connected channel, this is, you can set one read-event per initialized channel. What you want to do is not other than launching our sample twice and setting in both instances the option ...
by K.Wagner
Thu 2. Jul 2020, 08:33
Forum: PCAN-UDS
Topic: CAN message pause during send UDS message
Replies: 5
Views: 65

Re: CAN message pause during send UDS message

Hello,

Thanks for the feedback. Closed
by K.Wagner
Wed 1. Jul 2020, 08:22
Forum: PCAN-UDS
Topic: CAN message pause during send UDS message
Replies: 5
Views: 65

Re: CAN message pause during send UDS message

Hello, Are you connecting the two CAN channels from within the same project, or do you have two separate applications using each one-API/one-channel connection? The situation you describe looks like a bottleneck or synchronization problem. This kind of issue regarding the use of PCAN-Basic and UDS t...
by K.Wagner
Tue 30. Jun 2020, 11:52
Forum: PCAN-UDS
Topic: CAN message pause during send UDS message
Replies: 5
Views: 65

Re: CAN message pause during send UDS message

Hello, Not sure to understand your problem. As far as I understand, you have two PCAN devices, one initialized with PCAN-Basic nad another initialized with UDS. They are working in the same CAN network, at the same time, running a kind of UDS simulation between both channels, right? You also say tha...
by K.Wagner
Mon 15. Jun 2020, 10:45
Forum: PCAN-Basic
Topic: Measuring time with QPC
Replies: 7
Views: 172

Re: Measuring time with QPC

You're welcome. Closed
by K.Wagner
Mon 15. Jun 2020, 10:20
Forum: PCAN-Basic
Topic: Measuring time with QPC
Replies: 7
Views: 172

Re: Measuring time with QPC

Hello,

truncation can also occur, when in a calculation no type specification is done. Try the calculation like this:

Code: Select all


    UINT64 micros = 0L;

    micros = UINT64(ts.millis) * 1000 + ts.micros + 0x100000000 * 1000 * ts.millis_overflow;
	
    return micros;
by K.Wagner
Mon 15. Jun 2020, 08:56
Forum: PCAN-Basic
Topic: Measuring time with QPC
Replies: 7
Views: 172

Re: Measuring time with QPC

Hello,

As far as I can see, the value you are calculating is being truncated to a 32-bit value. Is microsTimestamp also a large integer? Please note that you have to do your operations using 64-bit variables.
by K.Wagner
Thu 28. May 2020, 15:30
Forum: Software
Topic: Fatal error: PCAN-ISO-TP_2016.dll couldn't be certified [PCAN-PassThru API]
Replies: 3
Views: 91

Re: Fatal error: PCAN-ISO-TP_2016.dll couldn't be certified [PCAN-PassThru API]

Hello,

we have fixed the issue and released a new version 2.0.1.
by K.Wagner
Thu 28. May 2020, 10:36
Forum: Software
Topic: Fatal error: PCAN-ISO-TP_2016.dll couldn't be certified [PCAN-PassThru API]
Replies: 3
Views: 91

Re: Fatal error: PCAN-ISO-TP_2016.dll couldn't be certified [PCAN-PassThru API]

Hello, it looks like an old reference has been kept in the API. We will check this asap. If you send us an email to support[at]peak-system.com making reference to this post, we will be able to provide you with a RC version for testing, as soon as we get a fix for this. Thanks for bringing this to ou...
by K.Wagner
Tue 26. May 2020, 08:43
Forum: PCAN-Basic
Topic: Time measurement in Python between transmitted and received CAN frame
Replies: 3
Views: 254

Re: Time measurement in Python between transmitted and received CAN frame

Hello, the timestamps within our APIs are generated using high-resolution timers , more specific, using the Windows API functions QueryPerformanceFrequency and QueryPerformanceCounter . The timestamp represents the time elapsed since the start of Windows , with an accuracy of 1 millisecond. Note tha...