BeamGage Profiling with .Net Automation Interface and LabVIEW®
BeamGage Professional and BeamGage Enterprise version 5.7 are supported with Automation via .Net components. Both include a LabVIEW example that can be run with the LabVIEW Run-Time Engine that is provided with the BeamGage software CD or available for free download from National Instruments.
Figure 1. BeamGage and LabVIEW.
The attached pages from the BeamGage User Guide include information for downloading and installing the LabVIEW Run-Time Engine and accessing and starting the example
. To run the example you will need to have BeamGage Professional or BeamGage Enterprise version 5.7 installed along with the LabVIEW Run-Time Engine.
You will need to browse to the actual installed BeamGage User Guide to use the links. Once the BeamGage software is installed, it is available at; C:\Program Files\Spiricon\BeamGage Enterprise or Professional and titled 50220 BeamGage User Guide.pdf
To run the example there are additional steps required. You will need to create a .NET exe.config file and place it in the LabVIEW directory. i.e. C:\Program Files\National Instruments\LabVIEW 2010\LabVIEW.exe.config
From the Automation documentation:
“This version of BeamGage has been built to target the .NET 4.0 CLR. By default LabVIEW does not know how to handle .NET 4.0 assemblies. To make LabVIEW work with .NET 4.0 compiled assemblies, you will need to place a .NET config file next to the LabVIEW.exe; to tell it to load the .NET 4.0 CLR (instead of the default CLR). The easiest way to do this is to copy and rename the file "BGTotalPeakExample_XXX.exe.config" found in the BeamGage Automation examples directory to "LabVIEW.exe.config" and then move the new file to the same directory where LabVIEW.exe is installed. LabVIEW 2009 is installed to the path below by default:”
Please see the following NI link for more details.