Files
sics/site_ansto/instrument/TEST_SICS/fakeDMC/cont.tcl
Ferdi Franceschini fd6a955d6b Remove keywords to simplify merging branches.
r2859 | ffr | 2010-01-13 15:41:46 +1100 (Wed, 13 Jan 2010) | 2 lines
2012-11-15 16:59:06 +11:00

19 lines
523 B
Tcl
Executable File

#!/usr/bin/tclsh
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Creates a fake motion controller based on an
# instrument configuration file.
# Usage ./cont.tcl -cont <cnum> -port <portname>
# where cnum is the controller number (1,2,3,4) and
# and the portname is something like pmc2-wombat
if {$tcl_interactive==0} { array set arga $argv}
source dmcParse.tcl
source simAxis.tcl
source dmc2280Server.tcl
if {$tcl_interactive==0} {
source dmc2280_controller$arga(-cont)_sim.tcl
startserver -port $arga(-port);
}