03-18-2013 08:53 AM
Hey,
i was build an stand alone application (.exe) and i have a problem with external subroutine to subVi.
I was trying to add the missing .llb as support file in Source Files but still doesnt work.
It works on my computer, on another computer doesnt work (please look attached file)
I have LV 7.1.
I read on forum about this problem and i didnt find any solution for me.
Thanks for help.
03-18-2013 02:27 PM
Add your .llb to the "Always Include" section of the build spec.
03-19-2013 01:55 AM
Where is this "Always Include" section? I cant find it...
03-19-2013 10:35 AM
I don't have LV 7 installed at this time. It should be located with your source files options.
Here is the build spec from LV 2011. I don't recall how much things have changed since LV 7.1.
03-19-2013 10:42 AM
Mark, a lot of things changed going to LabVIEW 8. LabVIEW 7 didn't have projects or the fancy build specs. I don't have LabVIEW 7 anywhere, so I can't play around in the menus of the very old build dialog.
03-19-2013 10:48 AM
@crossrulz wrote:
Mark, a lot of things changed going to LabVIEW 8. LabVIEW 7 didn't have projects or the fancy build specs. I don't have LabVIEW 7 anywhere, so I can't play around in the menus of the very old build dialog.
I know a lot has changed. I don't recall myself exactly how LV 7 build specs looked. It should have some type of similar option though.
If it doesn't the OP may need to be very specific with his paths for calling the dynamic VIs and makes sure he distributes them and place them into the correct directory where his application will access them.
03-20-2013 03:34 AM
Tnx for response and help to all.
LV 7.1 doesnt have "Project" but it have similar option yes.
In the section "Source file" I tried to add all my missing subVI-s from .llb as Dynamic VI. For some subVI-s is this option OK for some subVI-s show
me an error (attached file). I try this subVI saved and add another time in "Source file" as Dynamic VI but i have still the same error.
Is recompile the VI the same as save VI?
Is it posible that I dont have my .llb in the right directory? Is this a reson?
Tnx
03-22-2013 03:50 AM
🙂 I found my reason for all of this problems 🙂
I will try to explain (I'm not very good in english).
The one of the main reason for "external subroutine error" was in an wrong instalation of MYSQL server. When I instaled a mysql server I did not enable the "Include Bin Directory in Windows PATH" and my sql_lv.dll was confused. 🙂
I also have change my .llb directory.
I thing i have a little help with magic 😉
Till next problem...
Tnx to all