AndyHill Posted January 25, 2005 Posted January 25, 2005 Would it be possible to publish the 1.1 lua.export file? I and a friend of mine have been working on a direct interface on a phidgetTextCLD (Phidgets are relatively inexpensive devices that can be used as text displays, lights, gauges etc. in flight simulators, check out http://www.phidgets.com ), we just finished the 1.0 version and we're starting work on an interfacekit dll. We don't use sockets or files, we have a dll (c++) file that can be accessed directly from the export.lua. I believe this is the least CPU intensive way of creating a workable interface to external devices. However, the usefulness of our program depends on the structure of the export.lua file and I'm worried about extensive changes that could spoil our efforts. My blog full of incoherent ramblings on random subjects: https://anttiilomaki.wordpress.com/
CTR Posted January 25, 2005 Posted January 25, 2005 We don't use sockets or files, we have a dll (c++) file that can be accessed directly from the export.lua. @AndyHill Can you explain how your dll can access the export.lua !? The possiblity to do i like that would be great. I've written a little program that imports data via sockets. But when Lo-Mac is sending data the graphic engine falter (~0.5sec). A dll could solve that problem. @Developer Team Is it possible to get the azimuth and the .. (i don't remember the word) angle from the player aircraft in v1.1? [sigpic][/sigpic] Flanker driver since 1996 DxDiag.txt
AndyHill Posted January 25, 2005 Author Posted January 25, 2005 @AndyHill Can you explain how your dll can access the export.lua !? The possiblity to do i like that would be great. I've written a little program that imports data via sockets. But when Lo-Mac is sending data the graphic engine falter (~0.5sec). A dll could solve that problem. I'm not the code guru and I don't have hte sources handy so this isn't probably very helpful. However, I can tell you that our dll doesn't access export.lua, it's the other way around. Export.lua calls our dll that relays the information to the textLCD. We used advice from this tutorial: http://lua-users.org/wiki/CreatingBinaryExtensionModules My blog full of incoherent ramblings on random subjects: https://anttiilomaki.wordpress.com/
CTR Posted January 25, 2005 Posted January 25, 2005 AndyHill, thank you for the information and keep us informed about your progress :D ! [sigpic][/sigpic] Flanker driver since 1996 DxDiag.txt
AndyHill Posted January 26, 2005 Author Posted January 26, 2005 The simple questio is of course if the 1.1 export.lua file published on the lockon.ru front page is still valid and the release version will be the same. My blog full of incoherent ramblings on random subjects: https://anttiilomaki.wordpress.com/
ED Team Valery Blazhnov Posted January 26, 2005 ED Team Posted January 26, 2005 Re: Lua export and phidgets, question about 1.1 Would it be possible to publish the 1.1 lua.export file? http://www.lockon.ru/index.php?end_pos=15&scr=default&lang=en The Export.lua file will be the same in principle so you can load and use your library from it. Valery Blazhnov Eagle Dynamics Veteran
AndyHill Posted January 26, 2005 Author Posted January 26, 2005 Re: Lua export and phidgets, question about 1.1 That's good news. We don't have to worry about big changes and we can concentrate on working with the next devices. My blog full of incoherent ramblings on random subjects: https://anttiilomaki.wordpress.com/
Recommended Posts