winIDEA SDK
test_set_blue_box_target_connection.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_setBlueBoxTargetConnection():
11 connMgr = ic.ConnectionMgr()
12 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
13
14 execCtrl = ic.CExecutionController(connMgr)
15
16 print("Initiating BlueBox-to-target connection...")
17 execCtrl.setBlueBoxTargetConnection(True)
18
19 print("De-initiating BlueBox-to-target connection...")
20 execCtrl.setBlueBoxTargetConnection(False)
21
22
23if __name__ == "__main__":
24 test_setBlueBoxTargetConnection()