LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create sub vi programmatically

Solved!
Go to solution

I am currently working on library development for multiple instruments. It is based on event driven producer consumer and queued message handler. 

Now I am trying to create library programmatically using vi scripting.

Things are going smoothly but I am stuck at one point.....

I have selected a portion of the code through scripting. Now I want to create a sub vi from this. So the question is .....

Can I  create a subvi programmatically through scripting??


CLD Using LabVIEW since 2013
0 Kudos
Message 1 of 5
(1,979 Views)
Solution
Accepted by kartiknattar

Hi Kartik, will this work for you?

 

subvi from selection.png

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

<nevermind>

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

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

I cannot see that option...

subi vi.png

And your invoke node looks different.. How so??


CLD Using LabVIEW since 2013
0 Kudos
Message 4 of 5
(1,874 Views)

I just needed to enable private class..


CLD Using LabVIEW since 2013
0 Kudos
Message 5 of 5
(1,855 Views)