5import isystem.connect
as ic
8def test_CConnectionConfig():
9 print(
"This is an example of how 'CConnectionConfig' instance is created...")
10 cfg = ic.CConnectionConfig()
11 cfg.cmdLineParams(
"/LOG:6")
12 cfg.instanceId(
"sdk_example")
13 cfg.udpDiscoveryPort(5345)
14 cfg.useIPCDiscovery(
True)
15 cfg.visibility(ic.IConnect.lfShowHidden)
16 cfg.waitTime(ic.IConnect.lfWait100ms)
17 cfg.workspace(
"C:/Desktop/myWorkspace/Sample.xjrf")
23if __name__ ==
"__main__":
24 test_CConnectionConfig()