<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Corpo del messaggio" tabindex="0">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
<span style="background-color: white;">Goodmorning everyone,</span><span style="background-color: rgb(255, 255, 255);"></span>
<div style="background-color: white;"><br>
</div>
<div style="background-color: white;">I'm working with a Vicra Polaris device in order to keep track of some wireless tools, thus I've implemented a C++ program<span style="font-size: 12pt;"> to communicate with the Polaris system and I've added IGSTK libraries.
<br>
<br>
</span></div>
<div style="background-color: white;"><span style="font-size: 12pt;">My laptop is an HP with Windows 7 Home Edition ( 64 bit ) installed. In particular:</span></div>
<div style="background-color: white;">
<ul style="margin-top: 0px; margin-bottom: 0px;">
<li><font face="Calibri">I installed CMake 2.8.11.2 - win32- x86 in order to build all the libraries;</font></li><li><font face="Calibri">I firstly built ITK ( Insight Toolkit 3.20.1 ), then VTK ( version 5.10.1 ) and finally IGSTK ( version 5.0 );</font></li><li><font face="Calibri">I built my c++ program in CMake in order to add IGSTK.</font></li></ul>
<div><font face="Calibri">The C++ program works: I build it in Visual Studio 10 and no errors and detected.</font></div>
</div>
<div style="background-color: white;"><font face="Calibri">However, when i open the cmd.exe and launch it, the program is not able to open the COM port which the USB of the Polaris is plugged in, thus the Polaris doesn't start acquiring the desired wireless
tolls.</font><font face="Calibri"><br>
<br>
</font></div>
<div style="background-color: white;"><font face="Calibri">I installed the Polaris drivers properly, in fact, if I open and use the NDI tracker program, the Vicra Polaris starts and acquires all the wireless tools I want. The polaris is connected to COM1.</font><font face="Calibri"><br>
I give the right port number to the C++ program (0), it sets the port number but does not open it.</font><font face="Calibri"><br>
In the LoggerOutput file there's a warning like this:</font></div>
<div style="background-color: white;">
<ul style="margin-top: 0px; margin-bottom: 0px;">
<li><font face="Calibri">(DEBUG) InternalOpenPort on</font></li><li><font face="Calibri">(WARNING) InternalOpenPort: CreateFile() failed.</font></li></ul>
</div>
<div style="background-color: white;"><font face="Calibri">I deduced that the InternalOpenPort function does not see the COM port. I tried everything in order to make it work but was pointless.</font><font face="Calibri"><br>
Can you help me figure out where the problem could be and possible solution to it?!</font><font face="Calibri"><br>
</font><font face="Calibri"><br>
</font></div>
<div style="background-color: white;"><font face="Calibri">Thankyou very much in advance,</font></div>
<div style="background-color: white;"><font face="Calibri">Regards</font></div>
<div style="background-color: white;"><font face="Calibri">SP</font></div>
</div>
</body>
</html>