The XML configuration file

From NAMIC Wiki
Revision as of 15:49, 10 May 2007 by Hliu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < The XML configuration file

There are two configuration (xml) files. One is used to run the splot server and the other is used to configure the IGT Demo module in Slicer, which receives tracking data from the splot server by network.

SPLOT configuration file

 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE OpenTracker SYSTEM "../data/splot.dtd">
 
 <OpenTracker>
 <configuration>
     <NDIConfig device="/dev/ttyUSB0"/>
 <ConsoleConfig interval="10" headerline="Aurora Test" display="on"/>
 </configuration>
 <ConsoleSink>
 <NetworkSink mode="unicast" name="station name" number="1" port="54321">
 <AuroraSource toolID="Traxtal Tech00035330003"/>
 </NetworkSink>
 </ConsoleSink>
 </OpenTracker>

Slicer configuration file

 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE OpenTracker SYSTEM "your-path/opentracker.dtd">
 
 <OpenTracker>
   <configuration>
   
   </configuration>
   
   <Callback name="cb1">
   <NetworkSource mode="unicast" number="1" address="localhost" port="54321"/>
   </Callback>
   
 </OpenTracker>