LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in invoking the build rule editor, LabView 2011

Hi all.  I'm having a problem in Project Explorer.  When I right-click on 'Build Specifications' and select New:Application (EXE), I get the following error dialog:

 

"There was an error in invoking the build rule editor. Please check the corresponding provider directory to see if any VIs are broken."

 

After this appears, no build specification is created.

 

 

I built this application in LabView 2010 on WinXP and was able to compile and run it sucessfully many times over the last few weeks.

 

The problem started yesterday when I had a problem with a Ring control. I right-clicked it and selected "Edit items" or "Properties" the cursor blinked for a moment but the dialog box did not appear.  I removed the Ring control and replaced it with a String control, then when I tried to build the application, I got this error message.  At that time, I also noticed that I could not get a Properties dialog box to appear for any controls or indicators.

 

Yesterday, I installed NI Developer Suite 2011 Version DS2. This seems to have fixed the problem with the dialog boxes and I was able to use the Ring control. However, I still have the problem with the build rule editor.

 

To determine if there was a problem in my program, I built a new 'Hello World' .vi with just a string control and string indicator. This program has the same problem when trying to build to an .exe.

 

Currently, I am trying to remove all previous versions of LabView. When that is done, I will reboot and try to build again.  If that doesn't work, I will remove ALL National Instruments software and re-install NI Developer Suite 2011 DS2.

 

I'm hoping someone can provide a solution before it comes to that.

 

Two other facts which might be relevant:  I don't have Administrator on this machine, although I could probably get it if I could make a strong case. Also, I can't be sure, but I think the problem may have started when I undocked my laptop from the docking station to go to a meeting.

 

I appreciate your help.  Thanks in advance.

0 Kudos
Message 1 of 16
(4,670 Views)

Hello,

 

I will look into this more next week if you still have problems but I have 2 suggestions for you.

First go into Add Remove Programs >  National Instruments > Repair Labview> Modules and then drivers in that order.  

Second, available see if this works on another computer.

 

 

Best of Luck,

Dano 

0 Kudos
Message 2 of 16
(4,638 Views)

I tried that, but it didn't work.

 

I uninstalled ALL versions of LabView, then went through the Windows registry and deleted everything with either 'Labview' or 'National Instruments' in the name.

 

Then, I re-installed LabView 2011.  This took two full days, but now I have a working system.

 

I still don't know what went wrong, so I'm terrified it'll come back without warning. 

 

Thanks anyways.

0 Kudos
Message 3 of 16
(4,635 Views)

Hello again,

    I feel like there is something small getting in the way but hopefully we can figure it out.
    I hope it does not  come to reinstalling the whole thing.
    Is there a chance that you could post the Hello World VI and then take screen shots of the error message(s).  

    I will look over some Knowledge Bases this weekend and hopefully we can find something for you.

 

    Hope it doesn't come from a full reinstall.

 

Dano 

0 Kudos
Message 4 of 16
(4,633 Views)

Hello all,

 

Has this issue been resolved? (I see the last post is 10 months old)

 

I just installed LV2011 on a Windows 7/32 bit machine and got the same error.

 

Mike

 

0 Kudos
Message 5 of 16
(4,579 Views)

The only way I was able to fix it as to completely uninstall everything and re-install.

 

I hope you have better luck than I did.

0 Kudos
Message 6 of 16
(4,569 Views)

Thanks for the reply.

 

I have tried a repair of the installation and that didn't help.

 

I submitted an email help request to NI and am waiting for a reply.

 

It would be nice to know what may have installed incorrectly the first time and why. 

 

Mike

0 Kudos
Message 7 of 16
(4,566 Views)

Thanks for the reply.

 

I have tried a repair of the installation and that didn't help.

 

I submitted an email help request to NI and am waiting for a reply.

 

It would be nice to know what may have installed incorrectly the first time and why. 

 

Mike

0 Kudos
Message 8 of 16
(4,566 Views)

If you need additional assistance, I encourage you to create a new thread. It is more likely to be answered by other users as a fresh post.

The most likely cause is a corrupted file (or files) in the builder directory. 

I would  recommend renaming/moving the following folders and performing a repair install of LabVIEW: 

\National Instruments\LabVIEW 2011\vi.lib\AppBuilder 
\National Instruments\LabVIEW 2011\resource

 

Regards,

AnjelicaW.

Regards,

Anjelica W.
National Instruments
Product Marketing Manager
FlexLogger and TestStand
0 Kudos
Message 9 of 16
(4,553 Views)

I am having the same problem. Occurred after not using Labview for a few months. Tried reactivating licences and repairing installation as advised above. No joy. Has anyone found a solution?

0 Kudos
Message 10 of 16
(4,512 Views)