Hi there.
I've been able to use the COM client to set the value of a cluster, and I've been able to set the value of an array, both using the "setcontrolvalue" method, but I've been unable to set the value of an array of clusters. How do I do this? Here's some example code: import win32com.client output_vi = LabVIEW.GetVIReference("C:\\Geller\\LabVIEW_code\\output.vi") output_vi.setcontrolvalue('Cluster', (1,2.0,2.0)) # This is able to set the value of a cluster output_vi.setcontrolvalue('Array',(1,1,2,3,5,8,13,21)) # This is able to set the value of an array output_vi.setcontrolvalue('Array of Cluster',((1,1.0,1.2),(3,2.0,2.2))) # But this fails Can you help me out here? Thanks, Shawn
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32