07-11-2014 02:31 PM
I'm working in LV 2010 and want to create a standalone application. I've done this before, on the same PC, but now I can't get it to work. Here's what I'm doing:
I save my work as a project, then in Project Explorer right click on Build Specifications and select EXE.
I go through the file naming, selecting source files etc, but when I hit 'Generate Preview' I'm not seeing the 'data' sub folder. Every other time I've done this that folder is created.
Can anyone point out what I'm doing wrong?
07-11-2014 03:06 PM
Nothing has to be wrong. The data folder (or support folder) is added to hold files that LabVIEW can't put into the EXE. When you build that EXE it take thousands of VI files and puts them into the EXE. But what if you called some DLLs? LabVIEW can't embed those in the EXE. Okay maybe it could but it doesn't. So instead it puts the DLLs in the data folder, then has all the VIs in the EXE re-link to that DLLs new location.
I'm guessing you just don't happen to call any DLLs where in the past you did. Maybe it wasn't calling them directly but maybe you called a VI from the vi.lib that called it. Go ahead and build the EXE. If there are problems running it then I would look into it more.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord