LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Switching between VIs in subpanel

Solved!
Go to solution

I'm having trouble getting a test program to work. I've created two VIs (test1 and test 2) that do simple tasks (like counting or turning on a boolean). I'm trying to switch between the two VIs through a subpanel in the main VI. I'd like to run both vis when called and then switch between them while they run. However, I've been getting errors and I'm at a loss as to what to do. VIs are attached.

 

One of the errors I'm getting is that the VI references are invalid and I'm not sure how to fix this.

Download All
0 Kudos
Message 1 of 14
(4,221 Views)

The references you use at the beginning of your program are not right.  Try using a static vi reference (see attached example). 

Message 2 of 14
(4,197 Views)
You can also get some help here:

http://www.notatamelion.com/2015/02/09/building-a-subpanel-based-user-interface/

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 3 of 14
(4,145 Views)

 Try using a static vi reference (see attached example). 


 

I have labview 2011 and that attachment is in 2014 so I can't open it Smiley Sad

0 Kudos
Message 4 of 14
(4,059 Views)
Try this, it should be formatted for LV 2011.
0 Kudos
Message 5 of 14
(4,033 Views)

Sorry, I am having some browser issues.  Try this vi for 2011

0 Kudos
Message 6 of 14
(4,024 Views)

Try this, it should be formatted for LV 2011.


 

 

I think it is missing from your post 

0 Kudos
Message 7 of 14
(4,022 Views)

Try this vi for 2011


 

 

Yeah that works, but it's a VI for a 3d contour haha

0 Kudos
Message 8 of 14
(4,006 Views)

Btw, when I try to browse for path, this is all I see. Smiley Frustrated

 

browse_problem.jpg

0 Kudos
Message 9 of 14
(3,995 Views)
Solution
Accepted by topic author msiwk

Oi, I am having some issues this morning.  Try this vi.

0 Kudos
Message 10 of 14
(3,976 Views)