Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I parse out only channels and messages related to a specific network node from a .dbc file

In a Vector .dbc file, there are Network Nodes, which have associated Tx and Rx messages associated with it's node, where all other messages and signals/channels are ignored.  Is there a way in a Channel VI, to only select those messages associated with the desired Node I want to work with?
 
Thanks,
Rich
0 Kudos
Message 1 of 5
(6,152 Views)
Hi Rich,
You can use the Get Names.VI to get a list of all the channels in the database file.  You can then use LabVIEW array functions to parse through them if you know what they are called.  Will this work for you?
 

Message Edited by Chris_R. on 08-14-2007 04:25 PM

Chris R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(6,141 Views)

Yes it would work, but unfortunately no that is not the functionality I was looking for.  It would essentially be hard coded every time, even if I just put the relevent channels into a seperate file.  Every time the .dbc file changes as well would require a comprehensive review of the file.  I may have an alternative solution using one of the tools I already have, but it is really a work around for a simple functionality that probably should already be part of the GetNames.vi

Thanks for the reply though.

Rich

 

0 Kudos
Message 3 of 5
(6,133 Views)

Hi Rich,

Sorry there isn't a better way to do it.  I encourage you to file a product suggestion at ni.com/contact.  You can then click on the "feedback" link in the lower left side of the page to send in your feedback.

Best of luck to you and have a great day!

Chris R.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(6,122 Views)

You can load the .dbc file into Maxs and perhaps sort it there.

 

Colin

0 Kudos
Message 5 of 5
(5,873 Views)