INPCameraCollection::Enum

Post Reply
TDV
Posts: 11
Joined: Sat Feb 07, 2009 11:47 am

INPCameraCollection::Enum

Post 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?
VincentG
Posts: 7728
Joined: Mon Jul 17, 2006 5:00 am
Location: Corvallis, Oregon

Re: INPCameraCollection::Enum

Post 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?
TDV
Posts: 11
Joined: Sat Feb 07, 2009 11:47 am

Re: INPCameraCollection::Enum

Post 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
Birch
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

Re: INPCameraCollection::Enum

Post 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.
TDV
Posts: 11
Joined: Sat Feb 07, 2009 11:47 am

Re: INPCameraCollection::Enum

Post 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
TDV
Posts: 11
Joined: Sat Feb 07, 2009 11:47 am

Re: INPCameraCollection::Enum

Post 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
hogdog
Posts: 5
Joined: Fri Sep 12, 2008 7:30 pm

Re: INPCameraCollection::Enum

Post 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.
Post Reply