<p style="margin-bottom: 0cm;"><font color="#000000">Hello,
</font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">I
have a slight problem with using OpenIGTLink in IGSTK. <font color="#000000"><span style="">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: </span></font></font>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">1)
Does OpenIGTLink send all data (from 2 or 3 tools) to one socket? I
have written a simple xml configuration:</font></p><div class="im">
<p style="margin-bottom: 0cm;"><font color="#000000"><tracking_system
type = "polaris vicra"></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<refresh_rate> 20 </refresh_rate></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<serial_communication> </font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<com_port>3</com_port></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<baud_rate>115200</baud_rate> </font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<data_bits>8</data_bits></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<parity>N</parity> </font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<stop_bits>1</stop_bits> </font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<hand_shake>0</hand_shake> </font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
</serial_communication></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<tool></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<name> reference frame </name> </font>
</p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">
<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700340.rom</srom_file></font></p><div class="im">
<p style="margin-bottom: 0cm;"><font color="#000000">
<send_to><a href="http://127.0.0.1:18944/" target="_blank">127.0.0.1:18944</a></send_to></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
</tool></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<tool></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<name> reference frame2 </name> </font>
</p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">
<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700339.rom</srom_file></font></p><div class="im">
<p style="margin-bottom: 0cm;"><font color="#000000">
<send_to><a href="http://127.0.0.1:18944/" target="_blank">127.0.0.1:18944</a></send_to></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
</tool></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
</font>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000"></tracking_system></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">Or
does OpenIGTLink send data to 2 or 3 sockets?</font></p><div class="im">
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000"><tool></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<name> reference frame </name> </font>
</p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">
<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700340.rom</srom_file></font></p><div class="im">
<p style="margin-bottom: 0cm;"><font color="#000000">
<send_to><a href="http://127.0.0.1:18944/" target="_blank">127.0.0.1:18944</a></send_to></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
</tool></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<tool></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
<name> reference frame2 </name> </font>
</p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">
<srom_file>c:igstk-777-r-staticDataTrackerConfiguration8700339.rom</srom_file></font></p><div class="im">
<p style="margin-bottom: 0cm;"><font color="#000000">
<send_to><a href="http://127.0.0.1:18945/" target="_blank">127.0.0.1:18945</a></send_to></font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">
</tool></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">2)
May I define 2 or 3 tools in one xml or create 2 or 3 xml for every
tool. It looks like this:</font></p><div class="im">
<p style="margin-bottom: 0cm;"><font color="#000000">
- OpenIGTLinkTrackerBroadcasting.exe vicraConfiguration1_2.xml</font></p><p style="margin-bottom: 0cm;"><font color="#000000">- OpenIGTLinkTrackerBroadcasting.exe
vicraConfiguration1.xml vicraConfiguration2.xml ??</font></p>
</div><p style="margin-bottom: 0cm;"><font color="#000000">3)Which
xml is correct? Could you give me any correct example of xml?</font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">4)
Where can I find an exemplary program (f.e. in C#) to receive data if
OpenIGTLink uses 2 or 3 sockets?</font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">Thanks
in advance for any help</font></p><div class="im">
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#000000">Marcin
S.</font></p>
<p style="margin-bottom: 0cm;"><font color="#000000">Silesian
University of Technology</font></p>
</div><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>