09-22-2010 09:41 AM
My vi starts right up but when I created an executable it ask for sub vi's when it starts. What's the progblem?
09-22-2010 09:54 AM
We are not mind readers. What subVI is it asking for? Is this a VI that ships with LabVIEW? Is this a VI that you wrote? Is this a VI that you're calling dynamically? If so, did you include it in the "dynamically called VIs" list? What LabVIEW version are you using? What's in your project?
09-22-2010 09:58 AM
Is it an executable you built from your VI?
Did you make an installer so that all dependencies (including necessary subVIs) are installed?
09-22-2010 10:27 AM
Maybe you are using VI's which are called dynamically? If so, you have to include them in the "Always Included" section of Source Files when making the Build Spec.
Also, path constants can get you into trouble with EXE's, like Default Directory path and Current VI's Path.
09-22-2010 10:32 AM
I don't think they are called dynamically..
09-22-2010 10:33 AM
How do you make installer? Doesn't it ha[[en automaticcaly when you create an executable? I'm using 2009.
09-22-2010 10:43 AM
@mchips wrote:
I don't think they are called dynamically..
Don't you know? Didn't you write the code?
How do you make installer? Doesn't it ha[[en automaticcaly when you create an executable? I'm using 2009.
No. An application is separate from an installer. The installer ... installs the application. The process of creating an application and an installer are fully documented in the LabVIEW Help. Please read that first and then come back if you have specific questions.
09-22-2010 10:46 AM
I didn't write that portion...
09-22-2010 10:51 AM
@mchips wrote:
How do you make installer? Doesn't it ha[[en automaticcaly when you create an executable? I'm using 2009.
No, just because it makes an executable does not mean you have a complete installer.
An installer has:
- the executable
- the run-time enginer
- dependencies
If you do not create an installer, you will only have one of the three necessary components
09-22-2010 11:11 AM
@mchips wrote:
I didn't write that portion...
Well, we're still not mind readers, and you still haven't given us any more useful information, such as what VI(s) it's looking for. Unless you can look at the code yourself and determine whether the VIs are being called dynamically then post the code.