<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"\FF2D\FF33 \30B4\30B7\30C3\30AF";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"\@\FF2D\FF33 \30B4\30B7\30C3\30AF";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Arial","sans-serif";}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<v:textbox inset="5.85pt,.7pt,5.85pt,.7pt" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=JA link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'>I have the same problem here.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'>I would like to use Polaris Vicra </span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>by windows 7 64bit environmen and visual stdio 2008(x64)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'>This source succeeds in building by Visual Stdio 2008 x64.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>But, SerialCommunication of OpenCommunication did not work.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>It is error of the 658th line of String file by the debuger<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'>VTK and ITK was build by Visual Stdio 2008 x64, </span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>IGSTK version is 4.4.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>igstk</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>::<span style='color:#010001'>RealTimeClock</span>::<span style='color:#010001'>Initialize</span>();<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:blue'>typedef</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'> <span style='color:#010001'>igstk</span>::<span style='color:#010001'>TransformObserver</span>      <span style='color:#010001'>ObserverType</span>;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>igstk</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>Pointer</span> <span style='color:#010001'>serialComm</span>;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>= <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>New</span>();<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:blue'>typedef</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'> <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>PortNumberType</span> <span style='color:#010001'>PortNumberType</span>;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:blue'>unsigned</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'> <span style='color:blue'>int</span> <span style='color:#010001'>portNumberIntegerValue</span> =3;<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>PortNumberType</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'> <span style='color:#010001'>polarisPortNumber</span> = <span style='color:#010001'>PortNumberType</span>(<span style='color:#010001'>portNumberIntegerValue</span>);<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetPortNumber</span>(<span style='color:#010001'>polarisPortNumber</span>);<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetParity</span>( <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>NoParity</span> );<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetBaudRate</span>( <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>BaudRate9600</span> );<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetDataBits</span>( <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>DataBits8</span>);<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetStopBits</span>( <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>StopBits1</span> );<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetHardwareHandshake</span>( <span style='color:#010001'>igstk</span>::<span style='color:#010001'>SerialCommunication</span>::<span style='color:#010001'>HandshakeOff</span> );<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetCaptureFileName</span>( <span style='color:#A31515'>"RecordedStreamByPolarisTrackerTest.txt"</span> );<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>SetCapture</span>( <span style='color:blue'>true</span> );<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>serialComm</span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>-><span style='color:#010001'>OpenCommunication</span>();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Times New Roman","serif"'>This source work </span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'>by windows 7 64bit environmen and visual stdio 2008(win32).</span><span lang=EN-US style='font-family:"Times New Roman","serif"'> </span><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#010001'><o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>I don't understand whats wrong and whats need to change,<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>If someone else could help I’ll appreciate.<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>Best regards, <o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left;text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman","serif"'>I.Sato<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt'><o:p> </o:p></span></p></div></body></html>