08-03-2018 11:35 AM
Hallo,
I have just started using version control with Tortoise Git. I changed the Git settings to use LV compare and merge for diff and merge of tortoise git and made a change to a VI after a commit to see the difference. I incur a problem with launching LV compare
I added .vi extension to advanced diff settings with external program as "C:\Program Files\National Instruments\Shared\LabVIEW Compare\LVCompare.exe" %mine %base -nobdcosm -nobdpos
08-03-2018 12:02 PM
Did you check to verify that LVcompare works outside of TortoiseGit?
08-06-2018 02:57 AM - edited 08-06-2018 02:57 AM
It may not be the problem you are encountering, but LVCompare will run in the last context which was active in LabVIEW (which is a real PITA).
Could it be that you were working on a RT target before launching a compare? This behaviour of LVCompare and LVMerge is extremely annoying because there's no reason whatsoever to run either of these on any target other than "My Conputer". If this helps, please give Kudos HERE.
08-06-2018 10:34 AM
I tried it with command prompt and the same error recurs
Launching LVCompare.vi from C:\Program Files\National Instruments\Shared\LabVIEW Compare\supportVIs\_prolvcmp.llb
gives the following error
An error occurred while running LVCompare.
NI_LVConfig.lvlib:Load.vi<ERR>
C:\Users\Z003W3YA\AppData\Local\Temp\LVCompare.ini
08-06-2018 10:36 AM
I am not working with Real Time at the moment
08-06-2018 10:51 AM
Why are you running the VI, there's an EXE isn't there? Under "National Instruments/Shared"....
08-06-2018 10:58 AM
I am trying everything to understand the problem. The exe causes error on launch and in command prompt with parameters
08-06-2018 11:00 AM
When you look at the error, it says it can't opent he ini file for settings.... could permissions on this folder (possibly on a network drive) be part of the problem?
08-08-2018 01:23 AM - edited 08-08-2018 01:24 AM
The error occurs in my work computer where I use LV full development system whereas it does not occur in my personal computer where I use LV professional development system.
Could the version be the source of problem?
01-08-2024 02:15 PM - edited 01-08-2024 02:42 PM
@Kyle97330 wrote:
Did you check to verify that LVcompare works outside of TortoiseGit?
I get that error from an MSYS2 terminal "git diff" with LabVIEW Professional Development System Version 2023 Q3 (32-bit) 23.3.1f1. C:\Users\<user.name>\AppData\Local\Temp\LVCompare.ini does not exist (I have permissions and can create the file manually). The error message can be scrolled down to see the following.
<b>Complete call chain:</b>
NI_LVConfig.lvlib:Load.vi
NI_LVConfig.lvlib:Open Config Data.vi
LVCompare.vi