Use the new make_vmot command to make a virtual motor has the same klass as the real motor it is chained to.

This commit is contained in:
Ferdi Franceschini
2014-06-20 08:15:43 +10:00
parent 35c5ccbb19
commit 0b293e5399

View File

@ -29,7 +29,7 @@ foreach pos {27 55 84 114 146 179 213 248 288 333} {
}
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_vmot sap sapmot count
sapmot precision 0.001
## Time of flight calculation