Update protocol_args to new format and terminator for ls340

This commit is contained in:
Douglas Clowes
2014-11-06 13:00:07 +11:00
parent 47c92518a9
commit ce324826dd
3 changed files with 5 additions and 4 deletions

View File

@ -5,7 +5,7 @@ driver isotech_ps = {
vendor = isotech; device = ps; protocol = std; vendor = isotech; device = ps; protocol = std;
class = environment; class = environment;
simulation_group = environment_simulation; simulation_group = environment_simulation;
protocol_args = '"\r"'; protocol_args = '{terminator \r}';
group = { group = {
readable = 5 readable = 5
mutable = true mutable = true

View File

@ -8,7 +8,7 @@ driver julabo_lh45_gen = {
simulation_group = environment_simulation simulation_group = environment_simulation
add_args = '{id 1} {ctrl_sensor "bath"} {tol 5.0}'; add_args = '{id 1} {ctrl_sensor "bath"} {tol 5.0}';
make_args = 'id ctrl_sensor tol'; make_args = 'id ctrl_sensor tol';
protocol_args = '"\r"'; protocol_args = '{terminator \r}';
# #
# Unnamed group has variables at device level # Unnamed group has variables at device level
# #

View File

@ -1,10 +1,11 @@
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent # vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
driver ls340 = { driver ls340 = {
protocol = std protocol = std;
class = environment class = environment
simulation_group = environment_simulation simulation_group = environment_simulation
add_args = 'id datype {tol1 1.0} {tol2 1.0}' add_args = 'id datype {tol1 1.0} {tol2 1.0}'
make_args = 'id datype tol1 tol2' make_args = 'id datype {tol1 1.0} {tol2 1.0}'
protocol_args = '{terminator \r\n}'
code mkDriver = {%% code mkDriver = {%%
::scobj::ls340::mk_sct_lakeshore_340 $sct_controller environment $name $id $datype $tol1 $tol2 0 ::scobj::ls340::mk_sct_lakeshore_340 $sct_controller environment $name $id $datype $tol1 $tol2 0
%%} %%}