LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Application problem // external subroutine

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.

 

 

0 Kudos
Message 1 of 8
(3,167 Views)

Add your .llb to the "Always Include" section of the build spec.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 8
(3,143 Views)

Where is this "Always Include" section? I cant  find it...

0 Kudos
Message 3 of 8
(3,129 Views)

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.

 

Build_spec.PNG



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 8
(3,118 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 8
(3,114 Views)

@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.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 6 of 8
(3,108 Views)

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

0 Kudos
Message 7 of 8
(3,091 Views)

🙂 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

0 Kudos
Message 8 of 8
(3,066 Views)