LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Errors building dlls in Labview 8.0

I ahve just reinstalled labview after a system crash, and am now having problems with building dll's in Application builder.  If i try to create a new dll build I get the error "error in invoking the build rule editor".  I can load all of the vi's in the Appbuilder directory.  when I try to build an _existing_ dll build I get the following error.  anyone got any ideas?

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

Error 1031 occurred at Open VI Reference in ABAPI Dist Build DLL Stub.vi->ABAPI Build Shared Lib With Old Proto.vi->DBEP_Invoke_Build_Engine.vi->DBUIP_Build_Invoke.vi->DBUIP_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  VI Reference type does not match VI connector pane.

VI Path: C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\Platform\CCompileSupp.llb\Compile DLL Stub.vi
0 Kudos
Message 1 of 10
(3,885 Views)
Does this error occur even with a very basic VI?

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 2 of 10
(3,861 Views)
yes it does.  I just tried creating a vi that has only a string constant attached to a string indicator in a brand new project and got the same build error when I tried to create the dll ("error invoking the build rule editor").  I can setup creating an executable fine.
0 Kudos
Message 3 of 10
(3,857 Views)
This is a tricky one.  There looks to be a couple other cases of this:

http://forums.ni.com/ni/board/message?board.id=170&message.id=232112&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=170&message.id=236399&requireLogin=False


One person noted that the follow VI was broken

C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\AppBuilder\ABAPI Build Shared Lib With Old Proto2.vi

Is yours also broken?

What prompted you to reinstall LabVIEW?  Did your system crash corrupt the installation?

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 4 of 10
(3,835 Views)
C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\AppBuilder\ABAPI Build Shared Lib With Old Proto2.vi is broken as with that other user.  The reinstall was actually a clean install - I had needed to scrub my machine and start again (for unrelated reasons) - its only since that clean install that I have had this problem.
0 Kudos
Message 5 of 10
(3,784 Views)
In your Build Specifications in the Advanced category try:

1.  Un-checking Disconnect type definitions and remove unused polymorphic VI instances.
2.  Checking Enable Debugging.

Does the error still occur?

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 6 of 10
(3,752 Views)
If I create a new project and VI, then right click to create a new build specification for a shared library (dll), it is at that point that I get the "error in invoking the build rule editor".  It then creates the build specification, but the name is empty, and if I right-click and select properties, nothing happens.
0 Kudos
Message 7 of 10
(3,750 Views)
Try installing the 8.0.1 patch and performing a mass compile.

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 8 of 10
(3,733 Views)
That patch has already been installed.  If I mass compile again, I get a windows error "Labview.exe has encountered a problem".  The error signature is:
AppName: labview.exe      AppVer: 8.0.1.4000     AppStamp:4403759e
ModName: labview.exe      ModVer: 8.0.1.4000      ModStamp:4403759e
fDebug: 0       Offset: 000e8bc2



0 Kudos
Message 9 of 10
(3,725 Views)
These look more like Windows errors...what was the nature of you original system crash?  It is possible that your Windows installation is corrupt in the event that the hard drive was writing to disk while power was removed, which could create all sorts of problems.

When you reinstalled LabVIEW, was it a complete removal and new installation, or a repair?

And then there's some of the other OS specific questions, such as:  Do you have admin rights?  Is Windows up to date?  Does the computer of spyware/virus protection?

Trey B
Applications Engineering
National Instruments
0 Kudos
Message 10 of 10
(3,707 Views)