Author(s):
Chris Mullin, Ph.D, Principal Automation Systems Scientist, Data Science Automation, Inc.
NI Product(s) Used:
LabVIEW 2020, including Unit Test Framework
Category:
Driver Development
The Challenge
A leading manufacturer of motor controllers needed an update of the LabVIEW API to their control software via .NET framework, that included an easy path to update the driver for future .NET updates.
The Solution
Data Science Automation developed a scripting tool to automatically generate the majority of the wrapper functions needed to access the .NET assembly, as well as tools to update typedefs and the text in the icons and descriptions of all the VIs. The VIs are organized into palettes that appear in the Instrument submenu of the LabVIEW Functions palette. The tools automate the process of updating the wrappers when new versions of the .NET assembly are released.