ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,166 Views)
Solution
Accepted by topic author kartiknattar

Hi Kartik, will this work for you?

 

subvi from selection.pngsubvi from selection.png

0 Kudos
Message 2 of 5
(3,118 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
(3,106 Views)

I cannot see that option...

subi vi.pngsubi vi.png

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


CLD Using LabVIEW since 2013
0 Kudos
Message 4 of 5
(3,061 Views)

I just needed to enable private class..


CLD Using LabVIEW since 2013
0 Kudos
Message 5 of 5
(3,042 Views)