LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I build a VI that calls a subVI?

I have a top level VI that calls a subVI, which calls a choice of a second VI.   It works when I run the top VI.  However, when I build the top level VI, it crashes on the first subVI.  I have not yet learned how to build VI's.  So, this is a newbie question.   I see there are many options when building.

Eric Yuzon
Senior engineer
ERC
Walled Lake, MI 48390
ericyuzon@e-reman.com
e-reman.com
0 Kudos
Message 1 of 4
(2,696 Views)

I am confused. Smiley Sad

Can you post your code?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 2 of 4
(2,695 Views)

It works in the project folder as written.  I have errors when I build the first VI.  The second VI will have errors referencing a subVI.

Eric Yuzon
Senior engineer
ERC
Walled Lake, MI 48390
ericyuzon@e-reman.com
e-reman.com
Download All
0 Kudos
Message 3 of 4
(2,687 Views)

First of al put wait in while loop.

And as I posted earlier, i did not get your question. What is error exactly?

I can see that you are running vis using "Open Vi Refnum" depending upon condition.

You also need to connect error clusters correctly to maintain dataflow.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 4 of 4
(2,679 Views)