Commit 4cf467c1 authored by Matias Guijarro's avatar Matias Guijarro
Browse files

Merge branch 'step_per_unit_typos' into 'master'

typo. step_per_unit -> steps_per_unit

See merge request !3835
parents 0e800ff3 90e5f614
Pipeline #50258 failed with stages
in 105 minutes and 56 seconds
......@@ -5,7 +5,7 @@
<inheritances classname="Device_4Impl" sourcePath="/segfs/tango/templates/AbstractClasses"/>
<identification contact="at esrf.fr - meyer" author="meyer" emailDomain="esrf.fr" classFamily="AbstractClasses" siteSpecific="" platform="All Platforms" bus="Not Applicable" manufacturer="none" reference=""/>
</description>
<deviceProperties name="Calibrated" description="When this property is different from 0, the motor is considered as calibrated&#xA;and a certain number of attributes cannot be changed anymore.( e.g. step_per_unit)&#xA;The goal is to avoid undesired change when the calibratiuon process has been&#xA;performed.">
<deviceProperties name="Calibrated" description="When this property is different from 0, the motor is considered as calibrated&#xA;and a certain number of attributes cannot be changed anymore.( e.g. steps_per_unit)&#xA;The goal is to avoid undesired change when the calibratiuon process has been&#xA;performed.">
<type xsi:type="pogoDsl:BooleanType"/>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
</deviceProperties>
......
......@@ -373,8 +373,8 @@ def fast_and_monitor(motor,start,stop,npoints,count_time,*counters,
#creation of musst master which will be trigger by the motor master
musst_master = MusstAcquisitionMaster(setup_globals.musst,
program="my_fast_scan_prog"
vars={"START_POS":int(start*motor.step_per_unit),
"STOP_POS":int(stop*motor.step_per_unit),
vars={"START_POS":int(start*motor.steps_per_unit),
"STOP_POS":int(stop*motor.steps_per_unit),
"NPOINTS":npoints})
#Add them to the acquisition chain
chain.add(fast_top_master,musst_master)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment