12-07-2015 09:28 AM
Hi all,
i am trying to integrate a CANOpenslave library into NI-Linux.
As i got my SBRIO-9651 devkit i was surprised not to find any can-device within linux eventhough i activated the
"NI-Embedded CAN for RIO 15.0.0".
Moreover i could not find any socketcanlib or anyother socketinterface within the opkg repository at:
src/gz url-0 http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk
src/gz uri-all-0 http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/all
src/gz uri-cortexa9-vfpv3-0 http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3
src/gz uri-xilinx_zynq-0 http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/xilinx_zynq
So how does the CAN-interface work?
Any hints on how to access can within linux are welcome.
Thank you in advance.
regards Arne
12-07-2015 11:15 AM
This may shed a small amount of light: http://digital.ni.com/public.nsf/allkb/159150F5DE5C20CF8625798F0014F5C2
This is a user-mode driver that provides a LabVIEW API to the CAN controller. It does not plug into the socketCAN interface that is common in Linux.
You can call the same C API that the LabVIEW API calls, but it will be subject to change, since it is not a public API.
12-08-2015 01:18 AM
Hi DaQjr,
thank you for your answer.
So i will request the API from the NI support.
regards Arne
04-06-2017 11:45 PM
CAN driver in userland ?!
Ridiculous.