LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating 3rd party OpenGL model [ Urgent please ]

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.

 

0 Kudos
Message 1 of 5
(3,438 Views)

Maybe some of these discussions can help you.

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 2 of 5
(3,424 Views)

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!

0 Kudos
Message 3 of 5
(3,413 Views)

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 

0 Kudos
Message 4 of 5
(3,405 Views)

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!

0 Kudos
Message 5 of 5
(3,387 Views)