This commit is contained in:
9
script/test/testsettling.py
Normal file
9
script/test/testsettling.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user