iorodeo / bias

Apache License 2.0
8 stars 4 forks source link

unable to initialize spinnaker? #2

Open nsteinme opened 3 years ago

nsteinme commented 3 years ago

Hi, this software was recommended to me by some colleagues at Janelia, hoping you can help figure out my error?

I get the error message below ("failed to connect" / 102 / "unable to initialize spinnaker" / -1006) when clicking "connect".

I'm using release 0.62 (the pre-built executable) on windows. If I run SpinView, the cameras (there are two) both come up fine and display live images as expected. When I run BIAS it does open two windows - corresponding I assume to the two cameras - so that seems promising. I tried running the "_debugwin" version but there's nothing displayed in the command prompt. I couldn't find anything about these error codes or error text on some google searching. Any suggestions/help much appreciated, thanks.

image

willdickson commented 3 years ago

Hi Nick, it looks like the error you are getting (-1006) is SPINNAKER_ERR_INVALIDHANDLE. This is happening when trying tp initialize the camera with spinCameraInit(hCamera); I'm not sure why the handle is invalid. What camera are you using?

nsteinme commented 3 years ago

Thanks for getting back to me - each camera is a PointGrey/FLIR Chameleon CM3-U3-13Y3M-CS. I guess they are fundamentally compatible with spinnaker given that they open fine in spinview.

On Tue, Nov 24, 2020 at 12:06 PM Will Dickson notifications@github.com wrote:

Hi Nick, it looks like the error you are getting (-1006) is SPINNAKER_ERR_INVALIDHANDLE. This is happening when trying tp initialize the camera with spinCameraInit(hCamera); I'm not sure why the handle is invalid. What camera are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iorodeo/bias/issues/2#issuecomment-733204825, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ5IP33PJYTO52EKRTWSQTSRQG4TANCNFSM4UAJGLXA .

willdickson commented 3 years ago

Yes, it definitely should be compatible. Spinview is closed when you try the camera with BIAS?

nsteinme commented 3 years ago

Yes, and I tried restarting the computer to try clearing any "holds" or un-closed processes, and immediately trying BIAS without running spinview first - same thing.

On Tue, Nov 24, 2020 at 1:48 PM Will Dickson notifications@github.com wrote:

Yes, it definitely should be compatible. Spinview is closed when you try the camera with BIAS?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iorodeo/bias/issues/2#issuecomment-733252399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ5IP6DKWUVUOGIXUAUVQDSRQS2XANCNFSM4UAJGLXA .

LiuDaveLiu commented 3 years ago

Hi, has this been resolved? I have the same error.

Thank you,

Dave

nsteinme commented 3 years ago

I didn't get it working - just gave up. :(

On Fri, Jan 29, 2021 at 3:45 PM LiuDaveLiu notifications@github.com wrote:

Hi, has this been resolved? I have the same error.

Thank you,

Dave

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iorodeo/bias/issues/2#issuecomment-770108248, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ5IPZDSXUXQOZDDQAVD6TS4NCDJANCNFSM4UAJGLXA .