12-16-2014 09:25 AM
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
01-05-2015 12:30 PM
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
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord