Modify legacy drivers so that they can be called by sct wrappers and define wrapper templates.
This commit is contained in:
12
site_ansto/instrument/config/environment/keithley_m2700.sct
Normal file
12
site_ansto/instrument/config/environment/keithley_m2700.sct
Normal file
@@ -0,0 +1,12 @@
|
||||
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
|
||||
driver keithley_m2700 = {
|
||||
protocol = std
|
||||
sobj_priv_type = 'user float'
|
||||
class = environment
|
||||
simulation_group = environment_simulation
|
||||
add_args = 'id datype tol'
|
||||
make_args = 'id datype tol'
|
||||
code mkDriver = {%%
|
||||
mk_sct_keithley_2700 $sct_controller environment $name $tol $id $datype
|
||||
%%}
|
||||
}
|
||||
Reference in New Issue
Block a user