orio Posted September 18, 2011 Report Posted September 18, 2011 Hello, Which offset could i use to know the gear retraction status(Up\Down\Retracting)? 0BEC.0BF0.0BF4 Gives me only up or down status. Thank you
Pete Dowson Posted September 18, 2011 Report Posted September 18, 2011 Which offset could i use to know the gear retraction status(Up\Down\Retracting)? 0BEC.0BF0.0BF4 Gives me only up or down status. No they don't. Up is 0, down is 16383, and anything else is in transit. Pete
orio Posted September 18, 2011 Author Report Posted September 18, 2011 You right, its my bad..for some reason it didnt work for this specific code i wrote, when i opened new project, it worked fine. What could you tell me what's wrong?full code is attached New Text Document.txt
Pete Dowson Posted September 18, 2011 Report Posted September 18, 2011 You right, its my bad..for some reason it didnt work for this specific code i wrote, when i opened new project, it worked fine. What could you tell me what's wrong?full code is attached Sorry, it isn't my programming language. Maybe someone else will jump in, but you may need to put the language details in the title. Why not try tracing through what you are doing with a debugger? Pete
orio Posted September 18, 2011 Author Report Posted September 18, 2011 There are not bug's...it gives me the parameter but it jumps from 0 to 16383
Pete Dowson Posted September 18, 2011 Report Posted September 18, 2011 There are not bug's...it gives me the parameter but it jumps from 0 to 16383 So, it isn't a bug, just something in your program "not working correctly!" ;-) Why post the code if you know it is perfectly good? FS and FSUIPC aren't going to behave differently just because you started a new project! Check with FSInterrogate, or just monitor the offset in the FSUIPC logging page -- you can see it in real time in an FS window then. Pete
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