[IGSTK-Developers] Setting the Polaris Spectra illuminator rate?

Janne Beate Lervik Bakeng Janne.Beate.Bakeng at sintef.no
Tue Oct 28 08:37:56 EDT 2008


Hello again.

Thank you for you quick response. I'll do what you suggested. :)

Thanks,
Janne Beate


On 28.10.08 13.26, "Patrick Cheng" <cheng at isis.georgetown.edu> wrote:

> Hi Janne Beate,
> 
> IGSTK implements the NDI combined API. The IRATE command is specific to
> Polaris, and it's not supported right now.
> 
> If you really want to play with this feature, you can add a methods in
> igstkNDICommandInterpreter.cxx
> void IRATE(int rate){
>    this->Command("IRATE:%04X", rate); }
> 
> And then in igstkPolarisTracker.cxx
> 
> ResultType SetIRate(int i) // should use an enum of 0, 1, and 2}
> {
>    commandInterpreter->IRATE(2); //60Hz
>    if (this->CheckError(commandInterpreter) == FAILURE)
>      {
>      return FAILURE;
>      }
> }
> 
> These code are not tested.
> 
> Patrick
> 
> 
> Janne Beate Lervik Bakeng wrote:
>> Hello.
>> 
>> I¹ve been looking for some way to specify which illuminator rate (IRATE,
>> page 77 from the Polaris Application Program Interface Guide) our
>> Polaris Spectra tracker should use.
>> 
>> We want to set it to 60 Hz, is it possible with todays igstk version? If
>> so how?
>> 
>> Best regards,
>> Janne Beate Lervik Bakeng, SINTEF Health Research
>> 
>> 
>> ------------------------------------------------------------------------
>> 
>> _______________________________________________
>> IGSTK-Developers mailing list
>> IGSTK-Developers at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers




More information about the IGSTK-Developers mailing list