To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This is example code that takes two inputs in LabVIEW and adds them together. The VI is then called and controlled using Python.
Description
The LabVIEW code is called in Python and the front panel is controlled using ActiveX calls from Python. The output is then displayed using Python code. This code uses VI Methods and the VI Server with ActiveX enabled to control a LabVIEW VI from Python.
Requirements
Software:
LabVIEW 2012(or compatible)
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.