52 lines
1.7 KiB
Tcl
52 lines
1.7 KiB
Tcl
##
|
|
# @file
|
|
# A guide configuration table where each line describes the setup
|
|
# for a mode of operation.
|
|
# The table will have a corresponding interpretation list which provides
|
|
# commands to setup the instrument.
|
|
|
|
namespace eval optics {
|
|
# A configuration table is made up of a set of named rows which provide
|
|
# configuration parameters
|
|
# Rows can be of mixed type
|
|
array set guide_configuration {
|
|
ga {MT A A A A A A A A }
|
|
mt {MT MT MT MT MT MT MT MT MT }
|
|
lp {MT MT MT MT MT MT MT MT LP }
|
|
lens {MT MT MT MT MT MT MT MT L }
|
|
p1 {P A MT MT MT MT MT MT MT }
|
|
p1lp {P A MT MT MT MT MT MT LP }
|
|
p1lens {P A MT MT MT MT MT MT L }
|
|
g1 {G A A A A A A A A }
|
|
p2 {P G A A A A A A A }
|
|
g2 {G G A A A A A A A }
|
|
p3 {P G G A A A A A A }
|
|
g3 {G G G A A A A A A }
|
|
p4 {P G G G A A A A A }
|
|
g4 {G G G G A A A A A }
|
|
p5 {P G G G G A A A A }
|
|
g5 {G G G G G A A A A }
|
|
p6 {P G G G G G A A A }
|
|
g6 {G G G G G G A A A }
|
|
p7 {P G G G G G G A A }
|
|
g7 {G G G G G G G A A }
|
|
p8 {P G G G G G G G A }
|
|
g8 {G G G G G G G G A }
|
|
p9 {P G G G G G G G G }
|
|
g9 {G G G G G G G G G }
|
|
}
|
|
|
|
# This list maps the motor names to columns of the
|
|
# guide_configuration table.
|
|
set guide_configuration_columns {
|
|
c1 c2 c3 c4 c5 c6 c7 c8 c9
|
|
}
|
|
|
|
}
|
|
|
|
namespace eval optics {
|
|
variable guide_configuration
|
|
variable guide_configuration_columns
|
|
namespace export set_guide
|
|
}
|