Added sap ten position virtual motor for sample aperture.
This commit is contained in:
@ -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
|
make_gap_motors ss1vg gap ss1vo offset ss1u ss1d mm first/vertical
|
||||||
|
|
||||||
# Sample aperture positions
|
# Sample aperture positions
|
||||||
# D2.5 is at 0 and D40 is at 333
|
# D40 is at 0mm and D2.5 is at 306mm
|
||||||
sapmot positions 333 288 248 213 179 146 114 84 55 27 0
|
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
|
make_coll_motor_1 sap sap sapmot count
|
||||||
|
sapmot precision 0.001
|
||||||
|
|
||||||
## Time of flight calculation
|
## Time of flight calculation
|
||||||
# Length of a guide
|
# Length of a guide
|
||||||
|
Reference in New Issue
Block a user