Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

VI Properties

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

You can set these properties for a VI in edit mode by selecting File»VI Properties and other menu items. If you do not wire a refnum to the reference input of the Property Node, LabVIEW gets or sets the property for the current VI.

PropertyDescription
Auto Logging:Log at FinishIndicates whether to write front panel values to a datalog file after the VI runs. Details
Auto Logging:Log File PathPath of the datalog file in which front panel data and a time stamp are written. Details
Auto Logging:Print at FinishIndicates whether to print the front panel after the VI runs. Details
Automatic Error HandlingIf TRUE, enables automatic error handling for a VI. Details
Callees' NamesReturns a list of all the subVIs or callees in a VI. Details
Callers' NamesReturns a list of all the loaded VIs that call the referenced VI. Details
Edit Mode On OpenIf TRUE, the VI opens in edit mode. If FALSE, the VI opens in run mode, and the title bar, menu bar, and toolbar do not appear. Details
Execution:Allow DebuggingIf TRUE, you can use debugging tools on the VI. Set this property to FALSE to reduce memory requirements and to improve performance slightly for the VI. Details
Execution:Close After CallIndicates whether to close the front panel after the VI runs. Details
Execution:Is ReentrantIndicates whether a VI can be reentrant. Details
Execution:Preferred Exec SystemIndicates the execution system in which the VI runs. Details
Execution:PriorityIndicates the priority of the VI when it runs in parallel with other tasks. Details
Execution:Run When OpenedIndicates whether to run the VI when it opens. Details
Execution:Show Front Panel On CallIndicates whether to show the front panel when the VI is called. Details
Execution:Show Front Panel On LoadIndicates whether to show the front panel when the VI is loaded. Details
Execution:StateIndicates the execution state of the VI. Details
Execution:Suspend On CallIndicates whether the VI should be suspended when it is called as a subVI. Use this property carefully with reentrant VIs. Details
Expand When Dropped As SubVIExpands to show terminals when dropped as a subVI. Details
Front Panel Window:Allow Runtime PopUpIndicates whether to display shortcut menus for front panel objects while the VI runs. Details
Front Panel Window:BehaviorSets the behavior of the front panel window. Valid values include 0 (Invalid), 1 (Default), 2 (Floating), 3 (Floating/Auto-Hide), and 4 (Modal). Details
Front Panel Window:CloseableIndicates whether the close button in the title bar is disabled and the Close item in the File menu is disabled. Details
Front Panel Window:Custom TitleIndicates whether the VI has a custom title string. Write FALSE to remove the custom title string. Details
Front Panel Window:Highlight Return ButtonIndicates whether to highlight Boolean controls that have a shortcut key of <Enter>. Details
Front Panel Window:Is FrontmostIndicates whether to bring the front panel to the front. This property applies only in the application instance of the calling VI. Details
Front Panel Window:Keep Window ProportionsIndicates whether the front panel window adjusts its size in proportion with a change in monitor resolution. The window changes size so it covers the same percentage of the screen that it covered at its original resolution. Details
Front Panel Window:MinimizeableIndicates whether the user can minimize the front panel window while the VI runs. Details
Front Panel Window:Minimum SizeMinimum size of the front panel window in pixels. If Front Panel Window:Resizeable is TRUE, the user cannot resize the front panel smaller than the width and height you wire to this property. Details
Front Panel Window:MonitorThe monitor on which the front panel window appears, if you have multiple monitors. The value 0 is the primary monitor. Details
Front Panel Window:OpenNational Instruments recommends you use the Front Panel:Open method instead of this property. Details
Front Panel Window:Panel BoundsThe four elements in the cluster are the top, left, bottom, and right values of the interior portion of the front panel, not including the scroll bars, title bar, menu bar, and toolbar. The cluster elements are in global screen coordinates, which are the numbers refer to coordinates within a computer monitor's screen (rather than an open window).

You can set this property only for VIs with open front panels. If you do not want the VI for which you want to set this property to appear to users, use the Hidden state of the Front Panel Window:State property to hide the front panel of the VI. Details

Front Panel Window:ResizeableIndicates whether the user can resize the front panel window while the VI runs. Details
Front Panel Window:Run VI TransparentlySets the VI to use a semi-transparent window style when running. Set the level of transparency using the Front Panel Window:Transparency property. This property is similar to the Window Runs Transparent option in the Customize Window Appearance dialog box. Details
Front Panel Window:Show Menu BarIndicates whether to display the menu bar on the front panel while the VI runs. Details
Front Panel Window:StateCurrent state of the front panel window. Valid values include 0 (Invalid), 1 (Standard), 2 (Closed), 3 (Hidden), 4 (Minimized), and 5 (Maximized). Details
Front Panel Window:Title Bar VisibleIndicates whether to display a title bar on the front panel while the VI runs. Details
Front Panel Window:TitleString that appears in the title bar. This string does not have to match the VI filename. Details
Front Panel Window:TransparencySets the window transparency level of the VI. The level of transparency is a percentage where 0 is opaque and 100 is invisible. This property returns an error if you specify a value outside the range of 0 to 100. If you set the transparency level to 100, the VI becomes invisible and uncontrollable from the front panel. You must stop the VI on the block diagram for the front panel of the VI to become visible. If you set the Front Panel Window:Run VI Transparently property to FALSE, changing this property has no immediate effect. This property is similar to the Window Runs Transparent option in the Customize Window Appearance dialog box. Details
Front Panel Window:Window BoundsThe four elements in the cluster are the top, left, bottom, and right values of the front panel window, which includes the interior region, scroll bars, title bar, menu bar, and toolbar. They are in global screen coordinates, that is, the numbers refer to coordinates within a computer monitor's screen (rather than an open window).

