14.1.1.1         Script equivalent of Data Transfer

The following is an example of a Tcl script, which is equivalent to the Data Transfer function in WebAccess:

catch {

if { \

[expr abs([GETVAL source]-[GETVAL target])] >= $deadband} \

then {SETVAL target=@source}

}