Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Is is possible to access channels from a CAN database in labview with NI USB 8473s

Solved!
Go to solution

Hi again. 

 

I have another one question regarding frame to channel conversion with Xnet. 

 

Basically now I need the reverse action.

 

I am receiving CAN frames through NI USB 8473s with the help of ncReadNetMult.vi (see picture attached) Is there any way to convert these frames according to my database to signals and therefore to be able to see the corresponding value of each required signal ? 

 

I was trying to pass the data to NI-XNET conversion from CAN to signal vi (see picture attached) but it seems that the data from the ncReadNetMult is not compatible with th Xnet one. 

 

Any ideas? Is there any example I can see ? 

 

Kind Regards

Charis

0 Kudos
Message 11 of 12
(2,648 Views)

Your data types aren't of the right type.  The data represents the correct data (just CAN frames) but the order and type aren't exact.  You'll likely need a for loop with a unbundle of one type, and then the bundle of the other so each frame is converted to the right type.

 

By the way here is some tools I made that do just this, but again the data types need to be of the right type.

 

https://decibel.ni.com/content/docs/DOC-39793

0 Kudos
Message 12 of 12
(2,578 Views)