Guidance on Viewing and Interacting with CAN Bus Data on Linux
Guidance on Viewing and Interacting with CAN Bus Data on Linux
Dear Team,
1. Viewing CAN Data on a Linux PC(Version details are attached in the attachment for your reference):
How can I view CAN data being sent and received via the CAN bus on a Linux PC? What tools or commands are required, and what steps should I follow to set up and monitor CAN bus communication? I have reviewed the relevant page at PEAK-System's website "https://www.peak-system.com/fileadmin/m ... n-view.php", But found it unhelpful, and it mentioned that the content is NON-FREE. Does this mean a payment is required? I have attached a screenshot for your reference.
2. Sending and Receiving CAN Data Using Python:
How can I send and receive CAN data using a Python script on a Linux PC? What libraries or modules are needed, and what is the process for writing a script that can interact with the CAN bus to monitor data transmission and reception? If Python can work with the CAN bus for monitoring data transmission and reception, please provide a sample Python script and the supporting libraries.
3. Using the PCAN-View Interface:
Even after successful installation, how do I use the PCAN-View interface? Can you provide a user manual or reference video for it?
Thank you advance for your assistance.
Best Regards,
M. SasiKumar
1. Viewing CAN Data on a Linux PC(Version details are attached in the attachment for your reference):
How can I view CAN data being sent and received via the CAN bus on a Linux PC? What tools or commands are required, and what steps should I follow to set up and monitor CAN bus communication? I have reviewed the relevant page at PEAK-System's website "https://www.peak-system.com/fileadmin/m ... n-view.php", But found it unhelpful, and it mentioned that the content is NON-FREE. Does this mean a payment is required? I have attached a screenshot for your reference.
2. Sending and Receiving CAN Data Using Python:
How can I send and receive CAN data using a Python script on a Linux PC? What libraries or modules are needed, and what is the process for writing a script that can interact with the CAN bus to monitor data transmission and reception? If Python can work with the CAN bus for monitoring data transmission and reception, please provide a sample Python script and the supporting libraries.
3. Using the PCAN-View Interface:
Even after successful installation, how do I use the PCAN-View interface? Can you provide a user manual or reference video for it?
Thank you advance for your assistance.
Best Regards,
M. SasiKumar
- Attachments
-
- Linux_Version_Details.png (12.54 KiB) Viewed 357 times
-
- URL_1.png (38.12 KiB) Viewed 357 times
-
- URL_2.png (35.48 KiB) Viewed 357 times
-
- Sales & Support
- Posts: 976
- Joined: Fri 20. Sep 2019, 13:31
Re: Guidance on Viewing and Interacting with CAN Bus Data on Linux
Hello,
1)
There is an extensive documentation available and non-free refers to the fact that a part of the code is closed source, not that it is paid.
Everything one would need to know is clearly stated on the page, including the fact that you'll need to install the chardev-driver variant.
2)
Our free-to-use API PCANBasic is also available for Linux, please refer to the following link:
https://www.peak-system.com/PCAN-Basic.239.0.html?&L=1
3)
If you done so correctly the connected interface should be listed, everything beyond that point should be pretty self explanitory,
if no interface shows up you didn't install the CharDev driver yet.
BR
Marvin
1)
There is an extensive documentation available and non-free refers to the fact that a part of the code is closed source, not that it is paid.
Everything one would need to know is clearly stated on the page, including the fact that you'll need to install the chardev-driver variant.
2)
Our free-to-use API PCANBasic is also available for Linux, please refer to the following link:
https://www.peak-system.com/PCAN-Basic.239.0.html?&L=1
3)
If you done so correctly the connected interface should be listed, everything beyond that point should be pretty self explanitory,
if no interface shows up you didn't install the CharDev driver yet.
BR
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Request for Remote Assistance to Resolve Ongoing Issue
Hi Marvin,
Good morning!
Thank you for your immediate response to this issue. I followed the procedure you provided, but I am still facing the same problem.
If possible, could you please use Anydesk or TeamViewer to assist me in resolving this issue?
Thanks and regards,
M. SasiKumar
Good morning!
Thank you for your immediate response to this issue. I followed the procedure you provided, but I am still facing the same problem.
If possible, could you please use Anydesk or TeamViewer to assist me in resolving this issue?
Thanks and regards,
M. SasiKumar
-
- Sales & Support
- Posts: 976
- Joined: Fri 20. Sep 2019, 13:31
Re: Guidance on Viewing and Interacting with CAN Bus Data on Linux
Hello,
Which "problem" are you facing?
Also, we don't really provide remote support to cover basics,
if we are unable to resolve something any other way we may provide remote assistance,
which is not the case here.
Describe me your problem and we'll go from there.
BR
Marvin
Which "problem" are you facing?
Also, we don't really provide remote support to cover basics,
if we are unable to resolve something any other way we may provide remote assistance,
which is not the case here.
Describe me your problem and we'll go from there.
BR
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Guidance on Viewing and Interacting with CAN Bus Data on Linux
Hello,
Thank you for your response.
I have been following the "PCAN Driver for Linux v8 - User Manual" to set up CAN bus communication on my Linux PC. However, I am encountering an issue that I haven't been able to resolve:
While executing the make command via the terminal, I receive the following error message:
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
This error occurs with all the installation commands. Could you please provide guidance on resolving this issue or any additional steps I should consider?
Please find the attached Linux terminal trace for your reference.
Thank you for your assistance.
Best regards,
M. SasiKumar
Thank you for your response.
I have been following the "PCAN Driver for Linux v8 - User Manual" to set up CAN bus communication on my Linux PC. However, I am encountering an issue that I haven't been able to resolve:
While executing the make command via the terminal, I receive the following error message:
gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’
This error occurs with all the installation commands. Could you please provide guidance on resolving this issue or any additional steps I should consider?
Please find the attached Linux terminal trace for your reference.
Thank you for your assistance.
Best regards,
M. SasiKumar
- Attachments
-
- Terminal_trace.pdf
- (53.02 KiB) Downloaded 11 times
-
- GCC_Error.png (145.74 KiB) Viewed 325 times
-
- Sales & Support
- Posts: 976
- Joined: Fri 20. Sep 2019, 13:31
Re: Guidance on Viewing and Interacting with CAN Bus Data on Linux
Hello,
Please install GCC-12 and try again.
Best Regards
Please install GCC-12 and try again.
Best Regards
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: Guidance on Viewing and Interacting with CAN Bus Data on Linux
Hello,
I am using the most up-to-date version of GCC, yet the issue persists. Please find the attached image for your reference, which includes the error message and my current GCC version.
Regards,
M. SasiKumar
I am using the most up-to-date version of GCC, yet the issue persists. Please find the attached image for your reference, which includes the error message and my current GCC version.
Regards,
M. SasiKumar
- Attachments
-
- GCC_Version.png (47.82 KiB) Viewed 323 times
-
- Sales & Support
- Posts: 976
- Joined: Fri 20. Sep 2019, 13:31
Re: Guidance on Viewing and Interacting with CAN Bus Data on Linux
Check your symlink, the compilation clearly uses gcc11
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team