Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202853

Converting XNET frames of multiplexed DBCs

$
0
0

Hello Labview coimmunity,

 

I've been working on a project where we need to convert CAN frames using a DBC to-from signals. I've been using the conversion session examples provided with the XNET API but it does not seem to support multiplexed signals. When I feed CAN frames into the conversion session what I receive is ALL of the signals from the DBC file (which has over a hundred signals) with the value changed on the respective signals but without what ID or signal it belongs to. 

 

My goal is ultimately to make a bus monitor similar to the XNET but have the ability to use that data in other parts of the software easily and consistently. I've looked at both the XNET manual as well as the forums and found some good places to start such as Hooovah's post here (thanks Hooovah!). The issues I am having is that I need more than just the values to be returned, I need information such as the ID and the signal short name and unit for each signal converted.

 

My question to all of you is whether the CAN frame to single point signal conversion has ever been modified in your use cases? I'm under the impression that the function is locked so I could not add this functionality but I may be wrong. Attached is the Convert CAN Frame to-from Signal example provided by NI.

 

I am using XNET API version 19.6 and labview 2018 SP1.


Viewing all articles
Browse latest Browse all 202853

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>