Closedown
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<configuration xmlns="http://www.psi.ch/~ebner/models/scan/1.0" numberOfExecution="1" failOnSensorError="true">
|
||||
<data format="txt" fileName="XAS_Jiaqi_EMPA_A17_2"/>
|
||||
<variable name="N_cycles" value="0.0" description="Buffer N_cycles for EXAFS k-spacing scans "/>
|
||||
<scan>
|
||||
<dimension zigzag="false" dataGroup="false">
|
||||
<positioner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RegionPositioner" name="TESTIOC:TESTCALC:MyCalc" readback="TESTIOC:TESTCALC:MyCalc" settlingTime="0.2" asynchronous="false" id="Energy">
|
||||
@@ -14,7 +13,7 @@
|
||||
<mapping xsi:type="ChannelParameterMapping" channel="TESTIOC:TESTCALCOUT:Input" type="Double" variable="N_Cycles"/>
|
||||
<script>def calculate(parameter):
|
||||
nc=N_Cycles.getValue()
|
||||
nc=nc + 1.0
|
||||
nc=nc*1.017
|
||||
N_Cycles.setValue(nc)
|
||||
return parameter</script>
|
||||
</function>
|
||||
|
||||
Reference in New Issue
Block a user