From 5112af83fd733cd2e3735e93bd9a70cb3ee1e685 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 1 Aug 2014 16:44:23 +1000 Subject: [PATCH] SICS-697 Decorate LS-370 with permlink --- .../config/environment/temperature/lakeshore_m370.sct | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/site_ansto/instrument/config/environment/temperature/lakeshore_m370.sct b/site_ansto/instrument/config/environment/temperature/lakeshore_m370.sct index 50c451e9..9db80f11 100644 --- a/site_ansto/instrument/config/environment/temperature/lakeshore_m370.sct +++ b/site_ansto/instrument/config/environment/temperature/lakeshore_m370.sct @@ -4,9 +4,13 @@ driver lakeshore_m370 = { sobj_priv_type = 'user float' class = environment simulation_group = environment_simulation - add_args = 'tol' - make_args = 'tol' + add_args = 'id tol' + make_args = 'id tol' code mkDriver = {%% - mk_sct_driver $sct_controller environment $name $tol + ::scobj::lakeshore_370::mk_sct_driver $sct_controller environment $name $tol + hsetprop ${scobj_hpath}/setpoint permlink data_set T[format "%02d" ${id}]SP01 + hsetprop ${scobj_hpath}/setpoint @description T[format "%02d" ${id}]SP01 + hsetprop ${scobj_hpath}/Sensor/value permlink data_set T[format "%02d" ${id}]S01 + hsetprop ${scobj_hpath}/Sensor/value @description T[format "%02d" ${id}]S01 %%} }