Jump to content

LVCompare not working


Recommended Posts

Hi,

I'm trying to get LVCompare working (with git) but I'm getting an error when launching lvcompare.exe. To figure out what's going on, I'm manually starting the program from a power shell:

PS C:\Program Files\National Instruments\Shared\LabVIEW Compare> .\LVCompare.exe C:\Users\ThomasGutzler\Desktop\vi1.vi C:\Users\ThomasGutzler\Desktop\vi2.vi -lvpath 'C:\Program Files\National Instruments\LabVIEW 2017\LabVIEW.exe'

I noticed that lvcompare writes a log file into the temp folder (LVCompare_64_17.0_ThomasGutzler_cur.txt). This is what it says:

####
#Date: Wed, 23 Aug 2017 09:16:11
#OSName: Windows 10 Pro 
#OSVers: 10.0
#OSBuild: 15063
#AppName: LVCompare
#Version: 17.0 64-bit
#AppKind: AppLib
#AppModDate: 3/19/2017 10:14 GMT
#LabVIEW Base Address: 0x0000000076C10000


InitExecSystem() call to GetCurrProcessNumProcessors() reports: 4 processors
InitExecSystem() call to GetNumProcessors()            reports: 4 processors
InitExecSystem()                                      will use: 4 processors
starting LabVIEW Execution System 2 Thread 0 , capacity: 24 at [3586288571.84286833, (09:16:11.842868329 2017:08:23)]
starting LabVIEW Execution System 2 Thread 1 , capacity: 24 at [3586288571.84286833, (09:16:11.842868329 2017:08:23)]
starting LabVIEW Execution System 2 Thread 2 , capacity: 24 at [3586288571.84286833, (09:16:11.842868329 2017:08:23)]
starting LabVIEW Execution System 2 Thread 3 , capacity: 24 at [3586288571.84286833, (09:16:11.842868329 2017:08:23)]
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Escape String.vi" (0x00000208ff4f5bc0)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Escape String.vi" (0x00000208ff4f5bc0)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Parse Config to Queue.vi" (0x00000208ff526580)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Parse Config to Queue.vi" (0x00000208ff526580)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Config to String.vi" (0x00000208fd5fdb30)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Config to String.vi" (0x00000208fd5fdb30)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:String to Config.vi" (0x00000208ff54ca10)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:String to Config.vi" (0x00000208ff54ca10)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Close Config Data.vi" (0x00000208fd5ec130)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Close Config Data.vi" (0x00000208fd5ec130)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_FileType.lvlib:Get File Type.vi" (0x00000208ff45bf10)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_FileType.lvlib:Get File Type.vi" (0x00000208ff45bf10)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Typecast Refnum to Queue.vi" (0x00000208fd678fd0)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Typecast Refnum to Queue.vi" (0x00000208fd678fd0)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Save Config File.vi" (0x00000208ff415120)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Save Config File.vi" (0x00000208ff415120)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Add Quotes.vi" (0x00000208ff4f6610)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Add Quotes.vi" (0x00000208ff4f6610)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Parse Key Value Pair.vi" (0x00000208ff5650a0)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Parse Key Value Pair.vi" (0x00000208ff5650a0)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Remove Quotes.vi" (0x00000208ff56b920)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Remove Quotes.vi" (0x00000208ff56b920)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Write Key (String).vi" (0x00000208ff4eb650)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Write Key (String).vi" (0x00000208ff4eb650)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Get File Path.vi" (0x00000208ff43ca10)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Get File Path.vi" (0x00000208ff43ca10)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Add Key.vi" (0x00000208fd6a0310)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Add Key.vi" (0x00000208fd6a0310)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_PackedLibraryUtility.lvlib:Get Exported File List.vi" (0x00000208ff441e10)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_PackedLibraryUtility.lvlib:Get Exported File List.vi" (0x00000208ff441e10)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Get Key.vi" (0x00000208ff4c0900)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Get Key.vi" (0x00000208ff4c0900)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Get Section.vi" (0x00000208ff4d5e00)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Get Section.vi" (0x00000208ff4d5e00)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Load.vi" (0x00000208ff5144b0)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Load.vi" (0x00000208ff5144b0)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:New Config to Queue.vi" (0x00000208ff526850)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:New Config to Queue.vi" (0x00000208ff526850)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Write Key (Boolean).vi" (0x00000208fd687050)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Write Key (Boolean).vi" (0x00000208fd687050)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Typecast Queue to Refnum.vi" (0x00000208ff4ce860)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Typecast Queue to Refnum.vi" (0x00000208ff4ce860)]
this->flags=33563136, compilerError=6
VI_BROKEN (0): [VI "NI_LVConfig.lvlib:Open Config Data.vi" (0x00000208ff50cd90)]
VirtualInstrument::SetOrClearBadVILibrary - now VI is bad on [VI "NI_LVConfig.lvlib:Open Config Data.vi" (0x00000208ff50cd90)]
this->flags=33563136, compilerError=6
stopping LabVIEW Execution System 2 Thread 0 , capacity: 24 at [3586288577.51620388, (09:16:17.516203881 2017:08:23)]
stopping LabVIEW Execution System 2 Thread 1 , capacity: 24 at [3586288577.51620388, (09:16:17.516203881 2017:08:23)]
stopping LabVIEW Execution System 2 Thread 2 , capacity: 24 at [3586288577.51620388, (09:16:17.516203881 2017:08:23)]
stopping LabVIEW Execution System 2 Thread 3 , capacity: 24 at [3586288577.51620388, (09:16:17.516203881 2017:08:23)]
Possible path leak, unable to purge elements of base #0

