Files
dev/script/test/testsettling.py
2023-05-01 11:28:04 +02:00

9 lines
371 B
Python

cc =ChannelSettlingCondition("TESTIOC:TESTCALCOUT:Input", 0)
positioner = ControlledVariable("positioner", "TESTIOC:TESTCALCOUT:Output", "TESTIOC:TESTSINUS:SinCalc")
positioner.getConfig().resolution = float('inf')
positioner.initialize()
positioner.setSettlingCondition(ChannelSettlingCondition("TESTIOC:TESTCALCOUT:Input", 0))
positioner.write(2.0)
positioner.read()