August 10, 200718 yr Hi y'all!I hope you can help with a problem I got.. I've got to read out the values of some token variables from FS2004 because we need the data in a small project. I tried to use the panels and gauges sdk to create an invisible gauge and thus to read out the variables with lookup_var(). It kind of works, but my value-recording-function is obviously only called when the flight simulation begins and ends. However I need to collect the data also during the flight. So, how can I get the FS to call my function periodically during the flight? What I did up to now is that I used a callback function in the GAUGE_HEADER_FS700-macro, which seems to be called only for the serviceIds PANEL_SERVICE_CONNECT_TO_WINDOW, PANEL_SERVICE_DISCONNECT, PANEL_SERVICE_PRE_QUERY and PANEL_SERVICE_POST_QUERY. Does anyone have an idea? Thanks in advance... ;)Kathrin
August 10, 200718 yr PANEL_SERVICE_PRE_UPDATE is called at a steady rate of 18Hz, while PANEL_SERVICE_PRE_DRAW is called once on each FS frame, when the panel is visible.Try one of those serviceID's for your lookup routine.Doug
Create an account or sign in to comment