I solved my issue.
I was not set numMsgs before every ReadMsgs call.
If buffer empty, numMsgs is set to 0 by the api. I must re-set numMsgs for read another messages. (at least numMsgs = 1)
Now I can read 100ms repeated messages.
Search found 4 matches
- Fri 25. Dec 2020, 10:38
- Forum: PCAN-PassThru API
- Topic: Receive Buffer Always EMPTY
- Replies: 6
- Views: 7178
- Wed 23. Dec 2020, 10:32
- Forum: PCAN-PassThru API
- Topic: Receive Buffer Always EMPTY
- Replies: 6
- Views: 7178
Re: Receive Buffer Always EMPTY
Thank you for your interest.
I already install PCAN-PassThru API but I have just a DLL file.
Could you provide any interface for C/C# so I can easily test PCAN functions.
I already install PCAN-PassThru API but I have just a DLL file.
Could you provide any interface for C/C# so I can easily test PCAN functions.
- Tue 22. Dec 2020, 15:12
- Forum: PCAN-PassThru API
- Topic: Receive Buffer Always EMPTY
- Replies: 6
- Views: 7178
Re: Receive Buffer Always EMPTY
Hi,
I am using link removed --> search github.com/mkelly/J2534DotNet ] repository for C# application.
and my application code is here:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System ...
I am using link removed --> search github.com/mkelly/J2534DotNet ] repository for C# application.
and my application code is here:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System ...
- Tue 22. Dec 2020, 12:07
- Forum: PCAN-PassThru API
- Topic: Receive Buffer Always EMPTY
- Replies: 6
- Views: 7178
Receive Buffer Always EMPTY
Hi,
I search a topic for my issue. I found this topic.
I tried the methods in the topic.
But i still can't receive any message.
I tried no filter and filter ID : 0x12345678
There are debug files in the attachments.
I tried 250K and 500K Baudrates.
I tried PassThruConnect with CAN_ID_BOTH and ...
I search a topic for my issue. I found this topic.
I tried the methods in the topic.
But i still can't receive any message.
I tried no filter and filter ID : 0x12345678
There are debug files in the attachments.
I tried 250K and 500K Baudrates.
I tried PassThruConnect with CAN_ID_BOTH and ...