Other Parts Discussed in Thread: LMX2594
Is there a place /way to have some details on the functions available to automates TICSPro when using python for ie.
I mean i'm looking for a place to find the list of function avaialable and specialy some details about the functions ( input parameter format, input details, return code ? )
ex: i'm using this code to setup the LMX2594 EVM. at some point i want to disconnect the output ( R0x2C 1F23), what is the correct syntax ?
Also does these function have a return code i can play with to validate everything still fine ? ( I notice the script does run even if TICSPro is closed )
Thanks.
import win32com.client
import time
tp = win32com.client.Dispatch("TICSPro.ActiveX")
tp.Initialize(r"C:\ProgramData\Texas Instruments\TICS Pro")
#select device
tp.SelectDevice("LMX2594")
#Load defaults setup
tp.RestoreSetup("tics_load_python_2.tcs")
#write all register
tp.WriteAllRegisters() # works !!!!
#input("Ecrire 1 seul registre... Press Enter")
tp.WriteRegister(???????????)