[IGSTK-Users] Problem on IGSTK polaris system
Patrick Cheng
cheng at isis.georgetown.edu
Fri May 15 15:04:54 EDT 2009
Hi Aize Cao,
I modified your code a little. Can you run your test again and send us
the file recorded by the serial communication class?
It should have the name:
RecordedStreamByPolarisTrackerTest.txt
Thank you,
Patrick
Cao, Aize wrote:
> Hello Patrick,
>
> I still have problem for the polaris spectra system communication. The
> port number I used is port 4 (COM4) on Windows. Then I set
> serialComm->SetPortNumber(igstk::SerialCommunication::PortNumber3). But
> still no communication. I put
> if ( !m_Communication->OpenCommunication())
> {
> std::cout << "Serial port open failure\n";
> return 0;
> }
>
> It tells me the open failed. My firmware version is V12, I called NDI, the
> specialist said it is the most recent version. Does IGSTK support this
> version of firmware? All the NDI software communicate well with the
> polaris system, the problem seems come from IGSTK, Any idea? Hope your
> help. I attach the source code here. Really appreciated.
>
> Aize
>
>> Hi Aize Cao,
>>
>> It seems like the serial communication failed to open the port.
>>
>> Make sure you set correct serial port number using this command:
>> serialComm->SetPortNumber(igstk::SerialCommunication::PortNumber3);
>>
>> Since you are using a windows machine, by default,
>> igstk::SerialCommunication::PortNumber0 equals to COM1
>> and
>> igstk::SerialCommunication::PortNumber3 equals to COM4
>>
>> If you have installed the serial-to-usb driver successfully, you should
>> be able to see which COM port your Polaris Spectra is being connected to
>> in your "Device Manager"
>>
>> Let me know if this solves your problem,
>>
>> Thank you,
>>
>> Patrick
>>
>> Cao, Aize wrote:
>>> Hi Patrick,
>>>
>>> I have worked a long time on IGSTK polaris system, still have problem in
>>> running polaris testing code. My system is POLARIS SPECTRA, I modified
>>> the
>>> igstkPolarisTrackerTest.cxx, make it more simple to test the system, but
>>> I
>>> did not get any transform, it seems that the code did not communicate
>>> with
>>> polaris system, may you please give me a help? The code is attached,
>>> also
>>> log file. Please let me know then, many thanks.
>>>
>>> Aize
>>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: igstkPolarisTrackerTest3.cxx
Type: text/x-c++src
Size: 5079 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20090515/25210896/attachment-0002.cxx>
More information about the IGSTK-Users
mailing list