Added sap ten position virtual motor for sample aperture.

This commit is contained in:
Ferdi Franceschini
2014-06-18 16:52:20 +10:00
parent 0711340da7
commit 713452aac6

View File

@ -23,9 +23,14 @@ make_gap_motors ss1hg gap ss1ho offset ss1r ss1l mm first/horizontal
make_gap_motors ss1vg gap ss1vo offset ss1u ss1d mm first/vertical
# Sample aperture positions
# D2.5 is at 0 and D40 is at 333
sapmot positions 333 288 248 213 179 146 114 84 55 27 0
# D40 is at 0mm and D2.5 is at 306mm
foreach pos {27 55 84 114 146 179 213 248 288 333} {
lappend poslist [expr 333 - $pos]
}
sapmot positions {*}$poslist
# sap is a 10 position virtual motor for sapmot. D2.5 is at position 1
make_coll_motor_1 sap sap sapmot count
sapmot precision 0.001
## Time of flight calculation
# Length of a guide