XPS-Q8
Tcl Manual
DisplayErrorAndClose
$socketID $code
"SingleAxisSlaveModeEnable" $telnetOut
return
}
# Move master positioner
# (the slave must follow the master in relation to a ratio)
set
code [
catch
"
GroupMoveRelative
$socketID $MasterPositioner
$Displacement"]
if
{$code !=
0
} {
DisplayErrorAndClose
$socketID $code "GroupMoveRelative"
$telnetOut
return
}
# Disable master-slave mode
set
code [
catch
"
SingleAxisSlaveModeDisable
$socketID $SlaveGroup"]
if
{$code !=
0
} {
DisplayErrorAndClose
$socketID $code
"SingleAxisSlaveModeDisable" $telnetOut
return
}
# Close TCP socket
set
code [
catch
"TCP_CloseSocket $socketID"]
}
EDH0307En1041 — 10/17
41