LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to place a subVI programatically

Hi,

Is it possible to create a VI with subVI placed on the block diagram programatically like we place buttons and arrays and other controls and constants using VI scripting?Smiley Indifferent

I want to create a VI where I want to place a subvi and connect the terminals of the VI- everything programatically.

I have found some examples but in those examples they just call some VIs not SubVIs..

 

 

Thanks in advance..!!!

 

-Sharon

0 Kudos
Message 1 of 2
(3,340 Views)

You will need VI Scripting to be able to programmatically drop a subVI on the diagram of another VI.  Specifically, you'll use the New VI Object function, and wire a path to the VI you wish to drop as a subVI.

 

I recommend you post future VI Scripting questions to the LabVIEW Scripting Main Board.

0 Kudos
Message 2 of 2
(3,336 Views)