Jump to content
The simFlight Network Forums

Recommended Posts

Is there an offset for the fuel quantaties in the Center, Left and Right tanks. I know the offsets for the capacities and levels but can't seem to locate anything about quantaties?

No. If you want actual quantities you simply calculate quantities from capacities and levels. The levels are easier for gauges, representing the distance over for the needles.

Regards,

Pete

Link to post
Share on other sites

Thanks Pete,

Actually thats what I thought, and I set the code up to work that way, but I seem to have run into a snag. When I irst read FSUIPC, the calculations are all correct and the proper result is displayed. However fresh reads of FSUIPC continue to produce the same result even as fuel is burned. Also I found that if I adjust the fuel qty from inside FS the result will always be 0 from that point on. Infact I have to do a restart on FS to get the result back to a correct reading. At first I suspected an error in my code and thought that it simply wasn't refreshing the reads, But I noticed that my Lat and Long were changing properly and they are in the same string of code. I am stumped.... any ideas...?

Thanks

Link to post
Share on other sites
When I irst read FSUIPC, the calculations are all correct and the proper result is displayed. However fresh reads of FSUIPC continue to produce the same result even as fuel is burned. Also I found that if I adjust the fuel qty from inside FS the result will always be 0 from that point on. Infact I have to do a restart on FS to get the result back to a correct reading. At first I suspected an error in my code and thought that it simply wasn't refreshing the reads, But I noticed that my Lat and Long were changing properly and they are in the same string of code. I am stumped.... any ideas...?

Sorry, no. They are definitely updated. You can check that through FSInterrogate. Project Magnta EICAS displays show the values read from those locations and that works fine. I'm afraid you will need to use a debugger to find the error.

Pete

Link to post
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...
×
×
  • 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.