LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have problems making an executable

I have problems for generate the .exe on labview 5.1.

I have a main program that makes calls for other five programs. All of them
are in the same library (llb), so in the build aplication window I add a
dynamic VI. When a press BUILD it star to build the aplication but after
some seconds it display an error:

"Error 1 ocurred at invoke node in distchg and save.VIs.vi dist build llb
image.vi dist build app image.vi build aplication.vi"

Do any one has an idea for solving this problem.

Thank you all.


Alejandro Zepeda
0 Kudos
Message 1 of 3
(2,316 Views)
Alejandro,

A dynamic vi is a vi called in the code using VI server calls. It is not
directly used as a subVI (call by reference doesn't count) or the top-level
vi or other dynamic VIs. If you are not using VI server you should add your
main vi by using the "add top-level VI" option. This should work. Also
remember to save everything before you compile. This will ensure that the
linking is correct for all of the subVIs. Good luck. I've been using LabVIEW
for many years and still get the error messages when trying to build an executable.
Something makes me think that it's really not our fault 🙂

-Jim

"alejandro zepeda" wrote:
>I have problems for generate the .exe on labview 5.1.>>I have a main program
that makes calls for other five
programs. All of them>are in the same library
(llb), so in the build aplication window I add a>dynamic VI. When a press
BUILD it star to build the aplication but after>some seconds it display an
error:>>"Error 1 ocurred at invoke node in distchg and save.VIs.vi dist build
llb>image.vi dist build app image.vi build aplication.vi">>Do any one has
an idea for solving this problem.>>Thank you all.>>>Alejandro Zepeda>>
0 Kudos
Message 2 of 3
(2,316 Views)
Alejandro,

you may want to try and do a 'mass compile' also.

pat

"Jim Kring" wrote:
>>Alejandro,>>A dynamic vi is a vi called in the code using VI server calls.
It is not>directly used as a subVI (call by reference doesn't count) or
the top-level>vi or other dynamic VIs. If you are not using VI server you
should add your>main vi by using the "add top-level VI" option. This should
work. Also>remember to save everything before you compile. This will ensure
that the>linking is correct for all of the subVIs. Good luck. I've been
using LabVIEW>for many years and still get the error messages when trying
to build an executable.> Something makes me think that it's really not our
fault :)>>-Jim>>"alejandro zepeda" net.mx> wrote:>>I have
problems for generate the .exe on labview 5.1.>>I have a main program>that
makes calls for other five programs. All of them>are in the same library>(llb),
so in the build aplication window I add a>dynamic VI. When a press>BUILD
it star to build the aplication but after>some seconds it display an>error:>>"Error
1 ocurred at invoke node in distchg and save.VIs.vi dist build>llb>image.vi
dist build app image.vi build aplication.vi">>Do any one has>an idea for
solving this problem.>>Thank you all.>>>Alejandro Zepeda>>
0 Kudos
Message 3 of 3
(2,315 Views)