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

Document Type: Tutorial
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Configuring the Properties of Several VIs At Once

1 ratings | 4.00 out of 5
Print

The following instructions apply to LabVIEW 5.1.x and later.

Use the Edit Multiple VI Setups example VI to select a list of VIs and configure VI properties on the entire list at once. The example is located in the labview\examples\viserver\mltsetup.llb.

You can use the Edit Multiple VI Setups example VI to programmatically change properties of several VIs at once, and save these changes to disk. When developing an application, you may want to configure your VIs to allow debugging and run-time shortcut menus, make scrollbars visible, and allow windows to be resized. However, when you distribute your application, you may want to disable these features and ensure that specified other properties are set and queried. You can use VI Server to write applications that programmatically edit VIs instead of going through the VI Properties dialog boxes for each VI.

You can modify the Edit Multiple VI Setups example VI to remove the block diagrams from several VIs or LLB files at the same time. The needed files are saved to the Save Setups VI.

Note: This example modifies the VI properties of every referenced VI, causing them all to contain the same properties. If you do not want to modify these properties, delete the Property Node in the Save Setups VI.

Warning:
Removing the block diagrams is permanent. Save master copies of the VIs that include the diagrams to a read-only location before removing the block diagrams.

In LabVIEW 6.x, the example uses Property Nodes instead of Attribute Nodes, although some of the labels indicate otherwise.


1 ratings | 4.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).