====== Application Builder ====== //For more information, see [[https://www.ni.com/en-us/shop/software/products/labview-application-builder-module.html]].// The LabVIEW Application Builder Module provides tools for exporting LabVIEW code in various forms. The most common ones are stand-alone, end-use applications and source code exports. ===== .exe File Structure ===== When generating executable files, the Application Builder can generate a .zip archive next to the build's .exe that will contain the internal folder structure of the executable. This undocumented feature can be enabled with NI_AppBuilder_KeepInternalLLB=True ---- ===== AB API ===== It is possible to programmatically build and configure build specifications using the Application Builder API. This API can be found on the Function Palette under Programming » Application Control » Application Builder. ==== Problems ==== **Problem**: When using the AB API to build an exe containing a web service or a DLL, LV will throw an error: | {{:kb:labview:tools:abapi-ws.png?300|}} | **Fix** (courtesy of Olivier Jourdan): Make the following functions reentrant: - ''vi.lib\AppBuilder\AB_API\RESTful\Build.vi'' - ''vi.lib\AppBuilder\AB_API\DLL\Build.vi''