01-12-2015 03:25 PM
Is there a way to build and deploy web services programmatically as a plug-in to a remote sbRIO?
01-13-2015 04:56 PM
Have you taken a look at the following community example?
https://decibel.ni.com/content/docs/DOC-34949
01-13-2015 09:23 PM
MajorTom,
That example doesn't really help us. We're trying to deploy the web services as a source distribution, not as part of an rtexe.
Dave
01-14-2015 10:46 AM - edited 01-14-2015 10:52 AM
The following whitepaper may be close to what you are looking for: http://www.ni.com/white-paper/7747/en/#toc9
"If the VIs, shared libraries, and data files contained in the .lvws file are complete and self-contained, the output file can be manually deployed (via FTP or copy) to any directory on the target machine as-is. Once the output file is manually deployed, it is automatically detected, unzipped, and installed by the NI System Web Server."
The quote is referring to the lvws file that is created during build of a web service (the lvws file looks like it is pretty much a zip file with a labview source distribution and configuration information for the LabVIEW Application Web Server). Unfortunately I am not sure what the "it is automatically detected, unzipped, and installed by the NI System Web Server" portion is referring to as I have not used this kind of manual deployment feature myself and that sounds kind of strange...
However the whitepaper does describe some caveats:
"Some Web service applications, however, require non-VI project items, such as Shared Variables and DAQ Channels. Due to how these non-VI project items are deployed, they cannot be built into the .lvws files. Instead, they must be deployed through the project."
So there are features you can be using in your project that might prevent you from using manual deployment altogether.
Edit: And of course with a liitle post-post Google-Fu: How Do I Manually Deploy a LabVIEW Web Service to My Real-Time Target?