Emanuele Posted May 27, 2015 Report Posted May 27, 2015 Hi Paul, i write you to discuss about a little problem related to, probably, to yours DLL. In my sofware i've implemented a timer who every one minute takes, from FSX, aircraft's latitude and longitude and writes these on a database. So, sometimes, happens that, but i'm not able to say you what is the "x-factor", the latitude/logitude reads from FSX are always the same, equal to each other and then, after about 100 reads, DLL stops to give data to my software. Any type of data. In other words DLL becomes silent. Have you any ideas about? Can you help me? I think that it's a problem related to saturation, what you think about? Thanks in advance, regards. Emanuele Bettinazzi
Paul Henty Posted May 27, 2015 Report Posted May 27, 2015 Hi Emanuele, Could you please try with the latest version of the DLL attached; just in case the version you have has a problem. Some things to check... 1. In your code, make sure that the declaration of the offsets only happens once. For example, they are declared at the top of a form and not inside the timer loop. 2. Please look in the FSUIPC4.Log file (in your modules folder) to see if there are any problems reported there after you get bad data or freezing. If you are using WideClient then you also need to look at the Wideserver.log on the server and the Wideclient.log on the client. If you're not sure about the contents of the logs, paste them in here and Pete can have a look for you. 3. In the FSUIPC Interface can you please log the Lon/Lat offsets to the FSX window. When your program is getting the 'stuck' values (not changing) do the values on the screen also get stuck or are they ok? 4. Similar to 3: Please run FSInterrogator.exe (found in the FSUIPC_SDK) alongside your program. When your program gets bad data or stops responding does FSInterrogator.exe also have problems or not? These things will help narrow down where the problem is. It could be my DLL or it could be simconnect having problems. Paul FSUIPCClient3.0_BETA.zip
Emanuele Posted May 27, 2015 Author Report Posted May 27, 2015 Paul, first of all thanks for help and i'll inform you about. Bye
Emanuele Posted June 3, 2015 Author Report Posted June 3, 2015 Hi Emanuele, Could you please try with the latest version of the DLL attached; just in case the version you have has a problem. Some things to check... 1. In your code, make sure that the declaration of the offsets only happens once. For example, they are declared at the top of a form and not inside the timer loop. 2. Please look in the FSUIPC4.Log file (in your modules folder) to see if there are any problems reported there after you get bad data or freezing. If you are using WideClient then you also need to look at the Wideserver.log on the server and the Wideclient.log on the client. If you're not sure about the contents of the logs, paste them in here and Pete can have a look for you. 3. In the FSUIPC Interface can you please log the Lon/Lat offsets to the FSX window. When your program is getting the 'stuck' values (not changing) do the values on the screen also get stuck or are they ok? 4. Similar to 3: Please run FSInterrogator.exe (found in the FSUIPC_SDK) alongside your program. When your program gets bad data or stops responding does FSInterrogator.exe also have problems or not? These things will help narrow down where the problem is. It could be my DLL or it could be simconnect having problems. Paul About point 2, i'll paste a LOG file regarding the problem above. Thanks for help Emanuele ********* FSUIPC4, Version 4.939g by Pete Dowson ********* Reading options from "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\FSUIPC4.ini" Running inside FSX on Windows 7 Module base=5F370000 User Name="" User Addr="" FSUIPC4 not user registered WIDEFS7 not user registered, or expired 15 System time = 03/06/2015 09:50:22 15 FLT path = "C:\Users\Bruno\Documents\File di Flight Simulator X\" 47 Trying to connect to SimConnect Acc/SP2 Oct07 ... 47 FS path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 265 LogOptions=00000000 00000001 265 --- CONTROLS timer memory location obtained ok 265 --- SIM1 Frictions access gained 265 --- FS Controls Table located ok 265 --- Installed Mouse Macro hooks ok. 265 --- Wind smoothing fix is fully installed 265 --- G3D.DLL fix attempt installed ok 265 SimConnect_Open succeeded: waiting to check version okay 265 Trying to use SimConnect Acc/SP2 Oct07 3338 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0) 3338 Initialising SimConnect data requests now 3338 FSUIPC Menu entry added 3369 C:\Users\Bruno\Documents\File di Flight Simulator X\CESSNA a LIRN.FLT 3369 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\C172\Cessna172SP.AIR 8985 Weather Mode now = Custom 15381 ASE with WX requester detected 117250 System time = 03/06/2015 09:52:19, Simulator time = 01:50:26 (07:50Z) 118108 Weather Mode now = Theme 118217 Weather Mode now = Custom 122227 Starting everything now ... 123568 Advanced Weather Interface Enabled 127406 Weather Mode now = Theme 127531 Weather Mode now = Custom 148684 Sim stopped: average frame rate for last 21 secs = 29.0 fps 161788 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\FeelThere PIC A332GE - EIDIP v2.0\FeelThere_A330-200-v2.0.AIR 211631 Sim stopped: average frame rate for last 47 secs = 25.9 fps 260911 Sim stopped: average frame rate for last 32 secs = 29.8 fps 366477 Weather Mode now = Theme 428425 Weather Mode now = Custom 29100629 Weather Mode now = Theme 29105418 Sim stopped: average frame rate for last 28770 secs = 29.5 fps 29110051 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\C172\Cessna172SP.AIR 29110051 Weather Mode now = Custom 29110051 C:\Users\Bruno\AppData\Roaming\Microsoft\FSX\Volo precedente.FLT 29119942 System time = 03/06/2015 17:55:42, Simulator time = 01:50:25 (07:50Z) 29119942 *** FSUIPC log file being closed Minimum frame rate was 17.7 fps, Maximum was 30.0 fps Minimum available memory recorded was 2352Mb Average frame rate for running time of 28890 secs = 29.5 fps G3D fix: Passes 122999, Null pointers 0, Bad pointers 0, Separate instances 0 Memory managed: 13130 Allocs, 13130 Freed ********* FSUIPC Log file closed ***********
Paul Henty Posted June 3, 2015 Report Posted June 3, 2015 I can't see anything obviously wrong with the log. I notice you are not using the latest version of FSUIPC (4.939n). You could try updating to see if that helps. You can download the new installer here.... http://forum.simflight.com/topic/66139-updated-modules/ Otherwise you'll have to try some of the other tests. Paul
Emanuele Posted June 15, 2015 Author Report Posted June 15, 2015 I can't see anything obviously wrong with the log. I notice you are not using the latest version of FSUIPC (4.939n). You could try updating to see if that helps. You can download the new installer here.... http://forum.simflight.com/topic/66139-updated-modules/ Otherwise you'll have to try some of the other tests. Paul Hi Paul, probably it's an FSX's error because the screen becomes little gray (FSX doen't responds). But FSX doesn't generate an error or OOM. Coordinates stops to updates for 3/4 minutes, then restarts again while program of mine it's not able to speech to FSX again. ********* FSUIPC4, Version 4.939g by Pete Dowson ********* Reading options from "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules\FSUIPC4.ini" Running inside FSX on Windows 7 Module base=52350000 User Name="" User Addr="" FSUIPC4 not user registered WIDEFS7 not user registered, or expired 31 System time = 11/06/2015 12:27:35 31 FLT path = "C:\Users\Bruno\Documents\File di Flight Simulator X\" 125 Trying to connect to SimConnect Acc/SP2 Oct07 ... 125 FS path = "C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\" 359 LogOptions=00000000 00000001 359 --- CONTROLS timer memory location obtained ok 359 --- SIM1 Frictions access gained 359 --- FS Controls Table located ok 359 --- Installed Mouse Macro hooks ok. 359 --- Wind smoothing fix is fully installed 359 --- G3D.DLL fix attempt installed ok 359 SimConnect_Open succeeded: waiting to check version okay 359 Trying to use SimConnect Acc/SP2 Oct07 3557 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0) 3557 Initialising SimConnect data requests now 3557 FSUIPC Menu entry added 3588 C:\Users\Bruno\Documents\File di Flight Simulator X\CESSNA a LIRN.FLT 3588 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\C172\Cessna172SP.AIR 3978 Weather Mode now = Custom 15600 ASE with WX requester detected 58953 System time = 11/06/2015 12:28:34, Simulator time = 08:27:39 (08:27Z) 62447 Weather Mode now = Theme 62900 Weather Mode now = Custom 63929 Starting everything now ... 67424 Advanced Weather Interface Enabled 94802 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\FeelThere PIC A332GE - EIDIP v2.0\FeelThere_A330-200-v2.0.AIR 96814 Weather Mode now = Theme 96955 Weather Mode now = Custom 212770 Weather Mode now = Theme 248260 Weather Mode now = Custom 815137 Sim stopped: average frame rate for last 718 secs = 29.4 fps 18780134 Sim stopped: average frame rate for last 17946 secs = 29.7 fps 24396482 Weather Mode now = Theme 24402940 Sim stopped: average frame rate for last 5616 secs = 29.5 fps 24406793 C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\SimObjects\Airplanes\C172\Cessna172SP.AIR 24406793 Weather Mode now = Custom 24406793 C:\Users\Bruno\AppData\Roaming\Microsoft\FSX\Volo precedente.FLT 24415795 System time = 11/06/2015 19:14:31, Simulator time = 08:27:38 (08:27Z) 24415795 *** FSUIPC log file being closed Minimum frame rate was 19.4 fps, Maximum was 30.0 fps Minimum available memory recorded was 2510Mb Average frame rate for running time of 24291 secs = 29.6 fps G3D fix: Passes 94408, Null pointers 0, Bad pointers 0, Separate instances 0 Memory managed: 13023 Allocs, 13023 Freed ********* FSUIPC Log file closed *********** What do you think about? Thanks again. Emanuele
Frédéric-O DUCHEMIN Posted June 15, 2015 Report Posted June 15, 2015 Hi Bruno, Can you reset your flight situation go to your fsx.cg and delete situation like mine: [USERINTERFACE] PageID=1 OpenATCOnCreate=0 SHOW_MISSION_CAPTIONS=1 PAUSE_ON_LOST_FOCUS=0 PROMPT_ON_EXIT=1 SITUATION=C:\Users\WinDEV\Documents\Fichiers Flight Simulator X\Defaut Map_Orientation=2 ShowAllACPaintSchemes=1 SelectAircraftManufacturer=Tous SelectAircraftPublisher=Tous SelectAircraftType=Tous DisplayFuelAsWeight=1 Maybe your *.FLT is corrupt So try to change your aircraft and make a try Regards, Fred
Emanuele Posted June 17, 2015 Author Report Posted June 17, 2015 Hi Bruno, Can you reset your flight situation go to your fsx.cg and delete situation like mine: [USERINTERFACE] PageID=1 OpenATCOnCreate=0 SHOW_MISSION_CAPTIONS=1 PAUSE_ON_LOST_FOCUS=0 PROMPT_ON_EXIT=1 SITUATION=C:\Users\WinDEV\Documents\Fichiers Flight Simulator X\Defaut Map_Orientation=2 ShowAllACPaintSchemes=1 SelectAircraftManufacturer=Tous SelectAircraftPublisher=Tous SelectAircraftType=Tous DisplayFuelAsWeight=1 Maybe your *.FLT is corrupt So try to change your aircraft and make a try Regards, Fred thanks for your help! Emanuele
Frédéric-O DUCHEMIN Posted June 19, 2015 Report Posted June 19, 2015 Hi Emanuele, No problem, you are welcome Regards, Fred
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