02-25-2021 03:36 AM
Since you are dynamically loading VIs, they are not automatically included in the executable. After all, you're just providing strings.
Even though you're providing paths, the exe might very well not be able to load them. The VIs might depend on vilib items that are not available in the executable. Or the VIs don't have compiled code (if separate compile code is on).
I'd recommend using static VI references instead. There's no need at all for strings. They can introduce typos and problems like you have atm.
Alternatively, if you really, really want to use strings, add the VIs to the always include list of the build.
02-25-2021 03:47 AM
HI SIR
HERE IS MY MAIN VI
02-25-2021 04:24 AM - edited 02-25-2021 04:27 AM
Hi kps,
finally you attached some code, thanks!
What about that "there are no errors" observation?
You are deleting/clearing all error messages within your DynamicLaunch subVI!
(I cleaned up that subVI a little bit. There's no need to maximize frontpanel AND blockdiagram to full screen!)
So: implement a better error handling and logging to recognize/analyze such problems much easier…
02-25-2021 04:56 AM
Hi Sir
I removed those error clear pallet and tried again but now also the sub panel vi are not executing
it just display the front panel in sub panel
that vi not executing
02-25-2021 05:00 AM
02-25-2021 05:00 AM
No error is coming
02-25-2021 06:06 AM
@kps001 wrote:
Hi Sir
I removed those error clear pallet and tried again but now also the sub panel vi are not executing
it just display the front panel in sub panel
that vi not executing
So you removed the clear error... Hope the error is rewired?
Without updated code it's hard to tell.
Have you replaced the strings with static VI references?
Have you added the VI to always include list?
Without something we can actually compile, we can't really tell.
02-25-2021 06:18 AM
@kps001 wrote:
No error is coming
Errors are not "coming" automatically. Even if you enable automatic error handling, if the error is wired to a structure, I don't think you'll get an error.
You'll have to wire a simple error dialog to all end points of errors, or put all errors on the FP. Otherwise you might not notice the errors at all.