09-11-2014 06:00 AM
I have a vi that uses Initialize Session.vi to get the temperature back from a PXI rack, this all works fine using the development environment but when i try and use the Runtime Engine my vi will not load into TestStand saying that the vi is broken or it can't find a subvi. I am using TestStand & LabView 2013 with the appropriate Runtime Engines installed.
This is my full vi to get temperature.
I have narrowed down the problem by stripping out everything until i have this.
Does anyone know what if anything i am doing wrong.
Thanks for the help.
Wayne
09-11-2014 08:38 AM
Hi Wayne
Is the computer with the development system the same computer as the one with the run-time engine and teststand?
If not you need to remember to install NI system configuration on the test PC as well. That might explain the missing libraries.
/Anders
09-11-2014 08:56 AM
Yes, it is the same PC. I wanted to make sure that my project would run using the Runtime Engine before i removed the Development Environment.
Wayne
09-12-2014 06:01 AM
Hi Wayne
I investigated this error and I can replicate it on my PC as well.
Seems that the System Configuration API uses som VI's in the VI.lib folder that it can't access when using the run-time engine.
The solution I found that worker was to include the nessasary dependencies from VI'lib with my VI. The best method for doing this is to use a Source Distribution. I've included a document that describe how to to this. Please note that it talks about the MathScript Node, in this case it is the same for the System Configuration API.
Error 17600 When TestStand Code Module Uses a MathScript Node with LabVIEW Run-time Engine
http://digital.ni.com/public.nsf/allkb/ECC10F48CD289A3D86257B4F00696114?OpenDocument
Summery: If you instead of loading in a VI to TestStnad loads in a LLB that also contains the dependencies required by the System Configuration API it should work (it did for me).
Best Regards
Anders Rohde