Jump to content
The simFlight Network Forums

Visual Basic help


Recommended Posts

Hi, I am writing a little app to let me operate and view gauges using FSUIPC in VB2008. The problem I have is that for example, if N1 >70%, the EGT will drop by about 50degrees. I have written the code and it works but the temperature drop on the gauges is too quick, it goes from one value, straight to the modified value. My question is therefore, is there a way to make the transition smooth so the gauge needle moves down slowly rather than instant?

Thanks in advance, Chris

Link to comment
Share on other sites

... is there a way to make the transition smooth so the gauge needle moves down slowly rather than instant?

Well, if FS is that coarse then all you can do is interpolate values between and move the needle more slowly to its destination. That will obviously make it lag somewhat, so I wouldn't think that would be a good idea for crucial flight instrumentation such as the AI.

Have you tried looking for better FS aircraft models which don't have such a coarse value change? Or is the jump purely due to some rather slow sampling your program is performing, like once per second instead of every 20-50 milliseconds?

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.