Page 1 of 1
How record data?
Posted: Thu 6. Jul 2017, 11:37
by camiiiille
Hello,
I am new in this forum. I have a Raspberry pi 3. I use correctly the driver and display data from the device with cat dev/pcan32
But I would like to know : could I record the data from the device connected with the PCAN-usb?
Thanks,
Best regards,
Camille
Re: How record data?
Posted: Thu 6. Jul 2017, 15:13
by PEAK-Support
if you use the CharDev (Character Device) driver you simply could pipe the output of the console to a text file.
Re: How record data?
Posted: Mon 17. Jul 2017, 15:28
by camiiiille
Is it possible to record automatically every received data from the device and using theterminal in the same time?
Re: How record data?
Posted: Mon 17. Jul 2017, 15:30
by PEAK-Support
Yes - use a second terminal instance
Re: How record data?
Posted: Mon 17. Jul 2017, 16:36
by camiiiille
With which tool can I record automatically data?
Re: How record data?
Posted: Mon 17. Jul 2017, 16:42
by PEAK-Support
If you use the CharDev (Character Device) driver you simply could pipe the output of the console to a text file.
If you use the SocketCAN (NetDev Device) driver you simply could use the Tool candump.
(see SocketCAN documentaion on
GitHub)