CLEyeGetCameraCount(); doesnt update
Posted: 30 December 2013 01:14 AM   [ Ignore ]
New Member
Rank
Total Posts:  5
Joined  2013-12-30

I have a very simple code running in a separate thread to detect the cameras connected to the PC, so this way I can prevent the software from running if there are less than 2 cameras connected. Th issue I am having is that CLEyeGetCameraCount() is just returning the number of cameras connected to my PC once I start the program, if I disconnect or connect a camera while the program is running, the number returned by CLEyeGetCameraCount() doesnt change.

To assure other pieces of code are not the cause I decided to run a very simple loop:

int numCameras  0;
while(
true)
{
    numCameras 
CLEyeGetCameraCount();      

and numCameras just gets updated with the current number of cameras connected to the PC when the program starts, no connection or disconnection is detected. I am running a Win32 C++ application in a Win7 x64 computer. Is this a known bug? Are there any workarounds? I am new to CLEye development so might this be a rookie mistake of mine?

Thanks!

Profile
 
 
Posted: 05 March 2014 01:38 AM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  5
Joined  2013-12-30

AlexP, any updates on this case?

Profile
 
 
 
 


RSS 2.0     Atom Feed