LabVIEW configuration file/Execution System: Difference between revisions
Appearance
No edit summary |
Add allowMultipleInstances, hideRootWindow |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
This is a list of LabVIEW ini File settings relating to the Execution System. | |||
This is a list of LabVIEW ini File settings relating to the Execution System. | |||
{{TOCright}} | |||
{{ labviewconfigurationkey | |||
| keyname = allowMultipleInstances | |||
| example = allowMultipleInstances=FALSE | |||
| datatype = b | |||
| description = Enables running multiple instances of the application at the same time.<ref>[https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NY8SAM Run Multiple Instances of a LabVIEW Executable Simultaneously] (National Instruments)</ref> | |||
| permitted_values = TRUE or FALSE | |||
| default = FALSE | |||
| OS1 = w | |||
| OS2 = m | |||
| OS3 = l | |||
}} | |||
{{ labviewconfigurationkey | {{ labviewconfigurationkey | ||
| Line 24: | Line 37: | ||
* 2 to 8 defines a higher number of threads to start (i.e. a 5x5 matrix) | * 2 to 8 defines a higher number of threads to start (i.e. a 5x5 matrix) | ||
* -1 tells LabVIEW to start with a custom set of threading parameters as defined by [[#ESys.xxx.yyyy|ESys.xxx.yyyy]] keys | * -1 tells LabVIEW to start with a custom set of threading parameters as defined by [[#ESys.xxx.yyyy|ESys.xxx.yyyy]] keys | ||
}} | |||
{{ labviewconfigurationkey | |||
| keyname = hideRootWindow | |||
| example = hideRootWindow=FALSE | |||
| datatype = b | |||
| description = Hides the application's front panel window and removes any taskbar icons when running the executable.<ref>[https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MbzSAE Running a LabVIEW Executable as a Background Process] (National Instruments)</ref> | |||
| permitted_values = TRUE or FALSE | |||
| default = FALSE | |||
| OS1 = w | |||
| OS2 = m | |||
| OS3 = l | |||
}} | }} | ||
| Line 44: | Line 69: | ||
| OS4 = | | OS4 = | ||
| notes =See also following thread: Creating a Windows NT Service Using LabVIEW: [http://zone.ni.com/devzone/cda/tut/p/id/3185] <br> | | notes =See also following thread: Creating a Windows NT Service Using LabVIEW: [http://zone.ni.com/devzone/cda/tut/p/id/3185] <br> | ||
}} | }} | ||
<br> | |||
== ESys.xxx.yyyy == | |||
Example: Various ... | |||
== | == References == | ||
<references /> | |||
[[Category: | [[Category:Configuration File|Execution system]] | ||
Latest revision as of 09:56, 1 February 2020
This is a list of LabVIEW ini File settings relating to the Execution System.
allowMultipleInstances
| Example | allowMultipleInstances=FALSE
|
|---|---|
| Description | Enables running multiple instances of the application at the same time.[1] |
| Datatype | Boolean |
| Permitted Values | TRUE or FALSE |
| Default Value | FALSE |
| LabVIEW Versions | |
| OS's Supported | |
| Notes |
ESys.StdNParallel
| Example | ESys.StdNParallel=5
|
|---|---|
| Description | Defines the number of threads to start in each execution system and priority level. |
| Datatype | Integer |
| Permitted Values | -1 to 8 (see notes) |
| Default Value | 1 |
| LabVIEW Versions | |
| OS's Supported | |
| Notes |
|
hideRootWindow
| Example | hideRootWindow=FALSE
|
|---|---|
| Description | Hides the application's front panel window and removes any taskbar icons when running the executable.[2] |
| Datatype | Boolean |
| Permitted Values | TRUE or FALSE |
| Default Value | FALSE |
| LabVIEW Versions | |
| OS's Supported | |
| Notes |
runAsService
| Example | runAsService=True
|
|---|---|
| Description | This key tells the LabVIEW Run-Time Engine to ignore the Windows WM_ENDSESSION message that is sent when a user logs off! Use this key when your LabVIEW application is configured to run as a Windows service and has a user interface (service allowed to interact with desktop). The key prevents your LabVIEW application to quit when a user logs off. |
| Datatype | Boolean |
| Permitted Values | True or False |
| Default Value | False |
| LabVIEW Versions | |
| OS's Supported | |
| Notes | See also following thread: Creating a Windows NT Service Using LabVIEW: [1] |
ESys.xxx.yyyy
Example: Various ...
References
- ↑ Run Multiple Instances of a LabVIEW Executable Simultaneously (National Instruments)
- ↑ Running a LabVIEW Executable as a Background Process (National Instruments)