Change to instrument source dir to generate xml.
r1267 | ffr | 2006-11-09 17:10:16 +1100 (Thu, 09 Nov 2006) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
2df0200228
commit
3d2223b247
@@ -12,8 +12,9 @@ proc genXML {instrument} {
|
||||
array set instPath [list echidna hrpd wombat hipd koala qld quokka sans platypus reflectometer pelican pas taipan tas];
|
||||
|
||||
instrumentXML $instrument;
|
||||
source $instPath($instrument)/hipadaba_configuration.tcl;
|
||||
set fh [open $instPath($instrument)/InstXML.tcl w];
|
||||
cd $instPath($instrument);
|
||||
source hipadaba_configuration.tcl;
|
||||
set fh [open InstXML.tcl w];
|
||||
puts -nonewline $fh "<?xml version = '1.0' encoding = 'UTF-8'?>";
|
||||
puts -nonewline $fh [$doc asXML -indent none];
|
||||
close $fh;
|
||||
|
||||
Reference in New Issue
Block a user