You can set this property only for VIs with open front panels. If you do not want the VI for which you want to set this property to appear to users, use the Hidden state of the Front Panel Window:State Property to hide the front panel of the VI. Details

Front PanelReference to the front panel of a VI. Details
Help:Document PathPath or symbolic path to an HTML file (.htm or .html) or compiled help file (.chm or .hlp) to which the VI is linked. Details
Help:Document TagIndex keyword or HTML filename for a topic in the compiled help file to which the VI is linked. Details
History:Always Add Comments At SaveIndicates whether to add a comment to the VI revision history every time the VI is saved. Details
History:Entire TextReturns all the text that was added to the VI revision history. Details
History:Prompt for Comments At CloseIndicates whether to prompt for a VI revision history comment when the VI closes. Details
History:Prompt for Comments At SaveIndicates whether to prompt for a VI revision history comment when the VI is saved. Details
History:Record Application CommentsIndicates whether to add comments to the VI revision history when certain events occur, such as conversion to a new version of LabVIEW, subVI changes, and changes to the name or path of the VI. Details
History:Revision NumberCurrent revision number of the VI. Details
History:Use DefaultsIndicates whether to use the global default history or to use the values entered in other history properties. Details
Is Clone VIReturns TRUE if the VI is a cloned VI. Details
Is InstanceReturns whether or not the VI is an Express VI instance. Details
Is ProbeReturns TRUE if the VI is running as a probe and the probe VI is open. Details
LibraryReturns the name of the LabVIEW project library, XControl, or LabVIEW class that owns the VI. If no library, XControl, or class owns the VI, the property returns Not a Refnum. Details
Metrics:Code SizeAmount of memory used for VI code in bytes. Details
Metrics:Size of Block DiagramSize of the block diagram in bytes. Details
Metrics:Size of Front PanelSize of the front panel in bytes. Details
Metrics:Total Data SizeAmount of memory allocated for data in bytes. Details
Modifications:Block Diagram Mods BitsetIndicates whether changes were made to the block diagram since the VI was saved or opened, depending on which was last. If the value is zero, no changes were made. If the value is nonzero, changes were made. Details
Modifications:Front Panel Mods BitsetIndicates whether changes were made to the front panel since the VI was saved. If the value is zero, no changes where made. If the value is nonzero, changes were made. Details
Modifications:VI Modifications BitsetIndicates if changes were made to the VI since the VI was saved. If the value is zero, no changes were made. If the value is nonzero, changes were made. Details
Owning ApplicationReturns a reference to the application that owns the VI. Be sure and close this reference afterward. Details
Printing:Block Diagram Scaling?If TRUE, LabVIEW scales the block diagram to fit on the printed page. Details
Printing:Front Panel Scaling?If TRUE, LabVIEW scales the front panel to fit on the printed page. Details
Printing:Header Content:Date Printed?If TRUE, LabVIEW includes the date printed in the headers for the VI. Use the Printing:Page Headers? property to set whether LabVIEW prints the headers for the VI. Details
Printing:Header Content:Modify Date?If TRUE, LabVIEW includes the last modified date in the headers for the VI. Use the Printing:Page Headers? property to set whether LabVIEW prints the headers for the VI. Details
Printing:Header Content:Page Number?If TRUE, LabVIEW includes the page number in the headers for the VI. Use the Printing:Page Headers? property to set whether LabVIEW prints the headers for the VI. Details
Printing:Header Content:VI Icon?If TRUE, LabVIEW includes the VI icon in the headers for the VI. Use the Printing:Page Headers? property to set whether LabVIEW prints the headers for the VI. Details
Printing:Header Content:VI Name?If TRUE, LabVIEW includes the VI name in the headers for the VI. Use the Printing:Page Headers? property to set whether LabVIEW prints the headers for the VI. Details
Printing:Header Content:VI Path?If TRUE, LabVIEW includes the VI path in the headers for the VI. Use the Printing:Page Headers? property to set whether LabVIEW prints the headers for the VI. Details
Printing:MarginsGets or sets the page margins to use when printing the VI in inches or centimeters. Details
Printing:Page Headers?If TRUE, LabVIEW prints headers for the VI. Use the Printing:Header Content properties in this class to customize the contents of the headers. Details
Printing:Page OrientationGets or sets the page orientation to use when printing the VI. Valid values include 0 (Portrait), 1 (Landscape), 2 (Rotated Portrait), and 3 (Rotated Landscape). Details
Run-Time Menu PathWhen read, this property returns the run-time menu path of the VI. When written, this property updates the run-time menu path of the VI. If the VI is running when you write this property, it updates the menu with data from the new path. Details
Tool Bar:Show Abort ButtonIndicates whether to display the Abort Execution button on the toolbar while the VI runs. Details
Tool Bar:Show Free Run ButtonIndicates whether to display the Run Continuously button on the toolbar while the VI runs. Details
Tool Bar:Show Run ButtonIndicates whether to display the Run button on the toolbar while the VI runs. Details
Tool Bar:VisibleIndicates whether to display the toolbar while the VI runs. Details
VI Clone NameName of the cloned VI. Returns an error if the VI is not a clone. Details
VI DescriptionDescription of the VI that appears in the Context Help window when you move the cursor over the VI icon and in VI documentation you generate. Details
VI NameName of the VI file. You can write this property only if the VI has not been saved to disk. Details
VI PathPath to the VI file. Details
VI TypeIndicates the type of VI. Invalid VI type, Standard VI, Control VI, Global VI, Polymorphic VI, Configuration VI, SubSystem, Facade VI, Method VI.

LabVIEW returns the invalid VI type value for invalid VI references.

LabVIEW returns the SubSystem value for subVIs for the LabVIEW Simulation Module that you can place only on a simulation diagram.

The Configuration VI type is not supported. Details


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit