From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

Hi Kartik, will this work for you?

 

subvi from selection.png

0 Kudos
Message 2 of 5
(1,353 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,341 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,296 Views)

I just needed to enable private class..


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