New ScreenPanel
This commit is contained in:
54
script/test13.xml
Executable file
54
script/test13.xml
Executable file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<configuration xmlns="http://www.psi.ch/~ebner/models/scan/1.0" failOnSensorError="true">
|
||||
<notification>
|
||||
<recipient>alexandre.gobbo@psi.ch</recipient>
|
||||
</notification>
|
||||
<data fileName="test13"/>
|
||||
<description>My first test</description>
|
||||
<variable name="var1" value="0.0"/>
|
||||
<scan>
|
||||
<dimension>
|
||||
<positioner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegionPositioner" name="TESTIOC:TESTCALCOUT:Input" id="id763605">
|
||||
<region>
|
||||
<preAction xsi:type="ScriptAction">
|
||||
<script>import time
|
||||
def process():
|
||||
time.sleep(3.01)</script>
|
||||
</preAction>
|
||||
<start>0.0</start>
|
||||
<end>30.0</end>
|
||||
<stepSize>5.0</stepSize>
|
||||
</region>
|
||||
<region>
|
||||
<preAction xsi:type="ScriptAction">
|
||||
<script>import time
|
||||
def process():
|
||||
time.sleep(2.02)</script>
|
||||
</preAction>
|
||||
<start>50.0</start>
|
||||
<end>70.0</end>
|
||||
<stepSize>2.0</stepSize>
|
||||
</region>
|
||||
<region>
|
||||
<preAction xsi:type="ScriptAction">
|
||||
<script>import time
|
||||
def process():
|
||||
time.sleep(1.03)</script>
|
||||
</preAction>
|
||||
<start>70.0</start>
|
||||
<end>75.0</end>
|
||||
<stepSize>1.0</stepSize>
|
||||
</region>
|
||||
</positioner>
|
||||
<action xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScriptAction">
|
||||
<script>import time
|
||||
def process():
|
||||
time.sleep(0.1)</script>
|
||||
</action>
|
||||
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="TESTIOC:TESTCALCOUT:Output" id="id348623"/>
|
||||
<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScalarDetector" name="TESTIOC:TESTSINUS:SinCalc" id="id367393"/>
|
||||
</dimension>
|
||||
</scan>
|
||||
<visualization xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="LinePlot" x="id763605" y="id348623"/>
|
||||
<visualization xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="LinePlot" x="id763605" y="id367393"/>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user