Jump to content

LabVIEW configuration file/Execution System: Difference between revisions

From LabVIEW Wiki
Add allowMultipleInstances, hideRootWindow
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{LabVIEW configuration back}}
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.


== ESys.StdNParallel ==
{{TOCright}}
Example: <code>ESys.StdNParallel=5</code><br/>
 
Description: Defines the number of threads to start in each execution system and priority level.<br/>
{{ labviewconfigurationkey
Datatype: Integer<br/>
| keyname = allowMultipleInstances
Permitted Values: -1 to 8 (see notes)<br/>
| example = allowMultipleInstances=FALSE
Default Value: <code>1</code><br/>
| datatype = b
LabVIEW Versions: 5.x, 6.x, 7.x, 8.x<br/>
| 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>
OS's Supported: [[Image:logo.Windows.png]][[Image:logo.Mac.png]][[Image:logo.Linux.png]][[Image:logo.Sun.png]]<br/>
| permitted_values = TRUE or FALSE
Notes:
| default = FALSE
| OS1 = w
| OS2 = m
| OS3 = l
}}
 
{{ labviewconfigurationkey
| keyname = ESys.StdNParallel
| example =ESys.StdNParallel=5
| datatype =i
| description =Defines the number of threads to start in each execution system and priority level.
| permitted_values =-1 to 8 (see notes)
| default =1
| LV1 = 5
| LV2 = 6
| LV3 = 7
| LV4 = 8
| LV5 =
| LV6 =
| OS1 =w
| OS2 =m
| OS3 =l
| OS4 =u
| notes =<br>
* 0 is equivalent to turning off the Preferences menu item "Run with multiple threads"
* 0 is equivalent to turning off the Preferences menu item "Run with multiple threads"
* 1 is the default value, equivalent to turning on "Run with multiple threads"  
* 1 is the default value, equivalent to turning on "Run with multiple threads"  
* 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<br/>
* -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
}}
 
{{ labviewconfigurationkey
| keyname = runAsService
| example =runAsService=True
| datatype =b
| 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.
| permitted_values =True or False
| default =False
| LV1 = 5
| LV2 = 6
| LV3 = 7
| LV4 = 8
| LV5 =
| LV6 =
| OS1 =w
| OS2 =
| OS3 =
| OS4 =
| 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 ==
== ESys.xxx.yyyy ==
Example: Various
Example: Various ...
...
 
== References ==
<references />


[[Category:Development Environment]]
[[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

5.x , 6.x , 7.x , 8.x

OS's Supported

Notes
  • 0 is equivalent to turning off the Preferences menu item "Run with multiple threads"
  • 1 is the default value, equivalent to turning on "Run with multiple threads"
  • 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 keys

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

5.x , 6.x , 7.x , 8.x

OS's Supported

Notes See also following thread: Creating a Windows NT Service Using LabVIEW: [1]


ESys.xxx.yyyy

Example: Various ...

References