winIDEA SDK
connect_to_winidea_version.py
1# This script is licensed under BSD License, see file LICENSE.txt.
2#
3# (c) TASKING Germany GmbH, 2023
4
5import isystem.connect as ic
6
7pathTowinIDEA = 'C:/winIDEA/Venus9_17(x64)/iConnect.dll'
8connectionMgr = ic.ConnectionMgr(pathTowinIDEA)
9
10connectionConfig = ic.CConnectionConfig()
11connectionMgr.connect(connectionConfig.start_always())
12port = connectionConfig.getUdpDiscoveryPort()
13connectionMgr.disconnect_keep()
14connectionMgr.connect(ic.CConnectionConfig().host('').udpDiscoveryPort(port))
15
16debugCtrl = ic.CDebugFacade(connectionMgr)
17
18debugCtrl.download()
19
20
21