12-08-2014
02:49 PM
- last edited on
11-14-2024
09:26 AM
by
Content Cleaner
There seems to be limited documentation on deploying a CAN database. I'm not using RT so I don't need/want to connect across a network as is suggested.
Does the .dbc file get added to the \data directory?
Here's the only info I've been able to find.
source: http://www.ni.com/white-paper/12375/en/
When you create an NI-XNET application for LabVIEW RT, you must assign an alias to your database file. When you deploy to the RT target, the text database file is compressed to an optimized binary format, and that binary file is transferred to the target. When you create NI-XNET sessions using a LabVIEW project, you assign the alias within
the session dialog (for example, Browse for Database File). When you drag the session to a VI under the RT target, then run that VI, NI-XNET automatically deploys the database file to the target.
When you create NI-XNET sessions at run time, you must explicitly deploy the database to the RT target. There are two options for this deployment:
12-09-2014 09:25 AM - edited 12-09-2014 09:35 AM
And the answer was in the software manual on page 4-538, neatly written up in a 1200 page document....can`t something as simple and necessary be added to an example?
For the distributable, the alias needs to be set.
Please kudo this feature request:
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/XNET-database-deploy/idi-p/3062928