Verley Posted January 25, 2005 Report Posted January 25, 2005 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,
Pete Dowson Posted January 25, 2005 Report Posted January 25, 2005 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
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