Jump to content

Tutorial: Using Export.lua to export data to Export.log


DerekM

Recommended Posts

Hi all, find attached a tutorial on using Export.lua to write to Export.log. As mentioned in my post here, I'm trying to document lots of stuff as I'm getting up to speed with this cockpit building lark. But the draft document in that post was messy and would probably do more harm than good, so I decided to tidy it up and re-post here. Hope it's a help for anyone getting started with the absolute basics.

 

- DerekM

Export_lua Write to Export_log.pdf

My beginner guides: [1] Export.lua [2] Dual-monitor+Helios+Cap Loz

Link to comment
Share on other sites

Thanks Derek

 

I must say you did an impressive job explaining things so even Mr. Stupid (ME) can get a handle on what it all does. I dare say I couldn't write code like that from scratch but at least now I have a better understanding of some of the basic terminology and protocols and a general idea of how things work on a conceptual level with a lua file. And that's pretty much what a novice needs. What are the colors for...so you don't touch stuff your not suppose to. What are those letters for... a place holder for variables, etc.

 

And as I had suggested earlier to someone somewhere on this forum that if there was an export file that exported everything conceivable from, lets say, the A10, I could with confidence be able to delete all of those exports I didn't need and then end up with a fully functional export file that would get the data I want.

 

In the end I think that's all most users are looking for. They don't have the time or inclination to learn everything there is to know from getting data out of DCS to displaying it in their own little cockpit.

 

Thanks again Derek. Excellent work.:)

Regards

John W

aka WarHog.

 

My Cockpit Build Pictures...



John Wall

 

My Arduino Sketches ... https://drive.google.com/drive/folders/1-Dc0Wd9C5l3uY-cPj1iQD3iAEHY6EuHg?usp=sharing

 

 

WIN 10 Pro, i8-8700k @ 5.0ghz, ASUS Maximus x Code, 16GB Corsair Dominator Platinum Ram,



AIO Water Cooler, M.2 512GB NVMe,

500gb SSD, EVGA GTX 1080 ti (11gb), Sony 65” 4K Display

VPC MongoosT-50, TM Warthog Throttle, TRK IR 5.0, Slaw Viper Pedals

Link to comment
Share on other sites

Thanks Derek

 

I must say you did an impressive job explaining things so even Mr. Stupid (ME) can get a handle on what it all does. I dare say I couldn't write code like that from scratch but at least now I have a better understanding of some of the basic terminology and protocols and a general idea of how things work on a conceptual level with a lua file. And that's pretty much what a novice needs. What are the colors for...so you don't touch stuff your not suppose to. What are those letters for... a place holder for variables, etc.

 

And as I had suggested earlier to someone somewhere on this forum that if there was an export file that exported everything conceivable from, lets say, the A10, I could with confidence be able to delete all of those exports I didn't need and then end up with a fully functional export file that would get the data I want.

 

In the end I think that's all most users are looking for. They don't have the time or inclination to learn everything there is to know from getting data out of DCS to displaying it in their own little cockpit.

 

Thanks again Derek. Excellent work.:)

 

The export.lua installed with HELIOS does pretty much everything hog. Really good place to start. The important thing is understanding whats being exported and how to use it.

Link to comment
Share on other sites

The export.lua installed with HELIOS does pretty much everything hog. Really good place to start. The important thing is understanding whats being exported and how to use it.

 

 

Thanks DC. I didn't realize that. I will spend some time looking at that file in detail.

 

I guess it safe to say that there really isn't any need to change that file. So what if it exports the CMSP info and you don't have a CMSP. It has no impact on anything so there is no need to delete that from the file, is there?

Regards

John W

aka WarHog.

 

My Cockpit Build Pictures...



John Wall

 

My Arduino Sketches ... https://drive.google.com/drive/folders/1-Dc0Wd9C5l3uY-cPj1iQD3iAEHY6EuHg?usp=sharing

 

 

WIN 10 Pro, i8-8700k @ 5.0ghz, ASUS Maximus x Code, 16GB Corsair Dominator Platinum Ram,



AIO Water Cooler, M.2 512GB NVMe,

500gb SSD, EVGA GTX 1080 ti (11gb), Sony 65” 4K Display

VPC MongoosT-50, TM Warthog Throttle, TRK IR 5.0, Slaw Viper Pedals

Link to comment
Share on other sites

I thought that issue was solved in this post...

 

http://forums.eagle.ru/showthread.php?t=120945

 

I ran his program and it did export the CMSP and a few other displays. I couldn't get the radio frequencies to export.

Regards

John W

aka WarHog.

 

My Cockpit Build Pictures...



John Wall

 

My Arduino Sketches ... https://drive.google.com/drive/folders/1-Dc0Wd9C5l3uY-cPj1iQD3iAEHY6EuHg?usp=sharing

 

 

WIN 10 Pro, i8-8700k @ 5.0ghz, ASUS Maximus x Code, 16GB Corsair Dominator Platinum Ram,



AIO Water Cooler, M.2 512GB NVMe,

500gb SSD, EVGA GTX 1080 ti (11gb), Sony 65” 4K Display

VPC MongoosT-50, TM Warthog Throttle, TRK IR 5.0, Slaw Viper Pedals

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...