Jump to content
The simFlight Network Forums

How to speed up lua script ?


Recommended Posts

Hello,

no idea how long it takes for a PMDG SDK for use with OC MCP and EFIS.

So i "fly" with lua script inside the modules folder.

Is it possible to speed up the connection/ response?

Example: to adjust the ALT from 5000 to 15000 i have to rotate the rotary

many times and carefully to increase the ALT.

Thank you for help, Joachim

Link to comment
Share on other sites

Is it possible to speed up the connection/ response?

Sorry, I've no idea because I don't know how you've programmed it. If you are loading, compiling, running and discarding a Lua program for every click of a rotary, it will obviously be rather slower than if you were to do it with a permanently loaded plug-in.

Maybe more information might help me help you? For instance, relevant things like the Lua program, and how you are invoking it? Oh, and the FSUIPC version number of course.

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.