LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sporadic Error 1051, Method Name: Library:Open when building an App

One of the workarounds to the error 1051 that I've seen provide a successful build for someone upthread was to add the following INI token to LabVIEW:

 

NewAppBuilderCache.Enabled=False

0 Kudos
Message 31 of 33
(222 Views)

@Darren wrote:

One of the workarounds to the error 1051 that I've seen provide a successful build for someone upthread was to add the following INI token to LabVIEW:

 

NewAppBuilderCache.Enabled=False


Are there any other work arounds? I have a project that I cannot build. It includes both OpenG VIs and Web Services. We are just now migrating to LV 2024q3 and I'm dead in the water because of this issue. I recreated the project file from scratch in LV 2024 and now when I build I get this same error stating: 

LabVIEW: (Hex 0x41B) A LabVIEW file of that name already exists in memory, or exists within a project library already in memory.

Method Name: Library:Open"



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 32 of 33
(197 Views)

Mark,

 

Open the following two libraries if they are present on your system:

 

[LabVIEW 20xx]\user.lib\_OpenG.lib\array\array.llb\openg_array.lvlib

[LabVIEW 20xx]\user.lib\_OpenG.lib\lvdata\lvdata.llb\openg_variant.lvlib

 

Right-click the .lvlib and choose "Properties", change the Save Version to "Default", then click OK and save the .lvlib.

Additionally, open this VI:

 

[LabVIEW 20xx]\user.lib\_OpenG.lib\error\error.llb\Case (Error IO)__ogtk.vi

 

Pass the error wire through on the error cluster so the VI is no longer broken, then save the VI.

Now try your build and see if it succeeds without error.

0 Kudos
Message 33 of 33
(172 Views)