digiajay / OpenInLabVIEWFileVersion

This project opens the LabVIEW files in the correct matching version of the LabVIEW which is inscribed inside LabVIEW files.
1 stars 2 forks source link

Support for opening the right file version between 32-bit or 64-bit version #3

Open digiajay opened 6 years ago

digiajay commented 6 years ago

From: James Wharrie on LinkedIn

A very useful utility as I lost count of the times I have saved over earlier version of code without realising it. Unfortunately it opens saved 64 bit versions of LabVIEW in the 32 bit LabVIEW environment (we do a lot bit of LV FPGA programming which is only available in 32 bit and use the compiled bit file in our 64 bit code). If it was possible to distinguish between 32 and 63 bit would be an added bonus but KUDOS for the idea.

digiajay commented 6 years ago

Looks like LabVIEW doesn't store the 32/64-bit info on the file (.vi/.ctl) Posted on NI forum here for community support.

digiajay commented 6 years ago

One more suggestion is to allow two context menus. One for open in 32-bit and other to open 64-bit versions.

digiajay commented 6 years ago

Other suggestion is to add a bookmark (like "LV32bit" / "LV64bit") or description in the block diagram of VI or description of the VI/CTL/Project file. Then detecting that and opening the respective bit version of LabVIEW.

digiajay commented 6 years ago

James Wharrie We can look for 64bit or 32bit NI Components on system using below code snippet. Please run the below snippet in LV2015 or later and revert back with the xml string outputted from the code as comment in this thread.

ni installed components in xml