07-30-2014 08:49 AM
I have a CAN database in a .txt format. I used access and excel to map it to a .xml file. When I try to add it to the NI-XNET Database Editor in the Manage NI-XNET databases and add alias it give me the error: x BFF63081. How can I take a .txt file database and convert it to a NI-XNET database?
07-30-2014 10:30 AM
Did you check here?
http://digital.ni.com/public.nsf/allkb/085372E2D09158C3862579A6004ECAAF
When you get an error code like that the first thing you should always do is try looking it up. This was the first result in Google for "0xBFF63081".
Mike...
07-30-2014 10:52 AM
Post your file. If it is something custom it will need to have custom code written for it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-30-2014 10:55 AM
It's proprietary CAN messages. I can't upload it. I ended up just going into the NI-XNET database editor and created one by transfering the info over manually.
07-30-2014 11:20 AM
I think the common formats that XNET support are CANdb and FIBEX files (amongst others...e.g. for Flexray). I think FIBEX is the name. A CANdb file is essentially just a text file so maybe you can parse out the messages fairly easily that way. FIBEX files are the file format that LabVIEW creates when you edit/create an XNET database from their user interface.
If you don't want to use either of those formats, then you need to parse the text file in LabVIEW and use it to manually create the XNET signals/database. You can create a :memory: database, populate it with a cluster and then populate that with signals using data from your text file.
In the LabVIEW examples under Hardware Input and Output >> CAN >> NI-XNET >> Databases are some examples of manipulating an XNET database so that should point you in the right direction of which VIs you need to use.