oter33 Posted July 24, 2008 Report Posted July 24, 2008 New offset for fsx:$090C, fuel used since start up in Eng1. FLT 32 lenght 4. Result in pounds. I have tried to convert the offset output to a usable value, but so far no sucess. I hope someone have a good hint? Nils
Pete Dowson Posted July 24, 2008 Report Posted July 24, 2008 New offset for fsx:$090C, fuel used since start up in Eng1.FLT 32 lenght 4. Result in pounds. I have tried to convert the offset output to a usable value, but so far no sucess. You don't need to convert it, it is already in a usable form -- pounds of fuel, as documented. Here's part of a Log where I Monitored both 090C and 0910 as FLT32's (FSUIPC's Logging tab, right-hand side): 617859 SimRead: 090C="GENERAL ENG FUEL USED SINCE START:1" FLT64: 1.57705454783 617859 SimRead: 0910="GENERAL ENG ELAPSED TIME:1" FLT64: 51.0742018745 617859 Monitor IPC:090C (FLT32) = 1.57705450 617859 Monitor IPC:0910 (FLT32) = 51.07420349 .... (later) 672125 SimRead: 090C="GENERAL ENG FUEL USED SINCE START:1" FLT64: 70.8945062595 672125 SimRead: 0910="GENERAL ENG ELAPSED TIME:1" FLT64: 51.0842001718 672125 Monitor IPC:090C (FLT32) = 70.89450836 672125 Monitor IPC:0910 (FLT32) = 51.08420181 Seems fine to me -- note that FSUIPC is converting the value into Float 32 format for you. A small loss of precision doing that, but certainly nothing significant. Maybe you are reading it as an integer or a double (Float 64)? Try using the correct form. Regards Pete
oter33 Posted July 25, 2008 Author Report Posted July 25, 2008 Thank you for the fast answer. It is now clear that my problem is to handle the FLT32 format in the SIOC editor, and that it is not a FSUIPC problem. Regards. Nils
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now