winIDEA SDK
test_get_test_point_id_prefix.py
1# This script is licensed under BSD License, see file LICENSE.txt.
2# (c) TASKING Germany GmbH, 2023
3
4import isystem.connect as ic
5
6
7winidea_id = ''
8
9
10def test_getTestPointIdPrefix():
11 connMgr = ic.ConnectionMgr()
12 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
13
14 addCtrl = ic.CAddressController(connMgr)
15 refCommentId = addCtrl.getTestPointIdPrefix()
16 print(f"Format reference point with '{refCommentId}' (use 'E_MATCH_TEST_POINT_ID')")
17
18
19if __name__ == "__main__":
20 test_getTestPointIdPrefix()