LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Drop a VI on a Blockdiagramm

Highlighted

Hi

I have create my VI's with Scripting and I have save them on the hard drive

Now I wound drop this VI from my hard disk into my block diagram

Is that possible ?

when yes how ?

Jürgen

0 Kudos
Message 1 of 5
(2,668 Views)

Definitely possible - just use the New VI Object VI and wire the Path input with the path to your VI you'd like to drop. (Path is for subVIs, Style is for functions built into LabVIEW, like Add)

Chris Bolin
LabVIEW Partner Program, CLA
0 Kudos
Message 2 of 5
(1,076 Views)

OK  that works

One more question

The input (vi object class ) at  the NEW VI Object what is the best ?

right now I have Generic but this is OK but not the best I think

I saw some where a constant like subvi but I have no idea how to create

Jürgen

0 Kudos
Message 3 of 5
(1,076 Views)

You can just click on the Generic constant you have and navigate to the type you'd like. You might want to your subVIs at GObjects, Nodes, or SubVIs (each of these is a more specific type)

Chris Bolin
LabVIEW Partner Program, CLA
0 Kudos
Message 4 of 5
(1,076 Views)

Thanks for your help

Jürgen

0 Kudos
Message 5 of 5
(1,076 Views)