winIDEA SDK
Loading...
Searching...
No Matches
test_set_option.py
# This script is licensed under BSD License, see file LICENSE.txt, or search for `License` in the SDK online help.
#
# (c) TASKING Germany GmbH, 2023
"""
This script sets option in winIDEA.
"""
import isystem.connect as ic
winidea_id = ''
def test_setOption():
connectionMgr = ic.ConnectionMgr()
connectionMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
ideCtrl = ic.CIDEController(connectionMgr)
ideCtrl.setOption("/IOPEN/Hardware.Emulator", "iC5000")
# alternative call
ideCtrl.setOption(ic.ofDestIOPEN, "", "Hardware.Emulator", "iC5000")
if __name__ == "__main__":
test_setOption()