To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This application is also a good reference for using VI scripting in other projects. It demonstrates creating/replacing/deleting controls, applying control properties, rewiring of block diagram, reorganization of block diagram, and relinking of property nodes.
Description
The application provided uses a configuration file to map control styles to other styles. For each style name, there should be a matching control type. The configuration is stored in the JSON file format, and must be located at the project level of the Front Panel Style Conversion Utility. To view, modify and save the JSON configuration, use the Configuration Cluster to JSON.vi, shown below:
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Very nice, exactly what I need to convert a large number of classic controls into a newer style.
I changed the configuration from JSON to XML and was able to export the project to LV2012.
One minor bug: Replaced clusters get disconnected from the connector pane.
Thanks a lot for the code!
Nice utility. Exactly what I needed.
Great utility!
This probably saved me a few months of work.