This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LMX2572: Interfacing TICS Pro to Python

Part Number: LMX2572


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)