How can I interface the TICS Pro software to Python to automate data collection?
I'm getting an exception when I select LMX2572. (see below)
import win32com.client
tp = win32com.client.Dispatch("TICSPro.ActiveX")
tp.Initialize(r"C:\Program Files (x86)\Texas Instruments\TICS Pro")
Out[133]: True
tp.SelectDevice ("LMX2572")
Traceback (most recent call last):
File "<ipython-input-134-9914354945af>", line 1, in <module>
tp.SelectDevice ("LMX2572")
File "<COMObject TICSPro.ActiveX>", line 2, in SelectDevice
com_error: (-2147352567, 'Exception occurred.', (0, 'ActiveXTICSPro', 'Object reference not set to an instance of an object.', None, 0, -2147467261), None)