Search found 10 matches

by SomeFancyUsername
Fri 30. Aug 2024, 09:45
Forum: PCAN-USB
Topic: Frames sent by app occasionally are only visible in PCANView, but not on bus
Replies: 4
Views: 7418

Re: Frames sent by app occasionally are only visible in PCANView, but not on bus

Dear,

thanks, that sounds promising. That explains my feeling that having the PCANView open plays a role in this (referring to the uninitialize/inizialize cycle mentioned in the help text here). I have some follow-up questions:

At which point may I call SetValue? May it be before Initialize? Or ...
by SomeFancyUsername
Thu 29. Aug 2024, 17:00
Forum: PCAN-USB
Topic: Frames sent by app occasionally are only visible in PCANView, but not on bus
Replies: 4
Views: 7418

Frames sent by app occasionally are only visible in PCANView, but not on bus

Dear,

I have the following situation. Sometimes it happens that my application ends up in a state where frames sent will not end up on the bus, but only be visible in the PCANView application I open in parallel to check. I usually reach that state when devices restart, so it could be related to e.g ...
by SomeFancyUsername
Tue 10. Aug 2021, 16:46
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

Re: PCAN Basic API - Multiple interfaces - No receive events

To conclude: Yes, works like charm now.
by SomeFancyUsername
Tue 10. Aug 2021, 16:38
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

Re: PCAN Basic API - Multiple interfaces - No receive events

Whoops. I think I just found it. After I was not able to reproduce this symptom with the PCAN Basic Sample application I looked through my application considering doing a minimal sample...

I stumbled over my read call: Instead of calling it with the handle that I used to initialize, there was a ...
by SomeFancyUsername
Tue 10. Aug 2021, 16:21
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

Re: PCAN Basic API - Multiple interfaces - No receive events

I will try to make a minimal sample.

Devices are one 002021 and one 002022.

The link to the guide seems broken.
by SomeFancyUsername
Tue 10. Aug 2021, 16:10
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

Re: PCAN Basic API - Multiple interfaces - No receive events

Closing in. I can eleminate PCAN View for now. Following symptom:

Plugging in 0x1 device first -> Reception is OK, handle returned by the query for the device number 0x1 was 0x51 (expected)
Plugging in 0x2 device first -> Reception is NOK, handle returned by the query for the device number 0x1 was ...
by SomeFancyUsername
Tue 10. Aug 2021, 15:43
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

Re: PCAN Basic API - Multiple interfaces - No receive events

Intermediate report: Was just trying to reproduce and then this happened the first time:

Starting PCAN View, both interfaces show. 0x1 is opened by my application and happily receiving. I selected the 0x2 interface to open with PCAN View and I get ILLNET 1800h. Never saw that before.

Update: This ...
by SomeFancyUsername
Tue 10. Aug 2021, 15:33
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

Re: PCAN Basic API - Multiple interfaces - No receive events

Sorry, just to clarify my previous statement regarding disconnecting interface 0x2: With disconnecting I meant unplugging the USB of that interface.
by SomeFancyUsername
Tue 10. Aug 2021, 13:59
Forum: PCAN-Basic
Topic: PCAN Basic API - Multiple interfaces - No receive events
Replies: 11
Views: 10994

PCAN Basic API - Multiple interfaces - No receive events

Hi,

I use two PCAN-USB interfaces which I have configured to use the device ids 0x1 and 0x2. This setup usually works for me but I have noticed that sometimes the PCAN Basic API (C#) seems to stop receiving (at least).

This happended to me multiple times, but during development -> I have a lot of ...