Page 1 of 1

INPCameraCollection::Enum

Posted: Thu Jul 09, 2009 9:20 am
by TDV
Hello! I got a problem calling INPCameraCollection::Enum. If I start operating system with already attached cameras and launch my application the program hangs up calling INPCameraCollection::Enum:

CComPtr CameraCollection;
CameraCollection.CoCreateInstance(CLSID_NPCameraCollection);
this->DispEventAdvise(CameraCollection);
[color:#FF0000]CameraCollection->Enum();[/color]

I have such problem with OptiTrack�s samples too. I tried to switch on/switch off devices before calling INPCameraCollection::Enum, but it didn�t helps. After detaching all cameras it works well. May be somebody knows how to solve this problem?

Re: INPCameraCollection::Enum

Posted: Thu Jul 09, 2009 9:50 am
by VincentG
What version of the SDK are you using?

What version of Windows?

What type of PC?

System specs.?

Connected directly to the PC, or using a hub?

Re: INPCameraCollection::Enum

Posted: Fri Jul 10, 2009 12:42 pm
by TDV
[quote=NaturalPoint - Vincent]What version of the SDK are you using?[/quote]

1.03.035

[quote=NaturalPoint - Vincent]What version of Windows?[/quote]

XP SP3

[quote=NaturalPoint - Vincent]What type of PC?[/quote]

laptop Acer Aspire 5630. This problem is actual for all computers that I�m using for testing. It is about five different types.

[quote=NaturalPoint - Vincent]System specs.?[/quote]

Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz

Please, write concrete characteristics, if you need some information more.

[quote=NaturalPoint - Vincent]Connected directly to the PC, or using a hub?[/quote]

directly to the PC

Re: INPCameraCollection::Enum

Posted: Fri Jul 10, 2009 5:58 pm
by Birch
Is your application being launched automatically at system startup, or manually?

If you'd like, we can send your software to support@naturalpoint.com and we can test it here.

Re: INPCameraCollection::Enum

Posted: Fri Jul 10, 2009 11:38 pm
by TDV
[quote=NaturalPoint - Birch Zimmer]Is your application being launched automatically at system startup, or manually?[/quote]

manually

[quote=NaturalPoint - Birch Zimmer]If you'd like, we can send your software to support@naturalpoint.com and we can test it here. [/quote]

As I wrote earlier, such problem I have with OptiTrack�s samples too. I sent my software to support@naturalpoint.com at the beginning of April with "Blank Frames" problem, but didn't receive an answer until now.

Would you like to do such experiment on your computer? You need at least two cameras FLEX V100 (with one camera it works well), PC, OptiTrack sample OptiTrack_sample_VC8b_v31 from web site and 10-15 minute of time.

Thanks

Re: INPCameraCollection::Enum

Posted: Tue Jul 21, 2009 10:03 pm
by TDV
Hello! Can you say anything about this and my previous ("Blank Frames") problems? May be you can say approximate date of testing or something like this?

Thanks

Re: INPCameraCollection::Enum

Posted: Mon Aug 17, 2009 9:01 pm
by hogdog
I had the same problem, if I start operating system with a camera attached and launch my application the program hangs up calling oCameraCollection.Enum() in VB !!!!! If I disconnect the camera and reconnect it works fine.

Installing the Public Beta - Version 1.3.037 beta 1 of the SDK sorted my issue.