Problems with Motive API

Post Reply
mSHiOm
Posts: 1
Joined: Tue Oct 11, 2016 12:49 am

Problems with Motive API

Post by mSHiOm »

Hi everyone,

I am writing a program to get camera positions with Motive API.
With my program, TT_CameraCount() will not work after .ttp file and .cal file are successfully loaded.
(it returns "0" while 4 cameras are connected.)

Where should I check in my program?

Thanks for your answers.
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 720
Joined: Mon Jan 19, 2015 11:52 am

Re: Problems with Motive API

Post by steven.andrews »

Hello mSHiOm,

Thank you for reaching out to the community regarding your issue.

If the cameras are connected and powered on, TT_CameraCount() should return the correct number regardless of loading a .ttp or .cal file. Does the function return the correct number if it is run before loading any files?

You might look into any firewall and antivirus software that might prevent the cameras from being detected. These typically need to be disabled in order to allow proper communication between the cameras and the software.

If you continue to struggle with this, please feel free to contact us at help.naturalpoint.com
We will need additional information regarding your setup, such as what cameras you are using and how everything is connected together. We will also need to know what versions of the software you are using.

Best regards,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer
ALVIN HAO
Posts: 2
Joined: Wed Nov 30, 2016 10:30 am

Re: Problems with Motive API

Post by ALVIN HAO »

hello,
when i wanna load my .ttp file in API. This message is appeared
[Unhandled exception at 0x7615A832 in M_1.exe: Microsoft C++ exception: char at memory location 0x00F3F01C.]
May i know how can i solve this?

Thanks for answering my trouble
Hao
Post Reply