5import isystem.connect
as ic
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
15 covCtrl = ic.CCoverageController2(connMgr,
'sdk_example.trd',
"u")
16 covCtrl.waitUntilLoaded(5000, isThrow=
True)
18 status = covCtrl.getStatus()
19 print(f
"Get current analyzer state:")
20 print(f
"\tReturn code: {status.getReturnCode()}")
21 print(f
"\tIs analyzer active: {status.isActive()}")
22 print(f
"\tIs analyzer busy: {status.isBusy()}")
23 print(f
"\tIs document empty: {status.isDocumentEmpty()}")
24 print(f
"\t... explore other methods.")
25 print(f
"Additionally, dump status with '.toString()' method:\n{status.toString()}")
29if __name__ ==
"__main__":