Change SCT wrappers to use ip_address and tcp_port
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
|
||||
driver agilent_33220A = {
|
||||
wrapper_property nosctcontroller = True
|
||||
protocol = std
|
||||
class = environment
|
||||
simulation_group = environment_simulation
|
||||
code mkWrapper = {%%
|
||||
${ns}::sics_log 9 "makesctcontroller sct_${name} std ${ip_address}:${tcp_port}"
|
||||
makesctcontroller sct_${name} std ${ip_address}:${tcp_port}
|
||||
%%}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@ driver green_magnet_labview = {
|
||||
# TCL code
|
||||
::scobj::green::mkGreen {
|
||||
name "green_magnet"
|
||||
IP 137.157.201.88
|
||||
PORT 5001
|
||||
IP ${ip_address}
|
||||
PORT ${tcp_port}
|
||||
tuning 1
|
||||
interval 3
|
||||
}
|
||||
|
@ -3,9 +3,10 @@ driver west4100 = {
|
||||
protocol = std
|
||||
class = environment
|
||||
simulation_group = environment_simulation
|
||||
wrapper_property nosctcontroller = True
|
||||
add_args = 'dev_id'
|
||||
make_args = 'IP dev_id'
|
||||
code mkDriver = {%%
|
||||
::environment::temperature::mkwest400 $name $IP $dev_id
|
||||
make_args = 'dev_id'
|
||||
code mkWrapper = {%%
|
||||
::environment::temperature::mkwest400 ${name} ${ip_address} ${dev_id}
|
||||
%%}
|
||||
}
|
||||
|
Reference in New Issue
Block a user