Search found 13 matches

by MrSingh
Tue 14. May 2019, 16:47
Forum: Linux
Topic: Knowing the status of transmitted messages
Replies: 7
Views: 8438

Re: Knowing the status of transmitted messages

Hey Wilhelm

Is it not possible to configure the PCAN for single-shot operation, and disregard the ACK bit completely(Let's say if I can handle to lose the robustness of the bus)?
That's what I keep reading on the other forums.

And any comments on this:
From a post in 2016, https://www.peak-system ...
by MrSingh
Tue 14. May 2019, 16:31
Forum: Linux
Topic: Knowing the status of transmitted messages
Replies: 7
Views: 8438

Re: Knowing the status of transmitted messages

Got it.
Thanks for your kind words.
by MrSingh
Tue 14. May 2019, 03:44
Forum: Linux
Topic: Knowing the status of transmitted messages
Replies: 7
Views: 8438

Re: Knowing the status of transmitted messages

The loopback should work for me.

From a post in 2016, https://www.peak-system.com/forum/viewt ... =59&t=1604 loopback functionality was not supported by the PCAN-USB device through the linux-can interface. Is it supported now?

Would you suggest some other way?

Best Regards
Akash
by MrSingh
Tue 14. May 2019, 00:27
Forum: Linux
Topic: Knowing the status of transmitted messages
Replies: 7
Views: 8438

Re: Knowing the status of transmitted messages

Aha! Thanks a lot!
I did read up on the basics of CAN, but there's not much implementation notes available. Or I may have missed a few important details. Nonetheless, that's how beginners learn.

Although I did terminate the Peak_USB with a 120ohm resistance on an additional breakout board, but as ...
by MrSingh
Mon 13. May 2019, 18:13
Forum: Linux
Topic: Knowing the status of transmitted messages
Replies: 7
Views: 8438

Knowing the status of transmitted messages

Hi!

I am transmitting the messages using my PCAN-USB. And looking at the CAN-BUS signal on my YOKOGAWA DLM2054 MSO Osciiloscope.
But it only shows the first CAN message as being transmitted. No matter how I send another message, on different ID or with a different data, unless I reset the bus, the ...
by MrSingh
Mon 13. May 2019, 17:42
Forum: Linux
Topic: ImportError: No module named PCANBasic,on python
Replies: 11
Views: 15531

Re: ImportError: No module named PCANBasic,on python

I figured this one.

The path required by PyCharm was the same as the one required by terminal. If I start python in terminal in any other directory, then also it gives an import error.

Code: Select all

/--path to dir--/PCAN-Basic_Linux-4.3.1/libpcanbasic/examples/python
Thanks for your help. :D
by MrSingh
Mon 13. May 2019, 16:57
Forum: Linux
Topic: ImportError: No module named PCANBasic,on python
Replies: 11
Views: 15531

Re: ImportError: No module named PCANBasic,on python

Understood.
Thanks.
by MrSingh
Mon 13. May 2019, 16:10
Forum: Linux
Topic: ImportError: No module named PCANBasic,on python
Replies: 11
Views: 15531

Re: ImportError: No module named PCANBasic,on python

I tried running the receivetest, and got the following output.
$ /usr/local/bin/receivetest -f=/dev/pcan32 -e

receivetest Version "Release_20150611_n" (www.peak-system.com)
------- Copyright (C) 2004-2009 PEAK System-Technik GmbH ------
receivetest comes with ABSOLUTELY NO WARRANTY. This is free ...
by MrSingh
Mon 13. May 2019, 16:08
Forum: Linux
Topic: ImportError: No module named PCANBasic,on python
Replies: 11
Views: 15531

Re: ImportError: No module named PCANBasic,on python

OK. The import works in the terminal now, although I did try before as well.
But Still does not work in PyCharm.
This is the output in Pycharm from PCANBasic import *
ImportError: No module named PCANBasic

The result of the first set of commands is same as expected, but I will put it here for ...
by MrSingh
Mon 13. May 2019, 02:26
Forum: Linux
Topic: ImportError: No module named PCANBasic,on python
Replies: 11
Views: 15531

Re: ImportError: No module named PCANBasic,on python

I tried running the receivetest, and got the following output.
$ /usr/local/bin/receivetest -f=/dev/pcan32 -e

receivetest Version "Release_20150611_n" (www.peak-system.com)
------- Copyright (C) 2004-2009 PEAK System-Technik GmbH ------
receivetest comes with ABSOLUTELY NO WARRANTY. This is free ...