擅长:python、mysql、java
<p>我在LabVIEW讨论板上找到了一个在<a href="http://forums.ni.com/t5/LabVIEW/Updating-Labview-exe-front-panel-from-python/m-p/711077#M325584" rel="noreferrer">this</a>中成功的引用,它使用了以下代码:</p>
<pre><code>import win32com.client //load the interface
labview = win32com.client.Dispatch("Labview.Application") //get a ref to the Labview application
VI = labview.getvireference(r'C:\TEMP\python.vi') //load the VI
VI.setcontrolvalue('Numeric','5') //set the control 'numeric' to 5
</code></pre>
<p>看来你需要win32com.客户端Python中的库。在</p>