Something is wrong with NI_LVConfig.lvlib? I tried opening that library and didn't get any errors.

I also have LV2017 32bit and LV2016 32bit installed and tried launching lvcompare like this:

PS C:\Program Files (x86)\National Instruments\Shared\LabVIEW Compare> .\LVCompare.exe C:\Users\ThomasGutzler\Desktop\vi1.vi C:\Users\ThomasGutzler\Desktop\vi2.vi -lvpath 'C:\Program Files (x86)\National Instruments\LabVIEW 2017\LabVIEW.exe'

and this:

PS C:\Program Files (x86)\National Instruments\Shared\LabVIEW Compare> .\LVCompare.exe C:\Users\ThomasGutzler\Desktop\vi1.vi C:\Users\ThomasGutzler\Desktop\vi2.vi -lvpath 'C:\Program Files (x86)\National Instruments\LabVIEW 2016\LabVIEW.exe'

with very similar results in LVCompare_32_17.0_ThomasGutzler_cur.txt

What am I doing wrong?

LVCompare_32_17.0_ThomasGutzler_cur.txt

LVCompare_64_17.0_ThomasGutzler_cur.txt

Link to comment
2 hours ago, smithd said:

Thats weird...what happens if you run the compare from labview tools menu? Does that work?

Now that you mention that, I can't find it in the tools menu. There is no "Compare" submenu under tools.

2 hours ago, smithd said:

I know, I've posted to that thread when it was active, but that was on LV2014 :/

Link to comment
10 hours ago, ThomasGutzler said:

Now that you mention that, I can't find it in the tools menu. There is no "Compare" submenu under tools.

I know, I've posted to that thread when it was active, but that was on LV2014 :/

Ah yes I see you now on the other page. Either way, sounds like maybe time for a repair. Or is there a possibility you don't have the appropriate labview version activated? 

Link to comment

well that one i cant answer...at this point probably the tech preview for nxg :/

 

Its actually kind of interesting nobody has taken diff on as a vi scripting exercise. merge makes sense -- it seems hard -- but diff seems relatively easy if you consider that the built-in diff doesn't do a ton of semantic filtering on changes.

Edited by smithd
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.