Select sample changer from sics_config.ini
This commit is contained in:
@@ -46,7 +46,20 @@ set 10sample_table {
|
||||
9 -172.5996
|
||||
10 -214.5996
|
||||
}
|
||||
mkPosit sct_mc1 sampleNum float samx sample $20sample_table
|
||||
|
||||
if { [ info exists ::config_dict ] } {
|
||||
if { [ dict exists $::config_dict sample_stage implementation ] } {
|
||||
set implementation [ dict get $::config_dict sample_stage implementation ]
|
||||
if {$implementation == "normal_sample_stage"} {
|
||||
# Don't make posit motor
|
||||
} elseif {$implementation == "10_pos_sample_stage"} {
|
||||
mkPosit sct_mc1 sampleNum float samx sample $10sample_table
|
||||
} elseif {$implementation == "20_pos_sample_stage"} {
|
||||
mkPosit sct_mc1 sampleNum float samx sample $20sample_table
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#diameter position
|
||||
set auto_ap_table {
|
||||
|
||||
Reference in New Issue
Block a user