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;
class = environment;
simulation_group = environment_simulation;
protocol_args = '"\r"';
protocol_args = '{terminator \r}';
group = {
readable = 5
mutable = true

View File

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

View File

@ -1,10 +1,11 @@
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
driver ls340 = {
protocol = std
protocol = std;
class = environment
simulation_group = environment_simulation
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 = {%%
::scobj::ls340::mk_sct_lakeshore_340 $sct_controller environment $name $id $datype $tol1 $tol2 0
%%}