10-07-2014 03:21 AM
How do i create a CAN database file(*.dbc) in X-NET? I would like to write all signals into a DBC file and monitor them in CANdb++(CANape). I just found “XNET Database Save.vi” to save the database to a FIBEX file.
10-07-2014 06:34 AM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-07-2014 07:10 AM
yes you can merge in the API but you cannot export as DBC. If you are interested on that, refer to the XNET Database Merge.vi in the NI-XNET manual.
The only supported export formats in NI-XNET 14.0 are FIBEX ( CAN; LIN; FlexRay Cluster) or LDF (LIN Cluster).
We are actively reasearching to add DBC export at some point. - we ll keep you updated on that feature.
10-07-2014 07:40 AM
Oh sorry, I guess the Export feature only exists for exporting a Database to an LDF with is the LIN equivalant of a DBC. I assumed that if there was an export to LDF, there should be an Export to DBC.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-07-2020 06:42 AM
Is it still impossible to export DBC files from XNET ?
07-07-2020 07:31 AM - edited 07-07-2020 07:32 AM
You can import and Export DBCs using XNet, I'm not sure at what version this feature was added. I've had times when someone wanted to add a signal to a DBC and using the XNet Database Editor (installed in the start menu when XNet Utilities are installed). From there you can easily visualize the frames, and see what signals are what bits. Then you can add or change them, and then export it back to a DBC. There is even APIs for doing this programmatically within LabVIEW.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord