The default interval of five seconds seems to be working for everyone so let it be.

This commit is contained in:
Ferdi Franceschini
2014-08-05 12:23:54 +10:00
parent 379f12fdac
commit 6b8d9d88fa

View File

@ -569,14 +569,14 @@ proc ::scobj::oxford_labview::read_config {} {
} }
} }
set arg_list [list] set arg_list [list]
foreach arg {interval} { # foreach arg {interval} {
if {[dict exists $v $arg]} { # if {[dict exists $v $arg]} {
lappend arg_list "[dict get $v $arg]" # lappend arg_list "[dict get $v $arg]"
} else { # } else {
${ns}::sics_log 9 "Missing configuration value $arg" # ${ns}::sics_log 9 "Missing configuration value $arg"
error "Missing configuration value $arg" # error "Missing configuration value $arg"
} # }
} # }
${ns}::sics_log 9 "add_oxford_labview ${name} aqadapter ${asyncqueue} {*}$arg_list" ${ns}::sics_log 9 "add_oxford_labview ${name} aqadapter ${asyncqueue} {*}$arg_list"
add_oxford_labview ${name} "aqadapter" ${asyncqueue} {*}$arg_list add_oxford_labview ${name} "aqadapter" ${asyncqueue} {*}$arg_list
} }