09-23-2019 07:51 AM
I am interfacing leap sensor with labview. In VI, I am getting the leap data perfectly fine. But when I make the exe, I am not getting the sensor value (leap) other than that all indicators and controls are working fine in .exe.
looking forward for help.
Regards
kashif
09-23-2019 08:02 AM
I'm afraid you may not get much help because your message is very scarce on information.
Let's start off simple. What is a "leap sensor"?
Second, show some code or something so we can see how you are interfacing with this sensor.
09-23-2019 09:28 AM
@RavensFan wrote:
Second, show some code or something so we can see how you are interfacing with this sensor.
Attach your VI. If you are using third-party software, tell us about it.
Bob Schor
09-23-2019 10:32 PM
please find the attach VI. the VI works fine, the problem I am facing is with .exe
09-24-2019 12:56 AM
Hi kashif,
the problem I am facing is with .exe
Which "problem" are you facing? Which error do you get?
Why does your block diagram not look like this:
Why are there terminals without a label?
How is the communication channel defined to your sensor?
Why is there no error handling in the loop?
Again: which error do you get?
09-24-2019 02:49 AM
I am getting the error
" Error 1172 occurred at Constructor Node Error creating instance of Controller in assembly Leap.Controller, LeapCSharp.NET3.5, Version=0.0.0.0, Culture=neutral, PublicKeyToken=6e1b1368e71eba9b, (System.TypeInitializationException: The type initializer for 'Leap.LeapPINVOKE' threw an exception.
Inner Exception: System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
Inner Exception: System.DllNotFoundException: Unable to load DLL 'LeapCSharp': The specified module could not be found. (Exception from HRESULT: 0x8007007E)) ".
you need to install the leap sensor library from the VIPM to find the missing items.
Looking forward for help.
Thanks and regards
kashif
09-24-2019 02:52 AM
09-24-2019 03:08 AM
hello GerdW,
So the EXE cannot access that .NET library in the right way.
How do I resolve this?
I only find this online
https://www.labviewmakerhub.com/forums/viewtopic.php?f=4&t=309
Thanks and regards
kashif
09-24-2019 03:30 AM - edited 09-24-2019 03:30 AM
09-24-2019 03:35 AM - edited 09-24-2019 03:36 AM
hello GerdW,
No, because my VI works fine and I am only getting the error in .exe.
thanks and regards
kashif