Recompiling the Stronggrid DLL
Initially the stronggrid DLL was set in a 32 bit format but later versions of Labview can’t run or open 32 bit software so in order to use the DLL the user must recompile the file or use labview 32 bit. To recompile for 64-bit the following programs are needed: Visual studios and cmake.
Downloading and Installing cmake:
Download the latest version of cmake, preferably using the msi installer instead of zip as the install will require less setup by the user.
- If you already have cmake make sure that it is the latest version
Using cmake for the dll
Now make sure that the repository is downloaded from the github.
Create a subfolder to hold the a updated S3DK file.
Open the cmake application:
In the "Where is the source code" line put the location of the stronggrid files
In the line beneath put the location of the new folder.
The files should now be in 64-bit; now open visual studios
Open the project file- ALL_BUILD.vcxproj
The scroll down where it reads Debug, expand and change it to Release.
- If the scroll down right next to does not read x64 change it by going to configuration manager, clicking new and where it says ARM click to change it to x64
Build the solution and check for any errors
Replacing the dll file
Find the S3DK folder
- Ex.C:\Program Files\National Instruments\LabVIEW 2017\vi.lib\S3DK
Open the data folder
Now in another folder explorer, open the newly compiled and built S3DK files. Open StrongDLL>>StronggridDLL.dir>>Release, now copy the stronggridDLL.dll to the data folder in the S3DK. replace the old file.