Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

DirectShow camera kernel error

Hello,

 

I am using an IDS uEye camera and accessing it through a direct show driver in vision acquisition software. I am receiving an windows kernel error when I try to open the camera for the first time from an application instance.

The same error occurs if I want to open the camera from MAX or running a LabVIEW code. The error does not pop up if I run the LabVIEW code as an built executable.

 

Error :

Error.png

Translated : Entry point of a procedure ?initia.... could not be found in the noted dll.

 

I successfully duplicated this error on two clean windows7 installs with latest vision acquisition software.

Funny thing is that on a computer that is very messy (many perquisite driver installations), this error does not occur.

I would like to know, what software does LabVIEW and MAX call/use when opening cameras.

 

Snippet of the code, that produces the error:

errorcode.png

 

All three IMAQdx functions do not return any labview runtime errors and otherwise everything works OK!

 

0 Kudos
Message 1 of 9
(4,395 Views)

Hi,

 

That DLL is Intel's TBB (Threading Building Blocks) library. The NI Vision DLLs use those for some purposes. My hunch would be that some other software loaded into the LabVIEW process (likely the IDS drivers) has loaded a (different) copy as well and it is conflicting. You could look in your Windows\System32 (or SysWow64) directories for the DLLs with TBB in the name and compare them on the working vs non-working system.

 

Eric

0 Kudos
Message 2 of 9
(4,387 Views)

Thanks for reply,

 

I allready tried to replace the "working machine" DLLs instead of those "not working so well machine" ones.

No success 😞

 

I will try to duplicate the Vision tbb.dll into system 32

0 Kudos
Message 3 of 9
(4,379 Views)

Hello Bublina,

 

please try to install http://sine.ni.com/devzone/cda/epd/p/id/5030  software and also run procedure mentioned on http://digital.ni.com/public.nsf/websearch/3EB8C8AFC1593B4A8625712E0002869B?OpenDocument . If this does not help, do not hesitate to write a post.

 

Martin 

0 Kudos
Message 4 of 9
(4,365 Views)

Hi,

 

It is not an USB camera, the vision acquisition software supports direct show cameras directly without that software.

I am afraid this is no help for me.

0 Kudos
Message 5 of 9
(4,363 Views)

Hi Bublina,

may a ask you are using DS API instead of direct LabVIEW interface that is available on vendor's web?

 

Ondřej

CLA, CTA, CLED
0 Kudos
Message 6 of 9
(4,349 Views)

You mean to ask me, to use their API instead of directshow ? If so, I will not.

 

There are several reasons:

 

1) Getting the snapshot is slower.

2) It costs whopping 33% of CPU time to grab 3 FPS from one camera (5MPix) due to the fact the DLL returns the data as flat array and I need to convert it into vision.

3) The DS Api is using a deprecated vision function - array2vision.

4) I cannot obtain a coloured picture (so far, might be caused by problem 3, I didnt look into it that much).

0 Kudos
Message 7 of 9
(4,346 Views)

Hello Bublina,

try to use different directshow device from another vendor. If error will still appear, problem is in directshow driver.

Martin 

0 Kudos
Message 8 of 9
(4,331 Views)

@AECmartin wrote:

Hello Bublina,

try to use different directshow device from another vendor. If error will still appear, problem is in directshow driver.

Martin 


Hi,

 

do you really think it is a driver problem, since this error does not occur in built executable and does not occur on different pc with different NI software (and other software, but same directshow driver) ?

Unfortunately, I do not have any other direct show devices to try it out.

0 Kudos
Message 9 of 9
(4,318 Views)