05-07-2007 12:53 PM
05-08-2007 04:51 PM
05-09-2007 09:07 AM
Now that we've addressed the legal issues, we have a technical issue we can't seem to resolve. When running our code within LabVIEW, everything seems to work fine. It's when we create an EXE (using a labview project) that things go south. We've attached an example that mimics what we're trying to do. In general, though, it seems that under LV, the prometrics tool knows how to find the VIs resident in memory, and can therefore perform the metrics calculations. When built/run as an exe, however, it seems the prometrics tool (within our app) loses its knowledge of the loaded (in memory) VIs, and thus captures no metrics. Can anyone offer an explanation of how this tool works, related to the memory access and what we can do to help it find the files involved in the metrics collection.
05-09-2007 10:04 AM
The ProMetrics Compute Metrics for Display.vi includes functionality that is not supported in the LabVIEW Run-time Engine. Thus, you will not be able to use this VI in a built EXE.
-D
05-09-2007 10:15 AM
05-09-2007 10:25 AM
Certain LabVIEW functionality that is available in the development environment is not included in the LabVIEW Run-Time Engine (i.e., not available when using a built EXE or DLL). For example, if you read the LabVIEW Help for various VI Server methods and properties, one of the rows in the information table in the Help for most properties/methods is "Available in Run-Time Engine". In your case, the ProMetrics tools use some private VI Server functionality (which is why the VI is password-protected), and this VI Server functionality is not supported in the Run-Time Engine.
There is no workaround for this issue at this time. You can file a suggestion at the Product Suggestion Center that the ProMetrics functionality should be supported in the LabVIEW Run-time Engine, and we will evaluate this suggestion as a feature for a future LabVIEW release.
-D