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
您还可以使用marke.Smith的优秀的XML-RPC package在LabVIEW和Python之间推送数据。在
我在LabVIEW讨论板上找到了一个在this中成功的引用,它使用了以下代码:
看来你需要win32com.客户端Python中的库。在
相关问题 更多 >
编程相关推荐