Jump to content
The simFlight Network Forums


  • Content count

  • Joined

  • Last visited

  • Days Won


ark1320 last won the day on July 27 2017

ark1320 had the most liked content!

Community Reputation

4 Neutral

About ark1320

  • Rank
    Advanced Member

Profile Information

  • Gender
  • Location
    Colorado, USA

Recent Profile Visitors

1,086 profile views
  1. Hi Pete, Perhaps a bit of encouraging news is I've discovered that FSX-SE, which is on the same computer as FSX, does not have the display problem described above. So there is some hope regarding the impact of the latest WIN10 update. I now need to see if I can figure out what might be different between FSX and FSX-SE as far as how the Lua displays are being handled by the system. Al
  2. If anyone else has a similar issue, please let me know. I'd like to determine it this Lua display problem is unique to my setup for some reason. Thx, Al
  3. Pete, In each case all the multi-line data is sent for display with one command that contains the new line characters. For example, in one script we have: if on_ground_flag == 1 then v_rotate = v_rotate_calc() -- call function ipc.display(" Vr = "..v_rotate.."\n Reversers Armed\n Annunciator Lights\n AP Set\n Altitude Set\n Spoilers Off\n Flaps Set\n Trim Set\n Yaw Damper Off\n Lights On\n Heading Bug Set\n Course Set\n Altimeter Set\n NAV/GPS Set\n Pitot Heat On") -- Display check list for TO_list_time sec repeat ias = ipc.readUD(0x02BC)/128 -- IAS in Knots ias = math.floor (ias + 0.5) -- round to no decimal places (nearest integer) until ias >= v_rotate - rotate_callout_gs_delta -- rotate callout is initiated rotate_callout_gs_delta knots before the v_rotate speed is reached ref=sound.play("Rotate",0) -- Rotate callout ipc.display("") -- close takeoff checklist window end Another script displays a menu using ipc.ask: aircraft_sel=ipc.ask(tab.."Select (followed by Enter): \n 1 FSX Default or Std Add-on A/C\n 2 A2A Cherokee 180\n 3 FLIGHT1 KA B200\n 4 PMDG B737 NGX\n 5 PMDG B777\n * NpC Off",1) So I need to figure out what has changed because neither of these scripts previously exhibited the behavior I described above, but do now. The scripts themselves have not been changed. I'm beginning to think the problem is related to the Win10 update -- perhaps how it works with SimConnect. Should I try reinstalling SimConnect? Thanks, Al
  4. Hi Pete, A strange problem has popped up when using Lua scripts to display multiple lines. This is happening with different scripts that previously had no display problems, and happens with both green bar and ipc.setowndisplay type display windows. Instead of the data just appearing 'smoothly', there is jitter as the multiple lines are displayed (single lines display fine). I am only talking about 10 or so short lines of information. I get the sense there is a tiny delay between the display of each line, but once all the lines are displayed, the window display is stable. With the green bar multi-line display, I can faintly see individual single green lines as the window grows in size vertically as the lines are displayed. I don't know how the multi-line display functions work but wonder if something could be causing the scripts to pause for a tiny fraction of a second between the display of each line, or perhaps something has slowed the overall execution speed of the scripts enough to produce this effect? I apologize for this description of the problem -- just don't know a better way to put it. I did 'suffer' a recent Win10 update, but don't see any other display issues with the computer, and can't be sure if this only started after the update. The Nvidia GPU driver is up to date. Thanks for any ideas on what I might check or look for. Al FSUIPC 4.972 Boxed FSX, Win10/64
  5. Hi Pete, In general, does FSUIPC update offset values (such as airspeed, altitude, flight control positions, radar altitude, etc) from FSX at the sim rate (about 18Hz), or only when a particular offset is accessed via one of the ipc.read commands, or perhaps only when FSUIPC detects an offset value has changed? Thanks, Al
  6. Hi Pete, Does the ipc.display and setowndisplay combination work in P3Dv4? I recall there have been some issues with this in the past. I'm trying to help a friend but unfortunately don't have P3D myself for testing. Scripts I've written using ipc.display that work in FSX on my friend's machine are not displaying anything in P3Dv4. Thanks for an update on this, Al
  7. I forgot to mention I'm using the boxed FSX, but it sounds like in this case the answer is the same regardless of which sim is being used. Thanks for the response, Al
  8. Hello Pete, Is there a way to control the transparency of the window created by the ipc.setowndisplay command? I would like to reduce the transparency to increase readability of the info displayed in the window. Thanks, Al
  9. Yes, a good lesson! Thanks very much for the help. Al
  10. Hi Pete, Below is information from the FSUIPC4.LOG files for the Baron 58 and B737. Al Baron B58 1141 SimConnect_Open succeeded: waiting to check version okay 1141 Trying to use SimConnect Acc/SP2 Oct07 1141 Opened separate AI Traffic client okay 3563 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0) 3563 Initialising SimConnect data requests now 3563 FSUIPC Menu entry added 3594 C:\Users\Al\Documents\Flight Simulator X Files\Default Safe Flight Baron 58 35L KCOS.FLT 3594 C:\FSX\SimObjects\Airplanes\Beech_Baron_58\Beech_Baron_58.AIR 4219 Monitor IPC:060C (U8) = 0 50313 Aircraft loaded: running normally now ... 50313 User Aircraft ID 1 supplied, now being used 50641 System time = 18/10/2017 16:30:02, Simulator time = 11:49:47 (17:49Z) 50641 Monitor IPC:060C (U8) = 2 50641 SimRead: 060C="IS GEAR RETRACTABLE" INT32: 2 (0x00000002) 51406 Aircraft="Beech Baron 58 EPAV" 51641 Starting everything now ... 51719 ASN active function link set 51719 Ready for ActiveSky WX radar with additional data B737 1109 SimConnect_Open succeeded: waiting to check version okay 1109 Trying to use SimConnect Acc/SP2 Oct07 1109 Opened separate AI Traffic client okay 3609 Running in "Microsoft Flight Simulator X", Version: 10.0.61472.0 (SimConnect: 10.0.61259.0) 3609 Initialising SimConnect data requests now 3609 FSUIPC Menu entry added 3625 C:\Users\Al\Documents\Flight Simulator X Files\Default Safe Flight Baron 58 35L KCOS.FLT 3625 C:\FSX\SimObjects\Airplanes\Beech_Baron_58\Beech_Baron_58.AIR 4297 Monitor IPC:060C (U8) = 0 59859 C:\FSX\SimObjects\Airplanes\B737_800_Default_Modified\Boeing737-800.AIR 139719 User Aircraft ID 1 supplied, now being used 140015 System time = 18/10/2017 16:40:14, Simulator time = 11:49:47 (17:49Z) 140015 Monitor IPC:060C (U8) = 2 140015 SimRead: 060C="IS GEAR RETRACTABLE" INT32: 2 (0x00000002) 140797 Aircraft="Boeing 737-800 EPAV" 141000 Starting everything now ... 141094 ASN active function link set 141094 Ready for ActiveSky WX radar with additional data 141156 Plug-in thread table check:
  11. Pete, The default a/c I tried were the Baron 58 and the B737. Al
  12. Yes, I get the value 2 for a number of different default and add-on a/c. I guess as you say it is a case of non 0 means true. I'll be careful to code accordingly in the future. I don't know how I managed to post in the wrong forum this time -- sorry. Thanks for the help, Al
  13. Hi Pete, When debugging some code I found that when reading offset 060C with ipc.readUB(0x060C) for an a/c with a retractable landing gear the value returned was 2 instead of 1 as specified in the offset documentation. Is this just a simple documentation typo, or perhaps is there some additional significance (some characteristic of the landing gear) associated with the "2" versus the "1" ? With a fixed gear a/c the value returned is 0 as expected. Thanks, Al FSX with SP2, FSUIPCv4.971, Win10
  14. I think I understand now. If I have three functions assigned to one button or key and want two of them to be general and one profile specific, I just need to put the two general function assignments in the General section of the FSUIPC ini file, and put all three function assignments in the a/c profile specific section of the FSUIPC ini file. Thanks for the help Thomas. Al
  15. Hi Pete, If under the General button area of FSUIPC.ini I assign three functions (gear down and two Lua scripts) to button 19 as shown below, all works well. 450=PY,19,C66080,0 -{GEAR_DOWN}- 451=PY,19,CL95:R,0 -{Lua Landing_Params}- 452=PY,19,CL52:R,0 -{Lua AppchAltCalls}- However, if I make one of the Lua script assignments Profile Specific to aircraft A by moving it from the General area to aircraft A's button assignment area, only that script works for aircraft A, the two remaining button 19 functions under the General button area no longer work for aircraft A. I assume this is because in some sense I have made button 19 itself profile specific to aircraft A rather than just the associated Lua script. Do you see anything I can do to resolve this issue? Thanks, Al FSX, FSUIPC 4.971, Win10