Jump to content
The simFlight Network Forums

Emanuele

Members
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Palermo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Emanuele's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Paul, one question: during ps.RefreshData() ps.PayloadStations(10).WeightKgs = txtCrew1.Text ps.WriteChanges() the connection must be open? Thanks
  2. Thanksssssssssssssssssssssssssss! Emanuele
  3. Hi Paul, I write to you because i'm not able to understand how works payloads' function on new DLL. I read this ' Get a reference to save so much typing... Dim ps As PayloadServices = FSUIPCConnection.PayloadServices ' Get the latest data from FSUIPC ps.RefreshData() But in my development PC i haven't FSX and FSUIPC. FSX runs in another one PC. So, how can i test the program in development status? Continuing reading, i see this: You also have access to the individual payload stations and fuel tanks. Here is an example of iterating through each payload station. ' Go through each station and get the name and weight For Each (payloadStation As FsPayloadStation In ps.PayloadStations) Dim name As String = payloadStation.Name Dim weight As Double = payloadStation.WeightLbs Next payloadStation So I don't understand how DLL can get the name payload stations using this cycle. Probably it's a my mind fault... i'm so confusing because i'll works with 16 payloads stations and for each one i'll have a precise wheight to load station_load.0 ="0, 16.6853104911779, 0.0, 0.0, Cabin 0A" station_load.1 ="0, -1.12441769194083, 0.0, 0.0, Cabin 0B" station_load.2 ="0, -19.4743461611827, 0.0, 0.0, Cabin 0C" station_load.3 ="0, 19.1162117787317, 0.0, 0.0, cargo11" station_load.4 ="0, 14.5385770624704, 0.0, 0.0, cargo12" station_load.5 ="0, -8.29051211254223, 0.0, 0.0, cargo41" station_load.6 ="0, -14.5070357176912, 0.0, 0.0, cargo42" station_load.7 ="0, -22.8196489747242, 0.0, 0.0, cargo51" station_load.8 ="0, 35.2358280372542, 0.0, 0.0, Pilot/copilot" station_load.9 ="0, 32.9187924962841, 0.0, 0.0, Trainers" station_load.10 ="0, 28.5715924813225, 0.0, 0.0, Crew1" station_load.11 ="0, -28.074409744078, 0.0, 0.0, Crew2" station_load.12 ="0, -31.4506615323471, 0.0, 0.0, Crew3" station_load.13 ="0, 28.9467315689077, 0.0, 0.0, Crew4" station_load.14 ="0, 4.93782996344077, 0.0, 0.0, PantryA" station_load.15 ="0, -15.9676482810941, 0.0, 0.0, PantryB" Finally, what are the differences between Process() and WriteChanges() Thank for your help, regards Emanuele
  4. 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
  5. 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 ***********
  6. Paul, first of all thanks for help and i'll inform you about. Bye
  7. 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
  8. Mr Dowson, i used the "" around the word wrong because i know that FSUIPC is correct and surely i need to revise my program. Thank you for your help and thank you for your time. Regards Emanuele
  9. Probably I expressed myself badly. My post is intended as report and curiosity. In two words: i've made a little pirep program who is able to correctly report the hardness touch land. For test reasons, i decided to read continuously the 030C offset while the aircraft is on fly. Reading the values, i've noted the differences. So, i decided to make a test. A simply climb from FL120 to FL180 at constant +2000' climb, taking times. This is values table: feet seconds climb rate 12000 0 13000 28,88 2077,562327 14000 29,91 2006,018054 15000 29,89 2007,360321 16000 28,67 2092,779909 17000 29,98 2001,334223 18000 29,78 2014,775017 as can you read, more or less, wilco climbs at constant values and variometer is correct, while FSUIPC reads values greater about 30/30% in according to my precedent post. So, i repeat, it's only a curiosity: why FSIUPC reads these "wrong" values? Another consideration: at small variometer's values, the "wrong" values (diffecences from FSIUPC reads and glass cockpit reads) became very little. Thanks in advance Emanuele
  10. Dear Mr. Dowson, using the offset in subject, happens that the values are higher by about 30/33% of what I can read on wilcos airbus' variometer. In particular way, these are some reads: fpm fs9 fpm by FSUIPC ratio 3200 4100 1,28125 2000 2660 1,33 0 0 #DIV/0! -3400 -4430 1,302941176 -4100 -5470 1,334146341 These reads are taken on FS9, but the same problem is present on FSX. Is a know problem? And it can be addressed? Thanks in advance, regards Emanuele Bettinazzi Italy
  11. I'm stupid! :oops: :oops: :oops: The focus on FS.... setted on my app and... now works very well! Thanks Mr. Dowson. Emanuele
  12. ********* FSUIPC4, Version 4.88 by Pete Dowson ********* FSUIPC4 Key is provided 74460 WRITE0 3114, 4 bytes: 53 00 00 00 S... 74460 WRITE0 3110, 4 bytes: 2E 04 00 00 .... 74460 FSUIPC Control Action: Ctrl=1070, Param=83 74460 SendKeyToFS(00000053=, KEYDOWN) ctr=0 74460 Sending WM_KEYDOWN, Key=83 (Scan code 31), Ctr=1 74585 SendKeyToFS(00000053=, KEYUP) ctr=0 74600 Sending WM_KEYUP, Key=83 (Scan code 31), Ctr=1 S Key assigned to change visual (standard) But the visual dont't change :( While if i press the S on keyboard, the visual change.
  13. Dear Pete yes, i know. Mine it's only a brain excercise to better learn FSUIPC. At this point, I suspect, that there is a little/big problem because: using FSinterrogate, i read on 3114 the value 76 and in 3110 the value 1070 and on IPC writes LOG i read 529592 WRITE0 3114, 4 bytes: 4C 00 00 00 L... 529592 WRITE0 3110, 4 bytes: 2E 04 00 00 .... but the lights don't turn on or off Same case for "S" FSinterrogate, i read on 3114 the value 83 and in 3110 the value 1070 and on IPC writes LOG i read 637466 WRITE0 3114, 4 bytes: 53 00 00 00 S... 637466 WRITE0 3110, 4 bytes: 2E 04 00 00 .... but the visual don't change. (Both L and S are correctly setted on FS) Why? Thanks for your help
×
×
  • 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.