Wrapper templates to load syringe pump and mvp valve via sics_config.ini.
This commit is contained in:
12
site_ansto/instrument/config/environment/mvp_valve.sct
Normal file
12
site_ansto/instrument/config/environment/mvp_valve.sct
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
|
||||||
|
driver mvp_valve = {
|
||||||
|
protocol = hamilton
|
||||||
|
wrapper_property nosctcontroller = True
|
||||||
|
class = environment
|
||||||
|
simulation_group = environment_simulation
|
||||||
|
add_args = 'id datype'
|
||||||
|
make_args = 'id datype'
|
||||||
|
code mkWrapper = {%%
|
||||||
|
add_mvp $name $ip_address $tcp_port a
|
||||||
|
%%}
|
||||||
|
}
|
11
site_ansto/instrument/config/environment/syringe_pump.sct
Normal file
11
site_ansto/instrument/config/environment/syringe_pump.sct
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
|
||||||
|
driver syringe_pump = {
|
||||||
|
protocol = syringe
|
||||||
|
class = environment
|
||||||
|
simulation_group = environment_simulation
|
||||||
|
add_args = 'id datype'
|
||||||
|
make_args = 'id datype'
|
||||||
|
code mkWrapper = {%%
|
||||||
|
::scobj::syr::mk_sct_syr $sct_controller environment $name
|
||||||
|
%%}
|
||||||
|
}
|
Reference in New Issue
Block a user