Hi,
I have an USB PCAN Adpater running on Ubuntu. I installed the driver and pcanbasic and it seems to be working (candump shows messages sent by another PC via PCAN View) and I can send messages in my Java program.
My problem is that I can't receive messages in Java, even with the example Application in pcanbasic. Sending is not a problem.
Could someone point me in the right direction, I don't know what could cause this problem.
Thanks in advance.
Can Not Recieve Can Msg With Example Java Code
-
- Software Development
- Posts: 305
- Joined: Mon 9. Sep 2013, 12:21
Re: Can Not Recieve Can Msg With Example Java Code
Hello Ethelena,
By default in the Java sample and after you connect to a device, the working channel is in a paused state. You need to click on the "Start" button (under the "Connected Channels" groupbox) in order to start receiving messages.
By default in the Java sample and after you connect to a device, the working channel is in a paused state. You need to click on the "Start" button (under the "Connected Channels" groupbox) in order to start receiving messages.
- Attachments
-
- pcanjni_sample.PNG (47.36 KiB) Viewed 2735 times
Best regards,
Fabrice
Fabrice