Ok, i have an update... I have managed to get it into a text file. But when i open the file, only the headings appear, with no information, such as the heading or speed. It simply says "heading" but does not state what the heading actually is. Furthermore, I do bit know how often it updates the information as every time i reclick the .Lua file it just makes a New line in the document. I have also looked at the "display values" lua file. But i do not understand how it outputs the data. As from what i can make out it says "display in fs window" but i have searched flight Simulator from top to bottom with no mentiton of the "display values" window.
Thanks for your help so far,
Smithy flyer