[IGSTK-Users] Using more tool's in OpenIGTLinkTrackerBroadcasting (IGTSK example), and a few question

Marcin Stronczek stronczek at gmail.com
Sat May 15 16:06:56 EDT 2010


Hello,

I have a slight problem with using OpenIGTLink in IGSTK. I use
OpenIGTLinkTrackerBroadcasting, which I have found in IGSTK. I use Polaris
Vicra. I have written an application in C# that receives data from OpenIGT.
The application works well with one tool. But I want to get data from 2 or 3
tools, so I have a few questions:


 1) Does OpenIGTLink send all data (from 2 or 3 tools) to one socket? I have
written a simple xml configuration:

<tracking_system type = "polaris vicra">


 <refresh_rate> 20 </refresh_rate>


 <serial_communication>

<com_port>3</com_port>

<baud_rate>115200</baud_rate>

<data_bits>8</data_bits>

<parity>N</parity>

<stop_bits>1</stop_bits>

<hand_shake>0</hand_shake>

</serial_communication>


 <tool>

<name> reference frame </name>

<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700340.rom</srom_file>

<send_to>127.0.0.1:18944</send_to>

</tool>


 <tool>

<name> reference frame2 </name>

<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700339.rom</srom_file>

<send_to>127.0.0.1:18944</send_to>

</tool>

 </tracking_system>


 Or does OpenIGTLink send data to 2 or 3 sockets?


 <tool>

<name> reference frame </name>

<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700340.rom</srom_file>

<send_to>127.0.0.1:18944</send_to>

</tool>


 <tool>

<name> reference frame2 </name>

<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700339.rom</srom_file>

<send_to>127.0.0.1:18945</send_to>

</tool>


 2) May I define 2 or 3 tools in one xml or create 2 or 3 xml for every
tool. It looks like this:

- OpenIGTLinkTrackerBroadcasting.exe vicraConfiguration1_2.xml

- OpenIGTLinkTrackerBroadcasting.exe vicraConfiguration1.xml
vicraConfiguration2.xml ??

3)Which xml is correct? Could you give me any correct example of xml?


 4) Where can I find an exemplary program (f.e. in C#) to receive data if
OpenIGTLink uses 2 or 3 sockets?



 Thanks in advance for any help


 Marcin S.

Silesian University of Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20100515/ff35b482/attachment-0001.html>


More information about the IGSTK-Users mailing list