LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem building exe with dynamic vi

Hi all, i'm using LV 8.2 evaluation version to build an executable file for my test platform. This platform calls for individual test vis dynamically.

I can export the platform vi into exe alright but it always fail to run the test vis dynamically when called by the platform. I know the platform is working alright as it's able to successfully traverse through all my operating states, but when it comes to the state which contains a subVI which calls these test vis dynamically, nothing happens and it just proceed with the next state. The even wierder thing is that the program then enters my default state (which isn't even on the list of states for that particular operating mode!)

Based on this result i can say that the platform is working fine as it was able to call various subvis and traverse through the defined states (except for the default state case). Thus i guess it must be something which i did wrongly during the build process which caused it not to run my dynamic test vis. I spent the whole day trying various build options but it still doesn't run my dynamic vis.

Any ideas?

PS: Does the build process automatically import the MAX settings?
0 Kudos
Message 1 of 14
(4,185 Views)


@ATMA wrote:
Hi all, i'm using LV 8.2 evaluation version to build an executable file for my test platform. This platform calls for individual test vis dynamically.

You CANNOT build an EXECUTABLE using an EVALUATION version of LabVIEW.

I m wondering how did you manage to do it! Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 14
(4,176 Views)
Funny, i was able to create the executable, only can't run the dynamic VI. Is it some bug or trick?
0 Kudos
Message 3 of 14
(4,171 Views)
See the attached pic. No Application Build option.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 14
(4,172 Views)
Maybe your version is a cracked version of evaluation I think. Smiley Wink
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 14
(4,169 Views)

The build exe is not under the Tools menu in 8.5. It's only available in the project explorer.

ATMA,

you may have a path problem or failed to include the dynamic VI in the build. A common mistake that many users make is not accounting for the differences in paths when an exe is built. How are you defining the path to the dynamic VI?

Message 6 of 14
(4,159 Views)
No, it's not a cracked version just to make myself clear.

Dennis, i don't think it's a problem with the path as the exe does not have any problem loading other text configuration files. Yes, i've included them under the dynamic vi and support files option.
0 Kudos
Message 7 of 14
(4,152 Views)
That image doesn't tell me a thing. How exactly are you calling the dynamic VI? An image, or even better, the actual code, would help.
0 Kudos
Message 8 of 14
(4,129 Views)

Dennis,

That image if for me, I think... Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 9 of 14
(4,106 Views)
Just to clarify, there's nothing unexpected about ATMA's situation - as of LabVIEW 8.0 at least, the evaluation version should expose all the features of LabVIEW professional during the evaluation period.  And Dennis is correct, we removed the Tools menu shortcut to creating a project build specification in 8.5.  I agree that the problem is most likely path related.  It is possible to debug built executables (you would need to re-build the EXE with debugging enabled though).  I'd suggest looking up Remote Debugging in the LabVIEW help for more info.
0 Kudos
Message 10 of 14
(4,085 Views)