Jump to content
The simFlight Network Forums

pdpo

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by pdpo

  1. Ok Pete, thanks for the answer, currently i am using the wnd.text facility, easier to follow what happens then with the ipc.log as i have to open the logfile and then refresh it to see the latest updates. Thanks Greetz Peter
  2. Hey Pete, just to let you know that you nailed it. The 4th parameter in the string.find to true and voila the find was successfull I also played around with the string functions and got it working much better. Just one question, my program starts as soon as wideclient connects to FS. But how can I tell that this LUA script needs to run with debugging on. I also copied the ipcDebug.lua to my directory but didnt see any diff. Ones the program is ready I will release it here too, it might be usefull for other people. It will start and stop different programs based on the plane that you put in FS. Example : when I start FS with my airbus it will start the programs from project magenta. then when I change to the cessna, it will stop the project magenta and start analogue instruments then when i put the beech baron it will stop the cessna instruments and start instruments for the beechcraft baron... and so on... Greetz Peter
  3. OK, thats a real pitty as you are my only aid line concerning this. I'll see if I can find out how to do the LUA debugging! Never used that. Anyway, for your info : I defined : plane_ident = {} (LUA table object) plane_ident[1] = "Piper OO-VMC" plane_ident[2] = "" plane_ident[3] = "" and so on when you do for i,v in ipairs(plane_ident) do ... end then you get a loop over all the elements in the plane_ident array and on each iteration the value for i is the index in the array (from 1 to 3) and the v get the value of the array element (first "Piper OO-VMC" then "" then "") the problem is mostly the string function. I was expecting if I do string.find("Piper OO-VMC", "Piper OO-VMC") I would get a match but I dont where the first "Piper OO-VMC" string is coming out of the above array and the second one is build up from two fsuipc offsets Anyway i'll continue my search further Thanks Peter
  4. Hi Peter, another string trouble I encounter and cant find a solution I explain : i made an array with 9 strings called plane_ident, the first string is "Piper OO-VMC" the rest is "" with ipairs i loop through these 9 strings and I compare the string with a string that I builded up as follows : tail_number = string.sub(ipc.readSTR(0x313C,12),1,6) plane_type = string.sub(ipc.readSTR(0x3160,24),1,5) ident_string = plane_type .. " " .. tail_number the compare I do the following way for i,v in ipairs(plane_ident) do if (string.find(ident_string,v) ~= nil ) then plane_idx = plane_ty end the ident_string is coming from FS and is currently "Piper OO-VMC" but the string.find always returns nil except when I change the string in the array to "Piper OO-" then it works when I change the string in the array to VMC it works too, even OO-VMC works to and it looks like it starts not to work when the string becomes more then 9 chars. Any idea?
  5. Hi Peter, i'll try it, thanks a lot. Peter Depoortere
  6. Hi all, i havent gotten much expertise with lua and I am trying to make s small script. I read the flight number, airline string, tail number, and so on (ofsets 3130 and further) and display them on a widefs connected computer with the display.show functionality. So far so good. On the display I see the following for a variable (plane_type) I have defined in the script : Piper But when I add a line in the script like this : if (plane_type == "Piper") then ... end i dont enter the code between the 'then' and 'end'. It seems that somehow the if never returns true. Any idea? Oh, the plane_type is filled in by : plane_type = ipc.readSTR(0x3160,24) Thanks a lot, Peter Depoortere
  7. Hi Peter, I am trying to debug something in my setup. I need to know which program is writing on a certain offset. When I enter in the wideclient.ini the monitor part i can see in the logging each program gets an ID and then in the logging of the access to the offset I can see which program is accessing that offset. However, none of the programs are accessing (write) the offset I am observing. On my FS PC I have also 2 programs running (next to FS) which need to be observed but in the logfile of the fsuipc i caanot see which program is accessing, just the value of the offset? Is there any other way of knowing which program accesses a certain offset? Thanks Peter
  8. Hi Peter, indeed... it was a long time I did not look at the forum... havent noticed this... will try out if this can help me.... greetings peter
  9. Hi Peter, I know it has been a long time since september ... did you give this already a thought? Greetings Peter Depoortere
  10. Hi Pete, you were reading my mind just now, I was going to post : could you change the title as this one doesnt really show about what it contains anymore. Greetz Peter
  11. Peter, I am using FS2004 on a good computer but the facitilies I was trying to get should be available for connected PCs via wideclient. All instruments are running on remote computers with their respective screens. Thanks, I'll trigger you again in spetempber....enjoy the vacation.... Greetings Peter Depoortere Belgium
  12. @AndyDigital, that was the post I was looking for... you see i had it posted but it disappeared for some reason.... Hi Pete, well, I think you got the idea of what I like to acomplish. I have not worked with aircraft specifics in FSUIPC as I use SIOC scripting to do all of my stuff and that script reads on an offset the tail number of the plane and deducts a plane-numbers from it. That plane number is then used to let the script do different things. You are better placed to know where in your code this could be added. Of course LUA might be ideally as this poses a lot of flexibility. Ideally programs spawned by a logic could be stopped when the logic returns false or when LUA stops. In my case it would be nice to have programs started when an fsuipc offset (plane type) has a certain value and to stop the programs when the offset changes and load another set. Pete, enjoy your vacation.... dont think about this... this is an idea...for future improvements... When september is there and you decide to work on fsuipc then you can think about this. Greetings Peter Depoortere Belgium
  13. Well, I just repost what I posted before. Maybe something went wrong with the post. I have been searching for it for while and cant seem to find it. I was afraid the topic was deleted for some obscure reason. Anyway, the following is the post again : (maybe a little shorter then the previous : I have 2 things which would my life (cockpitbuilding life) a little easier. As I cannot add features to fsuipc i need to rely on your kindness to add something. I have 2 things that would be nice to have and they are related : 1) would it be possible to have an extra parameter in the RunReady line which specifies an fsuipc offset, length and value. If that offset have the value as expected then the runReady is executed otherwise it is skipped. Use : I would like to use this feature so I tell fsuipc/widefs to start different programs depending on the type of plane that is loaded in FS 2) a result of point 1 is that we would need much more entries for runready. Now we have only 9 but in order to build some sequences of programs which need to be loaded depending on an offset we would need more then 9 but 64 (or 128) Thanks a lot Peter to read this post, thanks a millon if you could implement this. Greetings Peter Depoortere Belgium
  14. Hi peter I have posted two days ago a big post with some 2 improvement suggestions. I have checked the day after if there was any answer, there wasnt today I want to look again and the complete topic is gone. Any idea what is happening here?? Greetz Peter
  15. Hi peter, perfect then.... Greetings peter
  16. Hi Pete, I'll try this new version. I am using also RunReady but that was just my point of the post. RunReady is also based upon connected to FS state, right? Would it not be useful to to start the RunReady when the data transfer is ready? Greetings Peter
  17. Peter, just a question (did not try this yet)... I think also the Run / RunDelay parameters form the ini file are started as soon as the widefs is connected. Maybe also an idea to delay those until the data transfer is actually ok Greetz Peter
  18. Hi Pete, well, thanks for looking into it. Good to know that its not my setup. Anyway, its not really a problem as long as you know that this is happening. This means that LUA scripts who run immediately should be carefull as non-zero values in FS will result in 0 for this first 20secs. So if you make a script which depends on value to be non-zero caution is needed and the beginning of the script could be like this : while (ipc.readUW(0x23E) == 0) do ipc.sleep(500) end as 0x23E is the day of the year it can never be 0 so waiting until this is non-zero and then continuing ensures that widefs is fully ready Greetz Peter and thanks a lot for the time spent .... :-)
  19. Hi Peter, here is the small LUA script that shows what I do : this LUA script is still under development and I am not sure it will work completely so dont shoot me ... the beginning of the script shows in the log this delay I am experiencing greetz peter -- Loop until our Flag 0 is set (by assigned FSUIPC control) ipc.log("Starting my script ACCELL.LUA reading 0x23E until diff to 0") while (ipc.readUW(0x23E) == 0) do ipc.log("0x23E is still 0") ipc.sleep(1000) end ipc.log("0x23E is now different to 0") run = 0 running = 1 flightstate = "none" while running == 1 do parking_brake = ipc.readUW(0xBC8) FS_lights = ipc.readUW(0xD0C) FS_onground = ipc.readUW(0x366) gs, tas = ipc.readStruct(0x02B4, "2UD") gs = (gs * 3600) / (65536 * 1852) tas = tas / 128 alt = ipc.readDD(0x570) alt = alt * 3.28084 / (65536 * 65536) if (parking_brake == 0) and (FS_lights ~= 275) and (FS_onground == 1) then flightstate = "takeoff" end if (flightstate == "takeoff") and (alt > 3000) then flightstate = "climb" end if (flightstate == "climb") and (alt > 38500) then flightstate = "cuise" end if (flightstate == "cruise") and (alt < 38500) then flightstate = "descend" end if (flightstate == "descend") and (alt < 1500) then flightstate = "landing" end if (flightstate == "landing") and (FS_onground == 1) and (gs <= 20) then flightstate = "done" end ipc.log("flight state is " .. flightstate) end
  20. Hi Peter, wow such fast respons you are offering me... if other designers would be the same progress would be so much greater... anyway, the delay of 20 secs that I see, I see it in my LUA script itself. As soon as the script starts it reads on offset 0x23E which is normally non-zero in FS but the first 20 times that I read this offset widefs returns 0. I read with an interval of 1000msecs. There comes the 20 seconds from. Actually its not really a problem. Just something which I found strange and might be a symptom of something wrong in my setup. I found it a long time to wait (in computer time) before data from FS arrives in a widefs client. I stumbled upon this as I wrote the script which reads a value and when the value is 0 it triggers a stop in logging. So my logging never started as the value returned was 0 and I expected it to be 32767. I have now made in my LUA script a loop which reads a value which is always non-zero. But as long as widefs returns 0 the loop continues. Just wanna understand what could cause this. Thnaks Peter
  21. Hi Pete, I have now renamed my script to FlightAnalyser.LUA I was under the impression that you a script was only started when you assign a key to it to start it and I wanted to let the script run form the beginning...but OK after my change now to FlightAnalyser.LUA i see in the logs It cant find initial.LUA anymore and it starts to run my FlightAnalyser. But the same delay of 20 secs remains. Well to be correct, the delay is reduced from 21500 msecs to 20600 msecs. The logfile... well I looked upon it ... but I cant make out what is wrong you know? I see WSA_READ etc ... and I see that after this 20600msec the respons after the WSA_READ changes ans shows the following : 20890 LocalReadWrite Entry <M1:L0:C1> 20890 Local message entry <M1:L0:C1> 20890 Processing request now ... <M1:L0:C1> 20890 ProcessRequest: processing the request <M1:L0:C1> 20890 Exiting ProcessRequestData <M1:L0:C1> 20890 ProcessRequest: dealing with response <M1:L0:C1> 20890 MakeSmaller: Orig Size = 64 <M1:L0:C1> 20890 FS6IPC Data Processed <M1:L0:C1> PREQ ulSize=53, ulTime=20890, uSum=645, fUsed=1 01 00 00 00 3E 02 00 00 02 00 00 00 CC 00 FE 02 ....>........... 00 20 01 00 00 00 0F 33 00 00 13 00 00 00 00 00 . .....3........ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 ..... 20890 ProcessRequestData: Need read at offset 023F <M1:L0:C1> 20890 Removed unneeded entry Offset 330F, Size 19 <M1:L0:C1> 20890 MakeSmaller: New Size = 27 <M1:L0:C1> 20890 LAN Data sent <M1:L0:C1> PREQ ulSize=16, ulTime=20890, uSum=639, fUsed=1 which indicates to me that only now the read operation is happening But why this doesnt happen before this point I cannot know.... My best regards and thanks for the time...
  22. Peter, checkout my previous post... i have added there the debug logs (partly of course) your reply must have crossed my update of the posting If you would need more of the wideclient log then you need to give me an email where I can send it to. Is a bit large to get it into a post I think... Greetings Peter
  23. Peter, the fact that on your systems it doesnt take so long and on my system it take 20 seconds is exactly why I call it worrying. My FS PC is a core I7 running at 3.2Ghz and running only FS2004. So that Pc should be even overkill. The PC on which i was trying out this LUA script is my laptop which is also a 2.3Ghz dual core...so also not that slow right? And in the logfile I looked upon I saw the lua values and eacht time I tried it it took always about 20 seconds for the value of the parking brake to be correct. For this I was asking what I could do to debug to find out why it takes soo long as I think there must be something in my side I guess. Thanks for your time. Greetings Peter Depoortere Added some info : initial.log (logfile of the LUA script) ********* LUA: "Initial" Log [from WideClient] ********* Date (dmy): 17/03/11, Time 17:10:48.921: Client name is BEANTN0L019704 328 LUA: beginning "D:\Poorterp_nbu\AviationInfo\Fsuipc-WideFs\Initial.LUA" 328 LUA: Starting my script ACCELL.LUA reading 0x23E until diff to 0 328 LUA: 0x23E is still 0 1328 LUA: 0x23E is still 0 2344 LUA: 0x23E is still 0 3344 LUA: 0x23E is still 0 4344 LUA: 0x23E is still 0 5344 LUA: 0x23E is still 0 6344 LUA: 0x23E is still 0 7344 LUA: 0x23E is still 0 8344 LUA: 0x23E is still 0 9344 LUA: 0x23E is still 0 10360 LUA: 0x23E is still 0 11360 LUA: 0x23E is still 0 12360 LUA: 0x23E is still 0 13360 LUA: 0x23E is still 0 14360 LUA: 0x23E is still 0 15360 LUA: 0x23E is still 0 16360 LUA: 0x23E is still 0 17360 LUA: 0x23E is still 0 18375 LUA: 0x23E is still 0 19375 LUA: 0x23E is still 0 20375 LUA: 0x23E is still 0 21500 LUA: 0x23E is now different to 0 ********* LUA execution terminated: Log Closed ********* from this I deduct that it took 21500 milliseconds until the correct value is received. correct? I have also enabled the log=DebugAll (of course this is quite a lot of info) ********* WideClient Log [version 6.841] Class=FS98MAIN ********* Date (dmy): 17/03/11, Time 17:10:48.625: Client name is BEANTN0L019704 250 Timing Thread Started <M1:L0:C0> 313 KeyHook added: 259=0,0,FS98MAIN, <M0:L0:C0> 313 KeyHook added: 260=0,0,FS98MAIN, <M0:L0:C0> 328 In MessageLoop <M0:L1:C0> 328 SendReq Thread Started <M0:L1:C0> 328 Attempting to connect now <M0:L1:C0> 328 Trying UDP/IP addr 10.0.0.9, port 8002 ... <M0:L1:C0> 328 UDP connectionless mode set up okay! <M0:L1:C0> 328 In MessageLoop <M0:L0:C3> 328 WSA_READ Entry <M0:L1:C3> 328 WSA_READ FD_WRITE <M0:L1:C3> 328 WSA_READ Exit1 <M0:L1:C3> 328 In MessageLoop <M0:L1:C3> 328 In MessageLoop <M0:L0:C3> 375 WM_MYTIMER still okay in LAN thread <M0:L1:C3> 375 In MessageLoop <M0:L0:C3> 375 WSA_READ Entry <M0:L1:C3> 375 WSA_READ FD_READ <M0:L1:C3> 375 WSA_READ recv() <M0:L1:C3> 375 GetRecv() done, zero <M0:L1:C3> 375 WSA_READ free buffer <M0:L1:C3> 375 WSA_READ Exit2 <M0:L1:C3> 406 In MessageLoop <M0:L0:C3> 500 WM_MYTIMER still okay in main thread <M1:L0:C3> 500 Sending computer name and requesting base data ... <M1:L0:C3> 500 Button Thread Started <M1:L0:C2> 531 In MessageLoop <M0:L0:C2> 531 MYSENDREQ Entry <M0:L0:C2> 531 MYSENDREQ [ok=1] send() done: 296 of 296 bytes <M0:L0:C2> 531 MYSENDREQ Exit <M0:L0:C2> 531 In MessageLoop <M0:L0:C2> 531 WSA_READ Entry <M0:L1:C2> 531 WSA_READ FD_WRITE <M0:L1:C2> 531 WSA_READ Exit1 <M0:L1:C2> 547 In MessageLoop <M0:L0:C2> 547 WSA_READ Entry <M0:L1:C2> 547 WSA_READ FD_READ <M0:L1:C2> 547 WSA_READ recv() <M0:L1:C2> 547 GetRecv() gets 329 <M0:L1:C2> 547 GetRecv() packet 329 <M0:L1:C2> 547 WSA_READ ProcessResponse <M0:L1:C2> 547 LAN data received: <M0:L1:C2> PREQ ulSize=318, ulTime=0, uSum=23010, fUsed=0 98 05 00 FC 03 00 AA 00 17 71 03 00 FE 01 00 00 .........q...... 0C 32 00 FC 04 00 38 AA 00 E2 FC 32 00 FE 02 00 .2....8....2.... 01 00 04 33 00 FE 0A 00 17 00 89 39 07 00 DE FA ...3.......9.... 06 00 20 33 00 FE 02 00 01 00 00 3E 00 FC 1F 00 .. 3.......>.... 5C 5C 46 53 46 43 55 5C 46 53 32 30 30 34 5C 00 \\FSFCU\FS2004\. 53 00 46 53 55 49 50 43 2E 69 6E 69 AA 00 E3 02 S.FSUIPC.ini.... 3F 00 FE 02 00 01 00 00 54 00 FE 06 00 48 01 48 ?.......T....H.H 01 48 01 00 5B 00 FC 10 00 5C 5C 46 43 55 5C 6E .H..[....\\FCU\n 65 74 64 69 72 5C AA 00 72 FF 81 00 FC 04 00 AA etdir\..r....... 00 FF 00 04 CC 00 FC 42 00 AA 00 0E 20 AA AA 00 .......B.... ... 34 4B 40 00 00 00 60 4C 68 48 40 AA 00 03 FC 6C 4K@...`LhH@....l 0B 00 53 3F 00 00 DC 11 24 FA 70 17 00 00 01 AA ..S?....$.p..... 00 04 0F 00 03 00 05 AA 00 B8 01 00 00 00 A3 02 ................ AA 00 FF AA 00 FF AA 00 FF 00 00 00 3D 00 FC 25 ............=..% 00 50 72 6F 6A 65 63 74 20 41 69 72 62 75 73 20 .Project Airbus 41 33 32 30 20 43 46 4D 20 50 41 32 20 53 61 62 A320 CFM PA2 Sab 65 6E 61 AA 00 DD 24 C8 00 FC 03 00 AA 00 03 F0 ena...$......... 0F 00 FC 03 00 AA 00 0B FC 0F 00 FC 06 00 AA 00 ................ FF AA 00 03 00 D0 00 FC 03 00 AA 00 07 D2 3B 00 ..............;. FE 02 00 00 00 08 D0 00 FC 03 00 AA 00 0B .............. 547 --> Size and sumcheck okay <M0:L1:C2> 547 DeCompressed: Orig Size = 3, Full size = 24 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 00598: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 ........ 547 DeCompressed: Orig Size = 4, Full size = 228 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 0320C: 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8............... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 .... 547 DeCompressed: Orig Size = 31, Full size = 256 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 03E00: 5C 5C 46 53 46 43 55 5C 46 53 32 30 30 34 5C 00 \\FSFCU\FS2004\. 53 00 46 53 55 49 50 43 2E 69 6E 69 00 00 00 00 S.FSUIPC.ini.... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 547 DeCompressed: Orig Size = 16, Full size = 128 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 05B00: 5C 5C 46 43 55 5C 6E 65 74 64 69 72 5C 00 00 00 \\FCU\netdir\... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 547 DeCompressed: Orig Size = 4, Full size = 257 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 081FF: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 . 547 DeCompressed: Orig Size = 66, Full size = 1020 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 0CC04: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 ............... AA 34 4B 40 00 00 00 60 4C 68 48 40 00 00 00 00 .4K@...`LhH@.... FC 6C 0B 00 53 3F 00 00 DC 11 24 FA 70 17 00 00 .l..S?....$.p... 01 00 00 00 00 00 0F 00 03 00 05 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 01 00 00 00 A3 02 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 ............ 547 DeCompressed: Orig Size = 37, Full size = 256 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 03D00: 50 72 6F 6A 65 63 74 20 41 69 72 62 75 73 20 41 Project Airbus A 33 32 30 20 43 46 4D 20 50 41 32 20 53 61 62 65 320 CFM PA2 Sabe 6E 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 na.............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 547 DeCompressed: Orig Size = 3, Full size = 4 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 0C824: 00 00 00 00 .... 547 DeCompressed: Orig Size = 3, Full size = 12 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 00FF0: 00 00 00 00 00 00 00 00 00 00 00 00 ............ 547 DeCompressed: Orig Size = 6, Full size = 260 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 00FFC: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 .... 547 DeCompressed: Orig Size = 3, Full size = 8 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 0D000: 00 00 00 00 00 00 00 00 ........ 547 DeCompressed: Orig Size = 3, Full size = 12 <M0:L1:C2> 547 Expanded data: <M0:L1:C2> Offset 0D008: 00 00 00 00 00 00 00 00 00 00 00 00 ............ 547 Connection made: receiving okay! <M0:L1:C2> 547 WSA_READ recv() <M0:L1:C1> 547 GetRecv() done, zero <M0:L1:C1> 547 WSA_READ free buffer <M0:L1:C1> 547 WSA_READ Exit2 <M0:L1:C1> 578 In MessageLoop <M0:L0:C1> 781 WSA_READ Entry <M0:L1:C1> 781 WSA_READ FD_READ <M0:L1:C1> 781 WSA_READ recv() <M0:L1:C1> 781 GetRecv() gets 19 <M0:L1:C1> 781 GetRecv() packet 19 <M0:L1:C1> 781 WSA_READ ProcessResponse <M0:L1:C1> 781 LAN data received: <M0:L1:C1> PREQ ulSize=8, ulTime=1, uSum=613, fUsed=0 24 CC 00 FE 02 00 04 71 $......q 781 --> Size and sumcheck okay <M0:L1:C1> 781 WSA_READ recv() <M0:L1:C1> 781 GetRecv() done, zero <M0:L1:C1> 797 WSA_READ free buffer <M0:L1:C1> 797 WSA_READ Exit2 <M0:L1:C1> ... like this it continues ......... 20235 WSA_READ Entry <M0:L1:C1> 20235 WSA_READ FD_READ <M0:L1:C1> 20235 WSA_READ recv() <M0:L1:C1> 20235 GetRecv() gets 19 <M0:L1:C1> 20235 GetRecv() packet 19 <M0:L1:C1> 20235 WSA_READ ProcessResponse <M0:L1:C1> 20235 LAN data received: <M0:L1:C1> PREQ ulSize=8, ulTime=28, uSum=748, fUsed=0 24 CC 00 FE 02 00 3F BD $.....?. 20235 --> Size and sumcheck okay <M0:L1:C1> 20235 WSA_READ recv() <M0:L1:C1> 20235 GetRecv() done, zero <M0:L1:C1> 20250 In MessageLoop <M0:L1:C1> 20250 WSA_READ free buffer <M0:L1:C1> 20250 WSA_READ Exit2 <M0:L1:C1> 20281 In MessageLoop <M0:L0:C1> 20422 WSA_READ Entry <M0:L1:C1> 20422 WSA_READ FD_READ <M0:L1:C1> 20422 WSA_READ recv() <M0:L1:C1> 20422 GetRecv() gets 102 <M0:L1:C1> 20422 GetRecv() packet 102 <M0:L1:C1> 20422 WSA_READ ProcessResponse <M0:L1:C1> 20422 LAN data received: <M0:L1:C1> PREQ ulSize=91, ulTime=29, uSum=6704, fUsed=0 0F 33 00 FC 05 00 AA 00 10 01 00 00 3E 00 FC 1F .3..........>... 00 5C 5C 46 53 46 43 55 5C 46 53 32 30 30 34 5C .\\FSFCU\FS2004\ 00 53 00 46 53 55 49 50 43 2E 69 6E 69 AA 00 E3 .S.FSUIPC.ini... 00 3D 00 FC 25 00 50 72 6F 6A 65 63 74 20 41 69 .=..%.Project Ai 72 62 75 73 20 41 33 32 30 20 43 46 4D 20 50 41 rbus A320 CFM PA 32 20 53 61 62 65 6E 61 AA 00 DD 2 Sabena... 20422 --> Size and sumcheck okay <M0:L1:C1> 20422 DeCompressed: Orig Size = 5, Full size = 19 <M0:L1:C1> 20422 Expanded data: <M0:L1:C1> Offset 0330F: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 01 00 ... 20422 DeCompressed: Orig Size = 31, Full size = 256 <M0:L1:C1> 20422 Expanded data: <M0:L1:C1> Offset 03E00: 5C 5C 46 53 46 43 55 5C 46 53 32 30 30 34 5C 00 \\FSFCU\FS2004\. 53 00 46 53 55 49 50 43 2E 69 6E 69 00 00 00 00 S.FSUIPC.ini.... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20422 DeCompressed: Orig Size = 37, Full size = 256 <M0:L1:C1> 20422 Expanded data: <M0:L1:C1> Offset 03D00: 50 72 6F 6A 65 63 74 20 41 69 72 62 75 73 20 41 Project Airbus A 33 32 30 20 43 46 4D 20 50 41 32 20 53 61 62 65 320 CFM PA2 Sabe 6E 61 00 00 00 00 00 00 00 00 00 00 00 00 00 00 na.............. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20422 WSA_READ recv() <M0:L1:C1> 20422 GetRecv() done, zero <M0:L1:C1> 20422 WSA_READ free buffer <M0:L1:C1> 20422 WSA_READ Exit2 <M0:L1:C1> 20438 In MessageLoop <M0:L0:C1> 20485 WM_MYTIMER still okay in LAN thread <M0:L1:C1> 20531 In MessageLoop <M0:L0:C1> 20813 WM_MYTIMER still okay in main thread <M1:L0:C1> 20844 In MessageLoop <M0:L0:C1> 20938 WSA_READ Entry <M0:L1:C1> 20938 WSA_READ FD_READ <M0:L1:C1> 20938 WSA_READ recv() <M0:L1:C1> 20938 GetRecv() done, zero <M0:L1:C1> 20938 WSA_READ free buffer <M0:L1:C1> 20938 WSA_READ Exit2 <M0:L1:C1> 20969 In MessageLoop <M0:L0:C1> 21250 WSA_READ Entry <M0:L1:C1> 21250 WSA_READ FD_READ <M0:L1:C1> 21250 WSA_READ recv() <M0:L1:C1> 21250 GetRecv() gets 19 <M0:L1:C1> 21250 GetRecv() packet 19 <M0:L1:C1> 21250 WSA_READ ProcessResponse <M0:L1:C1> 21250 LAN data received: <M0:L1:C1> PREQ ulSize=8, ulTime=30, uSum=822, fUsed=0 24 CC 00 FE 02 00 85 C1 $....... 21250 --> Size and sumcheck okay <M0:L1:C1> 21250 WSA_READ recv() <M0:L1:C1> 21250 GetRecv() done, zero <M0:L1:C1> 21250 WSA_READ free buffer <M0:L1:C1> 21250 WSA_READ Exit2 <M0:L1:C1> 21250 In MessageLoop <M0:L0:C1> 21344 MYSENDREQ Entry <M0:L0:C1> 21344 MYSENDREQ [ok=1] send() done: 43 of 43 bytes <M0:L0:C1> 21344 MYSENDREQ Exit <M0:L0:C1> 21344 In MessageLoop <M0:L0:C1> 21344 WSA_READ Entry <M0:L1:C1> 21344 WSA_READ FD_WRITE <M0:L1:C1> 21344 WSA_READ Exit1 <M0:L1:C1> 21375 In MessageLoop <M0:L0:C1> 21375 LocalReadWrite Entry <M1:L0:C1> 21375 Local message entry <M1:L0:C1> 21375 Processing request now ... <M1:L0:C1> 21375 ProcessRequest: processing the request <M1:L0:C1> 21375 Exiting ProcessRequestData <M1:L0:C1> 21375 ProcessRequest: dealing with response <M1:L0:C1> 21375 MakeSmaller: Orig Size = 64 <M1:L0:C1> here I see the first time something about processing of offset 23E 21375 FS6IPC Data Processed <M1:L0:C1> PREQ ulSize=53, ulTime=21375, uSum=672, fUsed=1 01 00 00 00 3E 02 00 00 02 00 00 00 2C 74 61 73 ....>.......,tas 2C 67 01 00 00 00 0F 33 00 00 13 00 00 00 00 00 ,g.....3........ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 ..... 21375 ProcessRequestData: Need read at offset 023F <M1:L0:C1> 21375 Removed unneeded entry Offset 330F, Size 19 <M1:L0:C1> 21375 MakeSmaller: New Size = 27 <M1:L0:C1> 21375 LAN Data sent <M1:L0:C1> PREQ ulSize=16, ulTime=21375, uSum=551, fUsed=1 01 70 00 00 3E 02 00 00 02 00 00 00 2C 74 61 73 21375 READNEEDED: Offset 023F, p=008F9E80, p2=008F9E80, nslot=0, p->fDone=x80, p->dwOffNeeded=023F <M1:L0:C1> 21375 Adding Request Block now ... <M1:L0:C1> 21406 MYSENDREQ Entry <M1:L0:C1> 21406 In MessageLoop <M1:L0:C1> 21406 MYSENDREQ [ok=1] send() done: 27 of 27 bytes <M1:L0:C1> 21406 MYSENDREQ Exit <M1:L0:C1> 21406 In MessageLoop <M1:L0:C1> 21406 WSA_READ Entry <M1:L1:C1> 21406 WSA_READ FD_WRITE <M1:L1:C1> 21406 WSA_READ Exit1 <M1:L1:C1> 21453 In MessageLoop <M1:L0:C1> 21500 WSA_READ Entry <M1:L1:C1> 21500 WSA_READ FD_READ <M1:L1:C1> 21500 WSA_READ recv() <M1:L1:C1> 21500 GetRecv() gets 19 <M1:L1:C1> 21500 GetRecv() packet 19 <M1:L1:C1> 21500 WSA_READ ProcessResponse <M1:L1:C1> 21500 LAN data received: <M1:L1:C1> PREQ ulSize=8, ulTime=31, uSum=396, fUsed=0 3E 02 00 FE 02 00 4C 00 >.....L. 21500 --> Size and sumcheck okay <M1:L1:C1> 21500 ProcessResponse: Read needed offset 023F <M1:L1:C1> 21500 WSA_READ recv() <M1:L1:C1> 21500 GetRecv() done, zero <M1:L1:C1> 21500 ProcessRequest: needed read accomplished <M1:L1:C1> 21500 ProcessRequest: preparing results <M1:L1:C1> 21500 125 ReadOk: Offset=023E, Size=0002 4C 00 21500 Exiting ProcessRequestData <M1:L1:C1> 21500 ProcessRequest: Exit <M1:L1:C1> 21500 FS6IPC message Exit2 <M1:L1:C1> 21500 LocalReadWrite Entry <M1:L1:C1> 21500 Local message entry <M1:L1:C1> 21500 Processing request now ... <M1:L1:C1> 21500 ProcessRequest: processing the request <M1:L1:C1> 21500 Exiting ProcessRequestData <M1:L1:C1> 21500 ProcessRequest: dealing with response <M1:L1:C1> 21500 MakeSmaller: Orig Size = 64 <M1:L1:C1> 21500 FS6IPC Data Processed <M1:L1:C1> PREQ ulSize=53, ulTime=21500, uSum=748, fUsed=1 01 00 00 00 C8 0B 00 00 02 00 00 00 2C 74 61 73 ............,tas 4C 00 01 00 00 00 0F 33 00 00 13 00 00 00 00 00 L......3........ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 ..... 21500 ProcessRequestData: Need read at offset 0BC9 <M1:L1:C1> 21500 Removed unneeded entry Offset 330F, Size 19 <M1:L1:C1> 21500 MakeSmaller: New Size = 27 <M1:L1:C1> 21500 LAN Data sent <M1:L1:C1> PREQ ulSize=16, ulTime=21500, uSum=698, fUsed=1 01 70 00 00 C8 0B 00 00 02 00 00 00 2C 74 61 73 21500 READNEEDED: Offset 0BC9, p=008F9E80, p2=008F9E80, nslot=0, p->fDone=x80, p->dwOffNeeded=0BC9 <M1:L1:C1> 21500 Adding Request Block now ... <M1:L1:C1> 21500 WSA_READ free buffer <M1:L1:C1> 21500 WSA_READ Exit2 <M1:L1:C1>
  24. Any idea then what could be the cause that I see it taking up 20secs to get the data? After this 20secs the updates are indeed very fast but this initial delay is what worries me? Greetings Peter
×
×
  • 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.