HI,
I am trying to automate a CANalyzer configuration via python. I am using win32com.client module to automate. Following code explains the process.
Code Python - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
importsysimportosimporttimeimport win32com.clientdef can():
CANalyzer = win32com.client.Dispatch('CANalyzer.Application')
measurement = CANalyzer.Measurement
CANalyzer.Open("Configuration3.cfg")
measurement.Start()time.sleep(float(10))# delays for XX seconds
measurement.Stop()return1
The above code successfully runs the configuration. But i need to access System Variables via python associated with this configuration. I tried to do like this.
Hello,
we have a script at **broken link removed** for access to system variables. You might try that in conjunction with the CANoe configuration **broken link removed**.