LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

COMPILE SUBPANEL

How would one go about compiling a subpanel vi that uses other vi's?
0 Kudos
Message 1 of 7
(2,802 Views)
Try looking under the examples that ship with LV.  This is under the help menu item in LV.  You can type in subpanel and find examples that might help you.  If you still have questions we can make and example for you.  Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 7
(2,794 Views)
Thank you, but yes I know how to use them. What I am asking is once written, is it possible to comile the vi? I've tried
including the support files in the build script and it comiles fine but, the executable does not bring up the called vi's.
0 Kudos
Message 3 of 7
(2,792 Views)

Can you post your code?  it could be a path issue when building an exe. 

 

BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 4 of 7
(2,783 Views)
The problem is probably the path to the VI, like BJD said.
When you build a VI into an exe, the exe serves as a directory. This means if you want to get the directory for the EXE you need to do another strip. You can find out if you're in an EXE by using the Application>>Kind property.
 
I think this is the third time I wrote this today.

___________________
Try to take over the world!
Message 5 of 7
(2,779 Views)
thanks tst,  I couldn't of stated it any better.  🙂  This is such a common problem. 
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 6 of 7
(2,776 Views)

Actually, I meant that literally (unfortunately). Smiley Mad

And it was the fourth (at least): 1, 2, 3.


___________________
Try to take over the world!
0 Kudos
Message 7 of 7
(2,768 Views)