10-23-2024 07:24 AM - edited 10-23-2024 07:26 AM
Hello,
We have upgraded to LabVIEW 2024 Q3 64-bit version a few weeks ago in all our setups and we have tried to run LVMerge.exe tool from cmd with no success. We run the command:
LVMerge.exe "path to base vi" "path to remote vi" "path to local vi" "path to vi to merge"
When we run previous command, LabVIEW Merge executable front panel window opens without showing any error and also opens labview 2024 Q3 but then nothing else happens, the merging UI is not showing.
Could anyone provide any solution to this problem? We have tried installing LabVIEW 2024 Q3 64-bit in many other setups and we have the same results. Instead, when we use LabVIEW 2020 it works just fine and we can merge VIs without any issue.
Thank you.
10-24-2024 07:10 AM
Perhaps something else.
LVMerge and LVCompare open in the last active context of the LV IDE. If this is RT or FPGA, the LVCompare and LVMerge code will fail. This will also lead to the program failing to show any UI.
To clarify, just make sure your last mouse click was on "My Computer" in a LV project before calling the merge or compare, see if that helps.
10-24-2024 07:15 AM
Thanks for your reply,
I'm calling LVMerge.exe from windows command line window. It works when I specify "C:\Program Files\National Instruments\LabVIEW 2020\LabVIEW.exe" as argument, so LVMerge.exe runs on labview 2020, but it does not work when i run it in LabVIEW 2024 Q3 64-bit specifying "C:\Program Files\National Instruments\LabVIEW 2024\LabVIEW.exe" as first argument (note that I also specify the other 4 arguments after this one which are Base vi path, Remote vi path, Local vi path and merge vi path).
Thank you,
10-24-2024 07:22 AM
OK,that's something different.
It seems like your LVMerge and LVCompare EXEs are from LV 2020, not the newer LV version.
I have not used either of these LV versions, and I principally avoid trying to have multiple LV versions on any PC, so I'm not familiar with a lot of LVs idiosyncracies in these cases.
Have you looked at the properties of the EXE in explorer? Rightl-click and view "properties" of the EXE. It should telly ou which version it is.
10-24-2024 08:22 AM
I cannot see the LabVIEW version used to build the executable in the properties of the .exe file. Only information I see is:
Thank you,
10-24-2024 08:37 AM
Hmm, the version is weird, when I look at LVMerge in my LV 2015 folder, it shows me the following
10-24-2024 12:34 PM
I can confirm that for version upto 2021, the version of LVMerge matches the LabVIEW version.
On 2023 Q3 and 2024 Q3 the LVMerge version is 1.0.0 as OP has shown.
10-24-2024 12:39 PM
I have 2 questions:
Is LabVIEW 2020 and LabVIEW 2024 installed on the same PC ?
Can you show the command that you use to can LVMerge for LabVIEW 2024 ?
10-24-2024 04:12 PM - edited 10-24-2024 04:15 PM
I have LabVIEW 2024 Q3 64-bit installed, and LVMerge.exe isn't running properly from TortoiseGit.
The command used is: "C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe" %base %mine %theirs %merged
the result is incorrect, because the Merge VIs window doesn't open:
When the same operation is executed from Tools>Merge>Merge VIs..
the result is correct:
Only LabVIEW 2024 Q3 64-bit is installed.