5import isystem.connect
as ic
8def test_find_or_start_instance():
9 print(
"Finding existing instance by ID, or starting new...")
10 cfg = ic.CConnectionConfig()
11 cfg.instanceId(
"sdk_example2")
12 cfg.start_if_required()
13 conn_mgr = ic.ConnectionMgr()
19 conn_mgr.disconnect_close(bSaveAll=
False)
22if __name__ ==
"__main__":
23 test_find_or_start_instance()