LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Kinect OpenNI problem with XnDDK.dll

Solved!
Go to solution

Hello everyone,

I'm going to use Microsoft Kinect in my LabVIEW robotics project. I saw a demo and description on http://forums.ni.com/t5/LabVIEW/How-to-Connect-the-Kinect-to-Labview/td-p/1450358 . I followed the instructions, and when I run a sample program: NiSimpleViewer.exe I got the following error:


error.png

 

I've got Windows 7 32-bit. I can post english version of that error. Do you have any idea how to solve my problem ?

 

Best regards,

MicMac89

0 Kudos
Message 1 of 9
(6,751 Views)

Hi,

 

This is a weird error from Open NI. I have problem tracking it on their website. Aniway, could you please tell me which version of OpenNI and NITE you installed? Is Windows SDK still installed on the conputer? Could you also post a screenshot of the device manager where the camera is listed?

 

Thanks 

______________
Florian Abry
Inside Sales Engineer, NI Germany
0 Kudos
Message 2 of 9
(6,733 Views)

First of all I'd like to thank you for the reply.
1. I installed OpenNi version 1.4.0.2 (both 64 and 32 bit depending on OS, but I also installed 32 version of OpenNI on 64 bit OS) because when I installed earlier, stable version I couldn't install PrimeSense Sensor.

2. I installed NITE 1.4.2.4 (both 64 and 32 bit).

3. Yes, the SDK is uninstalled

4. Everything was installed corectly, my Device Manager was similar to picture posted on your page. I will attach screenshot in few minutes.

 

As I suppose everythnig should be alright if I use earlier version of OpenNI. Is there any chance to find them ?

 

Best regards,

MicMac89

0 Kudos
Message 3 of 9
(6,719 Views)

Hi,

 

I also had problems with the version 1.4. I uninstalled everything and installed the 1.3.3.6 package and managed to make it work. Maybe try to uninstall all you have from OpenNI and Primesense (but the drivers) an reinstall the 3.3.6 package.

 

openni.png 

 

In the download page of the OpenNI website, chose "OpenNI Package", "Stable", "PrimeSense Package for Win x86 Dev Edition". Normally almost everything is inside (OpenNI, NITE and Sensor). You will just have to install the Sensor Interface for kinect from the Bin Folder of this zip file:

 

https://github.com/avin2/SensorKinect

 

Always chose the x86 installer, it seem not to work with the x64 version of any of them.

 

it solved the problem I had on making it work on a new computer a month ago. Please tell me if it solved your problem as well.

 

Cheers 

______________
Florian Abry
Inside Sales Engineer, NI Germany
0 Kudos
Message 4 of 9
(6,715 Views)

I did what you wrote, but I get another error:

 

error2.png

It says: Cannot load library DLL 'OpenNI'. It cannot found some module. (Exception from HRESULT: 0x8007007E)

 

0 Kudos
Message 5 of 9
(6,705 Views)

I looked a little on google and it seem like being a generic Windows error code. Maybe look a bit on google. Ill investigate further on my side tommorrow (but it look like a currupted something in your windows. Do you have a blank system to try ?)

______________
Florian Abry
Inside Sales Engineer, NI Germany
0 Kudos
Message 6 of 9
(6,692 Views)

I see, I installed before Windows SDK. But package which you mentioned contains 1.4.0 OpenNI installer. I found installer with 1.3.3.6 but an installer from Bin from zip you suggested needs 1.4 or later OpenNI. Thanks for advices.

0 Kudos
Message 7 of 9
(6,689 Views)
Solution
Accepted by MicMac89

Naity, thank you a lot for help. My problem is solved. Restart is one of the best solvers in the world ;]

0 Kudos
Message 8 of 9
(6,686 Views)

Im glad your problem is solved. Don't hesitate to ask if you have further question regqrding the library 🙂

______________
Florian Abry
Inside Sales Engineer, NI Germany
0 Kudos
Message 9 of 9
(6,668 Views)