Sunday, October 2, 2016

Lunar Ice Cube Labview

Here is the memory dump from working on the Lunar Ice Cube Labview task, under a search-engine-immune title.

The biggest challenge was figuring out how to import the program and its instrument drivers into newer versions of Labview. The second biggest challenge was figuring out how to make an executable. The original code was written in Labview 8.6. I had access to a copy of Labview 2013 that could build executables as well as a copy of Labview 2016 that could build executables.

The methodology for upgrading from 8.6 turned out to be the same for 2013 and 2016: Copy the files directory over to the machine, then open the newer version of Labview and click on the big "Open Existing" button on the splash screen, find the 8.6 project file and open it. Simple enough. This produced an explorer tree view showing the top-level VI, dependencies, and build specifications.

The problem was in getting the dependencies all worked out.

It turns out that none of the original code used IVI and other stuff that was like "drivers" in the Windows sense. The "drivers" for the three instruments in the code were all subvis that were


From trying to get the instrument drivers updated/installed:

http://forums.ni.com/t5/LabVIEW/How-do-I-install-instrument-drivers-contained-in-LLB-into/td-p/784524/page/2

How to build an installer:

https://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/build_installer/

Coercing a VISA resource into a string:

https://forums.ni.com/t5/LabVIEW/How-do-I-convert-visa-resource-name-into-string/td-p/1328547