raefly Posted March 15, 2004 Report Posted March 15, 2004 I would like to start up my FS2004 situation files in Zulu time - as I believe FS2004 does not provide a facility to start in Zulu time, I am using the FSUIPC_Write/FSUIPC_Process functions to write in the Zulu time automatically upon start up. However, I am finding that although within the World->Time menu, the new Zulu time has been set, the simulator is not actually refreshed to the new time and requires me to go into the World->Time menu first and select OK in order to reload the set time. Can I use FSUIPC_Write/FSUIPC_Process to force the simulator to reload/refresh with the new set Zulu time? FSRealTime implements a similar functionality, but I would like to do this myself with my start up scripts. Thank you, Richard
Pete Dowson Posted March 15, 2004 Report Posted March 15, 2004 I am using the FSUIPC_Write/FSUIPC_Process functions to write in the Zulu time automatically upon start up. However, I am finding that although within the World->Time menu, the new Zulu time has been set, the simulator is not actually refreshed to the new time and requires me to go into the World->Time menu first and select OK in order to reload the set time. I think you have to set both the Zulu and the Local time, not just one or the other. Maybe also the difference between them (0246). Pete
raefly Posted March 16, 2004 Author Report Posted March 16, 2004 Hi Pete, Thanks for your quick response - I tried writing both the local (0x238) and Zulu (0x23B) times as well as writing the offset between the two (0x246) using the correct sign, but the simulator environment still did not automatically update. I then tried using FSUIPC_Write with a FS control entry i.e. (FSUIPC_Write(0x3110, 8, upLocal, &dwResult), where upLocal only provides a new local time (control entry 66044 and local time parameter) that is offset from the correct Zulu time, and this automatically refreshes the simulator with the new local time as well as the corresponding correct system Zulu time. Richard
Pete Dowson Posted March 16, 2004 Report Posted March 16, 2004 I then tried using FSUIPC_Write with a FS control entry i.e. (FSUIPC_Write(0x3110, 8, upLocal, &dwResult), where upLocal only provides a new local time (control entry 66044 and local time parameter) that is offset from the correct Zulu time, and this automatically refreshes the simulator with the new local time as well as the corresponding correct system Zulu time. Oh,right. That's useful to know. Is that what FSRealTime does? I thought the old (FS98-compatible) offsets worked. Thanks. 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