07-23-2015 12:37 PM
I am able to deploy a library of network shared variables from a cRIO-9067 running NI Linux Real-Time by right-clicking the library under the target in the project explorer, or by deploying a build to the cRIO. Under Source Files in the Build Specification, I have listed the library in the "Always Include" section, and I have set the destination of that library to the default support directory (/home/lvuser/natinst/bin/data).
The issue I am having is that when I try and programatically deploy the library from a VI running on an Ethernet connected Windows computer using the Library.Deploy Library method, it returns an Error 7 (file not found). I have the Target IP Address of the cRIO, and the Lib Path (/home/lvuser/natinst/bin/data/xxxxxxxx.lvlib) supplied to the method. Could my path be wrong, or could the library not be at that path?
07-24-2015 03:00 PM
Have you seen the following resource? Step 2 seems like what you might need.
http://digital.ni.com/public.nsf/allkb/5615C415DCEA0A2086257150006A0F7D
07-24-2015 03:21 PM
Can you post the relevant code that tries to do the deployment? [Please attach executable code, a VI or a Snippet, not a plain picture].
Bob Schor
08-05-2015 06:08 AM
The answer to my issue from NI after some discussion, is that a library that is stored in the cRIO can not be remotely deployed from a connected computer. The library can however be remotely deployed to the cRIO if it is stored on the computer that is calling the deploy library method.