Page 1 of 1

Can Not Recieve Can Msg With Example Java Code

Posted: Wed 4. Apr 2018, 07:26
by ethelena
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.

Re: Can Not Recieve Can Msg With Example Java Code

Posted: Wed 4. Apr 2018, 09:51
by F.Vergnaud
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.