MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

flightgear

hi

 

i want to use labview with flight gear.

 

simply send some IO values via udp to flight gear from lab view.

 

i have seen the following links

 

http://zone.ni.com/devzone/cda/tut/p/id/2942 

http://zone.ni.com/devzone/cda/epd/p/id/2582 

 

but the above links talking about matrixx and i have not use it before but i am familliar with labview.

any one will be appericiated to guide me.

 

 

regards

mazhar ali

0 Kudos
Message 1 of 6
(17,035 Views)

Hello Mazhar,

You ask an interesting question, if your main question is how to send values via udp in LabVIEW I would recommend looking at the UDP VI and Functions help in LabVIEW.

 

If you are interested in learning and using the MATRIXx environment, you can check out the evaluation version.  It is not a dataflow programming environment like LabVIEW, it is a control design and modeling software, which you may find useful if you work in the aerospace realm.  

 

Hope this helps,

Angela M

0 Kudos
Message 2 of 6
(17,030 Views)

thanx Angela M

 

i have used udp once before but now my main objective is to communicate labview with flight gear.

 

i have downloaded matrixx and an example above nentioned links. but un able to run that example and i have also noticed that i have to take some time to understand matrixx to avoid this i want to run flight ger with labview.

 

can you help in this labview to flight gear. will be appericiated.

0 Kudos
Message 3 of 6
(17,023 Views)

Hello,

It will be better to ask this question on the LabVIEW forums.  This will likely require someone to be familiar with whatever data flightgear sends and receives (hopefully the flightgear documentation is clear on this).  Past that, using the UDP VIs should be pretty simple, and you should be able to find help on the LabVIEW forum for that.

 

Regards,
Angela M

0 Kudos
Message 4 of 6
(17,009 Views)

I just noticed this post.  Did you ever get your answer for how to do this with LabVIEW?

 

UDP is the correct solution and I have VIs that I've attached.  TestLVtoFG.vi is where you should start.

 

The FDM may have changed from the version I worked with, but it should be fairly easy to update to a newer version of FlightGear.  I was using the same version specified in the MATRIXx documents.

 

Regards

0 Kudos
Message 5 of 6
(16,675 Views)

Hi LBoltzmann,

Thank you for the Labview files but can you explain a little bit more about how to use these vi's with Flightgear? I have a couple of questions.

 

1. I downloaded the folders "cvi_include" and "FlightGear" which have header and makeucb.bat, makeucb.mk, usrFlightGear.c and
CallFlightGear.cat etc. Do I have to copy these files in the  FlightGearVIs (TestLVToFG.vi) folder or in the flightgear aircraft model folder?

2. I use Labview 2010 and Labwindows/CVI 2009. Does it matter to use different version of CVI? (I changed Labwindows/CVI07 lines to  Labwindows/CVI2009 in makeucb.mk file, does it correct?)

3. Can we use these vi s with helicopter model?

4. When are we going to run the vi? after running flightgear or before?

5. I could download Flightgear version 1.9.1. Which setting do i have to change?

 

Can you explain step by step? i tried but i could not connect to flightgear.

 

Regards

0 Kudos
Message 6 of 6
(15,123 Views)