LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about creating .exe file

The attached is my .vi file. I want to use it to measure data and do some mathematical operations using MathScript. The .vi file runs fine. But when I compiled it to the .exe file, there was an error:

A name collision occurred during the build.  VIs were renamed to protect the build.  If any dynamic calls were made to the following VI, unexpected behavior can occur:
C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\Analysis\Matrix\Support\ComplexMatrix\Methods\Numeric.llb\Multiply - CM,C.vi

I guess the error was caused by MathScript used in the .vi file. When I ran the .exe file, the data were measured, and then there was no responding.

How can I fix this problem?

Thanks,
Qifu
0 Kudos
Message 1 of 5
(3,096 Views)
This is probably not the official way to fix your problem,  but what I do when I get this error is just rename the file in question.
 
\vi.lib\Analysis\Matrix\Support\ComplexMatrix\Methods\Numeric.llb\Multiply - CM,C2.vi
Brian
0 Kudos
Message 2 of 5
(3,060 Views)
Brian,

Thanks for your reply.

I tried your method. But there was an error when I built the executable file.

Error 8 occurred at Invoke Node in ABAPI Dist read linkages.vi->ABAPI Dist Cmp Settings to Disk Hier.vi->ABAPI Get Settings From File.vi->EBEP_Invoke_Build_Engine.vi->EBUIP_Build_Invoke.vi->EBUIP_Build_Rule_Editor.vi->EBUIP_CreateNewWizard_Invoke.vi->EBUIP_CreateNewWizard_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  File permission error.

Method Name: Linker:Read Info From File

C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\Analysis\Matrix\Support\ComplexMatrix\Methods\Numeric.llb\Multiply - CM,C.vi

Did you use MathScript in the .vi file when you met the same problem?

Thanks,
Qifu
0 Kudos
Message 3 of 5
(3,052 Views)
Hi Qifu-
 
I was able to build an executable from your attached VI in LabVIEW 8.0 using all the defaults and without making any modifications to your code.  But I'll offer some information and suggestions too.
 
Error 8 signifies a file permission error. This could either be because the file is marked read-only or because it is in use by another application. You can check to see if a file is read only in Windows by navigating to the file, right-clicking the file, selecting Properties, and checking the Read-only option in the dialog box. If this is not the case you could try restarting your computer (to close any open file references) before rebuilding the application.
 
Also, you may want to reference the following discussion forums:
 
Hope this helps!
Drew Pierce | District Manager, Central Texas | National Instruments
0 Kudos
Message 4 of 5
(3,023 Views)
I use LabVIEW 8.0 MathScript, which doesn't support the LabVIEW Application Builder. I guess this is the reason why there is a warning when creating the .exe file.

Thank you all for the reply.

Qifu
0 Kudos
Message 5 of 5
(2,992 Views)