ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Question: error 7 occurred at source does not exist

I have VIs built in LabVIEW 6.1. It works and built well. In LabVIEW
7, It works well. But when I try to build it. I got error.

I first use the mass conpile to compile VIs and then build the exe
with default settings. I got:

Error 7 occurred at source does not exist

Possible reason(s):

LabVIEW: File not found. The file might have been moved or deleted,
or the file path might be incorrectly formatted for the operating
system. For example, use \ as path separators on Windows, : on Mac OS,
and / on UNIX.
---
NI-488: Non-existent board.
---

But It does not point out which file does not exist.

Anyone can help me out?
0 Kudos
Message 1 of 6
(3,575 Views)
Hi,

Have a look into this Knowledge Base.

Hope this helps.

Luca
Regards,
Luca
0 Kudos
Message 2 of 6
(3,574 Views)
It does not work. No such option as "Single target file with external
file for subVIs". Only has "Single target file containing all VIs". So
I do not know what this "solution" means?

In my case, I select "Single target file containing all VIs". But
failed.

"Luca P." wrote in message news:<50650000000500000006C60100-1079395200000@exchange.ni.com>...
> Hi,
>
> Have a look into this
> href="http://digital.ni.com/public.nsf/websearch/93A349D372514B5986256F00006AED8B?OpenDocument">Kn...
.
>
> Hope this helps.
>
> Luca
0 Kudos
Message 3 of 6
(3,574 Views)
Hello yqin,

Here are some more KnowledgeBases that may pertain to your issue.

Error 7 When Building Applications and DLLs That Use the LabVIEW Report Generation Toolkit

Why Do I Get Error 7 When Building an Executable from a Build Script?

Error 7 at Invoke Node When Building a LabVIEW Executable

If the above KnowledgeBases do not work, we will want to try the following procedure.

1. Open your Main VI.
2. Hold + a
nd click the run arrow (forces recompile).
3. Close the VI and mass compile it.
4. Keep the VI closed and build the application from scratch (do not use a script).
5. Ensure that all VIs called dynamically are included as support files before building.

Please let me know if you have any questions,

Matt
0 Kudos
Message 4 of 6
(3,574 Views)
This works ONLY for build .EXE, not for .DLL.

How about .DLL?

Also, even for .EXE, If I close LabVIEW and later to build again, I
have to do the same procedure - tedious. Can I just load the main VI
in application builder and just build it?
0 Kudos
Message 5 of 6
(3,574 Views)
Hi yqin,

This procedure should only have to be done once. Does the executable not build if we do not go through it each time?

As for building the DLL, what error are you receiving when trying to build it?
0 Kudos
Message 6 of 6
(3,574 Views)