I wanted to expand on my previous post about using Java with LabView. While that is a good example to get your feet wet in using an existing Java library from within LabView, I really want to show how powerful it actually can be.
Java with LabView
Recently, I needed to be able to use parts of our existing code base in LabView, by National Instruments. After some digging, I found that there is no native support for calling Java code from inside LabView itself.
Program Stanley Alpha
• Justin Smith
Summit has recently published a simple API that will program Stanley Alpha, Generation 4, controllers from 3rd party application code.
The simple API will allow for real-time backup and restore of the parameters currently inside the controller. The library is cross compatible with the backup XML that comes off the controller as well, allowing the use of the backups that are saved to USB sticks. However, with this automation library, we hope to remove the necessity of pulling these backups manually by giving facility staff a tool that can be automated to do the same task.
The API also allows to write job parameters on the fly. The tool can then be programmed via parameters that may be stored inside a database, or some other data-store.
Create a Simple Job
Save Alpha configuration to File
Push a Configuration File
All code samples are provided ‘as-is’ and without warranty, of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or dealings in the software.