5import isystem.connect
as ic
10EXAMPLE_TRD_FILE_NAME =
"sdk_example.trd"
13def test_dataAreaType2Str():
14 connMgr = ic.ConnectionMgr()
15 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
17 profCtrl = ic.CProfilerController2(connMgr, EXAMPLE_TRD_FILE_NAME,
"u")
18 profCtrl.waitUntilLoaded(5000, isThrow=
True)
20 nameStr = profCtrl.dataAreaType2Str(ic.CProfilerController2.EDATState)
21 print(f
"Human readable name of variable 'state' mode: {nameStr}")
25if __name__ ==
"__main__":
26 test_dataAreaType2Str()