11-05-2012 07:55 AM
Hello All.
I have a 3rd party OpenGL model that requires some inputs to change its position. How can i integrate it with my labwindows program.
Thanks & Regards.
Moshi.
11-06-2012 12:58 AM
Maybe some of these discussions can help you.
11-06-2012 08:35 AM
Hey Moshi,
We're going to need a bit more information to help with your problem. For example, what kind of inputs does your OpenGL model require? And what form is that model in? Is it a DLL, or an executable, or something else? There are a lot of possibilities here and it will definitely change what we tell you to try.
If you can give us some more information it will definitely help us point you toward some resources to help you out. Just let us know!
11-06-2012 10:37 AM
Actually it is a model of EFIS dll file. and latitude, longitude etc parameter are passed.... i want to display that model in my project
11-07-2012 08:06 AM
Moshi,
It sounds like you just need to call the proper functions in the DLL to get the behavior you want. You should have some documentation with the DLL which tells you what functions to use and what parameters they require, so with that information it's fairly simple to call the DLL from CVI. Here are a few resources from our website about the process:
http://www.ni.com/white-paper/3341/en
http://zone.ni.com/devzone/cda/epd/p/id/6151
Basically, you just need to import the DLL with its header file, and then you'll be able to call the functions from your main code with regular C function calls.
I hope this helps, let us know if you need any more help!