Jump to content
The simFlight Network Forums

rozelc

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by rozelc

  1. Just a quick follow up on my original post. Using a modification or the TripleUse.lua that senses the push button of a rotary switch and a couple of other lua programs that sense CW or CCW of that rotary switch I can control the range of the mfd map, range of the pfd map and the barometric setting, in the G1000 nxi. Thank you so much for your help Rozel RngBaroDEC.lua PB_RotaryRange.lua INITIALIZE_VARS.lua FSUIPC7.ini RngBaroINC.lua
  2. Hi John, The VarOut.lua I attached does as I expected but the VarIn.lua doesn't seem to get a nul only. Would you take a look at the VarIn.lua and see if you see my error. Rozel VarIn.lua
  3. I have lua program that sets a variable to 1. VarOut.lua. In the attached FSUIPC.log shows “18156 LUA.3: Global: Var1 = 1”. I have another lua program that I hoped would read and evaluate Var1 = 1. VarIn.lua Var1 is however only evaluated as == nil Usually when I have problems like this it’s typo error of syntactical error. Thanks for looking Rozel VarIn.lua VarOut.lua FSUIPC7.log
  4. Hi John, Adding : [Auto] 1=luazelTripleUse Did the trick. BTW I’ve been using FSUIPC since the days of EPIC. Thank you again. Best Rozel
  5. Hi John, *********************Success *********************** I added [Auto] 1=zelTripleUse and nothing happened. And then I added a button to run 1037=PE,13,CL4:D,0 -{LuaDebug zelTripleUse}- Now all is working. I don’t understand the need for -{LuaDebug zelTripleUse}-. Is there something in the “FSUIPC7 for Advanced User’s manual I should be reading? Lots of information there but for me it's like trying "to get a drink of water from a fire hose". FSUIPC7.ini
  6. Hi John, Thanks for the response. And thanks to FSUIPC7 I can in the 172 G1000nxi ver.6 I can take off from KRFD rwy 25 climb to 4000’ using the autopilot fly the RNAVgps25 and land with only using mouse to activate VNV. Nothing to do with tripleuse.lua. That being said I see including this chunk of my fsuipc.ini was not helpful. Here is the modified tripleuse.lua, zelTripleUse.lua and the debug log. The log includes a long press 4 seconds, a short press and a double press. I think I’m missing something important in my fsuipc setup is missing as nothing happens in the sim when I press the key to activate the lua file. Thanks again. Rozel zelTripleUse.lua FSUIPC7.log
  7. Hi All, I’m trying to use the lua example TrippleUse.lua without much success. I’m presently using a push button and steering switch to change between Nav radio 1 and 2 or Com radio 1 and 2. And 2 more buttons to swap the frequencies of the active Nav or Com radios. When using TrippleUse.lua I get unpredictable results. 200=CP(-C,29)C,16,C33290,0 -{:MobiFlight.AS1000_MFD_NAV_Push}- 201=CP(+C,29)C,16,C33297,0 -{:MobiFlight.AS1000_MFD_COM_Push}- 121=PC,38,C33285,0 -{:MobiFlight.AS1000_MFD_NAV_Switch}- 122=PC,34,C33292,0 -{:MobiFlight.AS1000_MFD_COM_Switch}- I was hoping to use a button with a long press to do the Push and a short press to do the Switch. Thanks for looking.
  8. Problem solved.🥵 It seems I didn't read the MobiFlight command list closely enough. The command I needed was there all along. AS1000_MFD_FMS_Upper_PUSH Thanks again.
  9. John, Thank you for the reply. I'll give those a try and report back. Rozel
  10. Hello, I’m trying to control the MSFS 172 G1000 pfd autopilot and the mfd map using a Bodner interface(joy C) with 4 concentric rotary switches and 4 spst switches, Saitec Cyborg Command Unit (joy B), Saitec X-55 stick (joy A). I’m having success using the above joy inputs with most of the 172 G1000 MFD controls, except FMS rotary (Push CRSR) #49=RB,8,C33558,0 -{:MobiFlight.AS1000_MFD_CRS_PUSH}-does not work. I’ve tried various ways to actuate that switch with no success. See line 49. Is anyone able to get a button box to actuate Push Crsr control? Here’s a section of my fsuipc.ini. I haven’t found any other problems with the testing I’ve done so far. Any comments would be appreciated. Thanks for looking. Rozel Win 10 Pro 64 - i7 5820k - GTX 980 - 240GB SSD - 1TB HDD - 8GB RAM - NVIDIA Driver 355.60 MSFS 2020 Saitek X55, Saitek Cyborg Gamepad, Bodner interface. [Buttons] PollInterval=25 ButtonRepeat=20,10 1=CP(+B,23)B,10,C1017,0 -{ap alt var inc fast}- 2=CP(+B,23)B,11,C1016,0 -{ap alt var dec fast}- 3=CP(+B,23)B,13,C65892,0 -{AP_ALT_VAR_INC}- 4=CP(+B,23)B,12,C65893,0 -{AP_ALT_VAR_DEC}- 5=CP(-B,23)B,10,C1025,0 -{heading bug inc fast}- 6=CP(-B,23)B,11,C1024,0 -{heading bug dec fast}- 7=CP(-B,23)B,13,C65879,0 -{HEADING_BUG_INC}- 8=CP(-B,23)B,12,C65880,0 -{HEADING_BUG_DEC}- 11=PB,0,C33581,0 -{:MobiFlight.AS1000_MFD_FMS_Lower_INC}- 12=PB,1,C33582,0 -{:MobiFlight.AS1000_MFD_FMS_Lower_DEC}- 13=PA,0,K90,8 -{Key press: Z}- 14=PB,4,C1029,0 -{vor2 obi inc fast}- 15=PB,5,C1028,0 -{vor2 obi dec fast}- 18=PB,3,C33578,0 -{:MobiFlight.AS1000_MFD_FMS_Upper_INC}- 19=PB,2,C33579,0 -{:MobiFlight.AS1000_MFD_FMS_Upper_DEC}- 20=PB,21,C33583,0 -{:MobiFlight.AS1000_MFD_RANGE_INC}- 21=PB,20,C33584,0 -{:MobiFlight.AS1000_MFD_RANGE_DEC}- 30=PB,7,C65665,0 -{VOR2_OBI_INC}- 31=PB,6,C65664,0 -{VOR2_OBI_DEC}- 32=CP(+B,24)B,14,C65637,0 -{COM_RADIO_WHOLE_INC}- 33=CP(+B,24)B,15,C65636,0 -{COM_RADIO_WHOLE_DEC}- 34=CP(+B,24)B,17,C65639,0 -{COM_RADIO_FRACT_INC}- 35=CP(+B,24)B,16,C65638,0 -{COM_RADIO_FRACT_DEC}- 36=CP(-B,24)B,14,C32773,0 -{:MobiFlight.AS1000_PFD_NAV_Large_INC}- 37=CP(-B,24)B,15,C32774,0 -{:MobiFlight.AS1000_PFD_NAV_Large_DEC}- 38=CP(-B,24)B,17,C32775,0 -{:MobiFlight.AS1000_PFD_NAV_Small_INC}- 39=CP(-B,24)B,16,C32776,0 -{:MobiFlight.AS1000_PFD_NAV_Small_DEC}- 44=RC,16,C33571,0 -{:MobiFlight.AS1000_MFD_DIRECTTO}- 45=RC,17,C33575,0 -{:MobiFlight.AS1000_MFD_MENU_Push}- 46=PC,13,C33577,0 -{:MobiFlight.AS1000_MFD_PROC_Push}- 47=PC,18,K90,8 -{Key press: Z}- 48=PC,15,C33571,0 -{:MobiFlight.AS1000_MFD_DIRECTTO}- 49=RB,8,C33558,0 -{:MobiFlight.AS1000_MFD_CRS_PUSH}- 50=PC,11,C33576,0 -{:MobiFlight.AS1000_MFD_FPL_Push}- 51=PC,12,C33574,0 -{:MobiFlight.AS1000_MFD_CLR}- 52=PC,8,C33572,0 -{:MobiFlight.AS1000_MFD_ENT_Push}- 53=PC,2,K72,10 -{Key press: ctl+H}- 55=PC,3,K65,26 -{Key press: alt+ctl+A}- [Event] 0=MobiFlight.AS1000_PFD_SOFTKEYS_2# 1=MobiFlight.AS1000_MFD_SOFTKEYS_2 3=MobiFlight.AS1000_MFD_VOL_1_INC
×
×
  • 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.