Jump to content
The simFlight Network Forums

ADF fraction read out


Recommended Posts

Hello,

When I read out the extended ADF freq.(offset 0356) everything looks OK

I get all the right information. When I change the fraction in FS from 0 upward to 9 and make a read out every is perfect. But when I go back to 0 the readout stays on the previous number (9 in this case). :?

Only when I disconnect FSUIPC and reconnect it the read out is correct. Is there on other way to get a correct read out and not having to disconnect and reconnect every time the adf fraction changes back to 0. :?:

regards,

Link to comment
Share on other sites

When I read out the extended ADF freq.(offset 0356) everything looks OK

I get all the right information. When I change the fraction in FS from 0 upward to 9 and make a read out every is perfect. But when I go back to 0 the readout stays on the previous number (9 in this case). :?

Sorry, I get no such result here. where are you seeing this? Check with FSInterrogate, or using the FSUIPC Monitor (on the logging page).

Only when I disconnect FSUIPC and reconnect it the read out is correct.

By "disconnect"/"reconnect", do you simply mean FSUIPC_Close and FSUIPC_Open? Are you doing this from an EXE program? Pr a gauge or module?

There is absolutely no way that influences the data being read or written. For an EXE program it merely closes a memory-mapped file and creates a new one. FSUIPC knows nothing much about that. In the case of an internal gauge or module, the Close does nothing but clear a pointer value (set from your data pointer in the Open2 call) which causes Reads and Writes to fail till you Open2 again.

Please do some cross-checking, and some logging perhaps (FSUIPC does provide IPC read and write logging you know). If you still don't understand, please provide more information.

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.