NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Frame channel conversion library on linux RT

how can i to use .dbc file on linux RT?

i see that on linux RT the CAN frame channel conversion library aren't supported.

there are other libraries to use on linux RT to convert data to payload and vice versa?

regards

Valbo10

0 Kudos
Message 1 of 9
(4,500 Views)

Can you provide us with details of the hardware you are using?

Jeff L
National Instruments
0 Kudos
Message 2 of 9
(2,718 Views)

My hardware is RIOSOM 9651

Sent from my iPhone

0 Kudos
Message 3 of 9
(2,718 Views)

How is the CAN implemented? Are you using the development mother board, a C-Series module, or a custom designed circuit?

Jeff L
National Instruments
0 Kudos
Message 4 of 9
(2,718 Views)

on RIO SOM 9651 if i'm not mistaken,  it is not possible

to use C series module.

anyway, i use a custom designed circuit.

the hardware is not a problem.

the software CAN it is the same of NI sbRIO 9606: NI Embedded  CAN for sbRIO. but on linux RT the CAN Frame channel conversion library  do not work.

this tool is not compatible with new OS

when an updated version will be released?

0 Kudos
Message 5 of 9
(2,718 Views)

Currently the CAN Frame Channel Conversion Library has been deprecated in favor of NI XNET.  We are currently looking into further to see the best method.  NI XNET has a database API that can be used.  However, XNET cannot be installed on the 9651 at this time. 

I'm looking into this a bit further to see if I can find appropriate solutions.  I apologize for the delay.

Matt

Matt S.
Industrial Communications Product Support Engineer
National Instruments
0 Kudos
Message 6 of 9
(2,718 Views)

I have an update:

The XNET library happens to have a XNET Convert VI, this will allow you to convert between frame and signal.  You can use the XNET library on the sbRIO 9651.  You can download XNET 14.1 here.  You can then custom install XNET to the SoM.  This is the replacement for the CAN Frame Channel Conversion Library.

Please let me know if you have any issues.  Thanks!

Matt

Matt S.
Industrial Communications Product Support Engineer
National Instruments
Message 7 of 9
(2,718 Views)

thanks

from two days, I realized that the Xnet can be installed on RIO SOM.

I did not know of upgraded to 14.1 XNET.

for how the Embedded CAN operate. I just have to provide ID and payload.

it is easy

disadvantages that I see using the XNET are:

1) conversion mode the output is all  the CAN frame.

2) the package to be install is more heavy than the frame to channel conversion library

3) it is more awkward to handle the file dbc. with frame to channel conversion library, I set the path, and it is done

4) it is slower during conversion.

best regards

Manuel

0 Kudos
Message 8 of 9
(2,718 Views)

Hey Manuel,

I was just looking around and saw your post. This doesn't solve many of the issues you're experiencing but may make XNet's conversion library easier to use:

http://forums.ni.com/t5/Automotive-and-Embedded-Networks/CAN-Frame-Signal-Conversion-With-XNet/td-p/...

Thanks,

Daniel

0 Kudos
Message 9 of 9
(2,718 Views)