Advanced Page (Shared Library Properties Dialog Box)
- Updated2025-03-14
- 6 minute(s) read
Use this page of the Shared Library Properties dialog box to change advanced settings for a shared library.
This page includes the following components:
Option | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Enable debugging | Enables debugging for the application, shared library, .NET interop assembly, or Web service. Note Disabling this checkbox does not ensure full optimization.
|
||||||||||
Use fast file format | Enter description of this checkbox here |
||||||||||
Copy error code files | Adds copies of XML-based LabVIEW error code text files from the project\errors and user.lib\errors directories to the run-time engine. Note You must manually create an errors folder in the labview\user.lib directory to organize your error code files. |
||||||||||
Use custom aliases file | Copies the project aliases file with the application, shared library, or .NET interop assembly. If you remove the checkmark from the checkbox, the Select Project File dialog box appears and you can select another aliases file in the project.
|
||||||||||
Delay operating system messages in shared library | Delays operating system messages until calls to shared library functions end or until you load a modal window from the shared library. You might choose to delay operating system messages, such as mouse or keyboard messages from the user, in order to avoid calling the same shared library file while a shared library function runs. For example, if the shared library function is called in response to the user pressing a button, the user should not be able to press the button again until the shared library function has completed. If you load a modal window from the shared library, LabVIEW overrides this option and processes the messages to allow the modal window to become active. You cannot interact with other windows while a modal window is open. Most LabVIEW dialog boxes are modal windows. Remove the checkmark from this checkbox if you want to process operating system messages while shared library functions run. |
||||||||||
Include additional LabVIEW header files | Copies into the built shared library any additional LabVIEW header files that are referenced by the header file that is generated during the build process. Including additional header files allows you to use a LabVIEW-built shared library in C or another language that requires those header files. |
||||||||||
Enable Enhanced DSC Run-Time support | This option only appears if you have the LabVIEW Datalogging and Supervisory Control (DSC) Module installed. Builds the application with the enhanced DSC Module Run-Time Engine. The DSC Module Run-Time Engine adds additional support for programmatic project library and shared variable management in applications that you build with the DSC Module. You must place a checkmark in this checkbox in the following situations:
If you do not enable the enhanced DSC Module Run-Time Engine in these two situations, LabVIEW returns error code 1055 when you run the built application, shared library, or .NET interop assembly.
Note Enabling this option increases the file size and reduces the start-up performance of the built application, shared library, or .NET interop assembly. |
||||||||||
Use embedded version of run-time engine | (Linux) Builds the shared library using the embedded version of the run-time engine. Select this option if you want to deploy the shared library in an environment that does not require a front panel or user interface. |
||||||||||
Generate build log file | Specifies whether to create a log file for the build. The build log file lists all files contained in the build, including subVIs you do not specify as Startup VIs or Always Included. The log file also contains general build information such as build start and end time, the build specification and project name, and any errors that occurred during the build.
|
||||||||||
Use LabVIEW 8.x file layout | Specifies to use a flat file layout to store source files inside a stand-alone application, shared library, or Web service. LabVIEW enables this option by default for build specifications you load from LabVIEW 8.6 or earlier. National Instruments recommends you disable this option for applications you develop in LabVIEW 2009 or later. |
||||||||||
LabVIEW 2011 compatibility mode | Specifies to use a flat file layout to store source files inside a stand-alone application, shared library, or Web service. LabVIEW enables this option by default for build specifications you load from LabVIEW 8.6 or earlier. National Instruments recommends you disable this option for applications you develop in LabVIEW 2009 or later. The following table lists how each style changes the generated shared library.
|
||||||||||
Include a type library for TestStand or Call Library Nodes | Specifies to use a flat file layout to store source files inside a stand-alone application, shared library, or Web service. LabVIEW enables this option by default for build specifications you load from LabVIEW 8.6 or earlier. National Instruments recommends you disable this option for applications you develop in LabVIEW 2009 or later. |
||||||||||
Execute VIs in private execution system | Configures LabVIEW to execute VIs in a multithreaded execution system when calling LabVIEW-built shared libraries to applications in other languages. By default, this option is enabled for new build specifications and disabled for build specifications built in LabVIEW 2016 and earlier. (NI Linux Real-Time) This option is disabled by default for Linux Real-Time targets because of potential performance jitters. By default, this option is enabled for new build specifications. This option is disabled for build specifications migrated from LabVIEW 2016 and earlier to prevent unintended changes in behavior. For example, disabling this option prevents shared libraries that rely on single-threaded execution to execute in a multithreaded execution system, when LabVIEW-built shared libraries are called from a non-LabVIEW application. |
||||||||||
Allow future versions of LabVIEW to load this shared library | Enables binary files to load either in the LabVIEW versions that they are built with or in the latest version of the LabVIEW Run-Time Engine installed on the machine. This option applies to stand-alone applications, shared libraries, packed project libraries, and source distributions. LabVIEW enables this option by default for build specifications you create in LabVIEW 2017 and later. For real-time applications, this option does not appear in the dialog box but the functionality is enabled by default. |