Jump to content
The simFlight Network Forums

aua668

Members
  • Posts

    382
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by aua668

  1. Hi,

    It's definitely not a controller issue. I have calibrated my throttles with an idle zone via FSUIPC.  The value is always on idle, which I can read out externally with an app on a second PC. It's moving very slow and therefore you will not detect it immediately - but if you are starting the engines and wait for 10-15 minutes with parkin brakes set (which could happen on a very busy airport before you get the takeoff clearance), you will see, that you are moving. As a hint: look on the bottom of your screen. The lowest pixels will show, that you are moving forward.

    It's the E195 I am using. N1 shows around 23 in idle state. The axis value for throttle 1 and 2 is zero.

    Rgds
    Reinhard

     

  2. Hi,

    When the engines are running on idle and you have set the parking brake, the plane is moving slowly forward. Also if you hold the plane with the toe brakes, you are not able to keep the plane in position, if you wait in line for takeoff. Please check the braking efficiency for the upcomming SP.

    Rgds
    Reinhard

     

  3. Hi,

    You are correct: If the respective FMS is on the RADIO page, the corresponding Lvar is not changing the range. BUT: each of the variables always changes the range on BOTH MFDs synchronously (if not on RADIO page). So FMS1 variable change left and right MFD and FMS2 variable also both. I would have assumed, that it is possible to change the range independently (FMS1 for left MFD and FMS2 for right MFD).

    Rgds
    Reinhard

     

  4. Hi,

    Here is something for the upcoming SP: You added the possibility to control all functions via Lvars, which is great for cockpit configurations with hardware, where you have no mouse. The following Lvars control the range visible on the MFDs:

    L:EmbFms1OuterClick
    L:EmbFms2OuterClick

    With the parameter +1 or -1 we now can adjust the range. But obviously there is a small bug introduced by copy and paste in the code: L:EmbFms1OuterClick changes the range for both MFDs while L:EmbFms2OuterClick has no function. Maybe you look into your code. This should be easily to fix. And then we have the possibility to change the range on both MFDs independently.

    Another great feature would be, if you would provide the value the currently selected range in an additional Lvar.

    But: It's really great, that we have now this possibility and that you have provided that open interface for cockpit builders.

    Rgds
    Reinhard

     

     

     

  5. Hi,

    Here is a list of the Lvars used in E195:

    L:AtDiscClick = 0
    L:B737GndSpoiler1 = 0
    L:B737GndSpoiler2 = 0
    L:EmbAcBusTies = 0
    L:EmbAcBusTiesClick = 0
    L:EmbAcPump1 = 1
    L:EmbAcPump1Click = 0
    L:EmbAcPump1Pos = 2821
    L:EmbAcPump2 = 1
    L:EmbAcPump2Click = 0
    L:EmbAcPump2Pos = 3106
    L:EmbAftCargoSmokeClick = 0
    L:EmbAftCargoSmokeCover = 0
    L:EmbAftCargoSmokeLight = 0
    L:EmbAirBleed1 = 0
    L:EmbAirBleed1Click = 0
    L:EmbAirBleed2 = 0
    L:EmbAirBleed2Click = 0
    L:EmbAirBleedApu = 0
    L:EmbAirBleedApuClick = 0
    L:EmbAirPack1 = 0
    L:EmbAirPack1Click = 0
    L:EmbAirPack2 = 0
    L:EmbAirPack2Click = 0
    L:EmbAirRecirc = 0
    L:EmbAirRecircClick = 0
    L:EmbAirXBleed = 0
    L:EmbAirXBleedClick = 0
    L:EmbAltKnob = 0
    L:EmbAltKnobClick = 0
    L:EmbApAltClick = 0
    L:EmbApAppClick = 0
    L:EmbApBankClick = 0
    L:EmbApClick = 0
    L:EmbApFlchClick = 0
    L:EmbApFpaClick = 0
    L:EmbApHdgClick = 0
    L:EmbApNavClick = 0
    L:EmbApSpdInner = 0
    L:EmbApSpdInnerClick = 0
    L:EmbApSpdOuterClick = 0
    L:EmbApSpdOuterPos = 1
    L:EmbApSrcClick = 0
    L:EmbApu = 0
    L:EmbApuClick = 0
    L:EmbApuEmergStopClick = 0
    L:EmbApuEmergStopRed = 0
    L:EmbApuEmergStopSafety = 0
    L:EmbApuEmergStopSafetyClick = 0
    L:EmbApuEmergStopWhite = 0
    L:EmbApuFireCover = 0
    L:EmbApuFireLight = 0
    L:EmbApuGenButton = 1
    L:EmbApuGenClick = 0
    L:EmbApuGenLit = 0
    L:EmbApVnavClick = 0
    L:EmbApVsClick = 0
    L:EmbApYoke = 0
    L:EmbAtClick = 0
    L:EmbAudio1Adf1Light = 0
    L:EmbAudio1Adf2Light = 0
    L:EmbAudio1BkVolClick = 0
    L:EmbAudio1BkVolEnabled = 0
    L:EmbAudio1BkVolRotate = 50
    L:EmbAudio1CabLight = 0
    L:EmbAudio1Dme1Light = 0
    L:EmbAudio1Dme2Light = 0
    L:EmbAudio1EmerLight = 0
    L:EmbAudio1HdphLight = 0
    L:EmbAudio1HfLight = 0
    L:EmbAudio1HfMicLight = 0
    L:EmbAudio1IdLight = 0
    L:EmbAudio1InphLight = 0
    L:EmbAudio1MicPos = 0
    L:EmbAudio1MkrLight = 0
    L:EmbAudio1Nav1Light = 0
    L:EmbAudio1Nav2Light = 0
    L:EmbAudio1Nav3Light = 0
    L:EmbAudio1PaLight = 0
    L:EmbAudio1PaMicLight = 0
    L:EmbAudio1RampLight = 0
    L:EmbAudio1SpkrLight = 0
    L:EmbAudio1Vhf3Light = 0
    L:EmbAudio1Vhf3MicLight = 0
    L:EmbAudio1Vol = 50
    L:EmbAudio1VolClick = 0
    L:EmbAudio2Adf1Light = 0
    L:EmbAudio2Adf2Light = 0
    L:EmbAudio2BkVolClick = 0
    L:EmbAudio2BkVolEnabled = 0
    L:EmbAudio2BkVolRotate = 50
    L:EmbAudio2CabLight = 0
    L:EmbAudio2Dme1Light = 0
    L:EmbAudio2Dme2Light = 0
    L:EmbAudio2EmerLight = 0
    L:EmbAudio2HdphLight = 0
    L:EmbAudio2HfLight = 0
    L:EmbAudio2HfMicLight = 0
    L:EmbAudio2IdLight = 0
    L:EmbAudio2InphLight = 0
    L:EmbAudio2MicPos = 0
    L:EmbAudio2MkrLight = 0
    L:EmbAudio2Nav1Light = 0
    L:EmbAudio2Nav2Light = 0
    L:EmbAudio2Nav3Light = 0
    L:EmbAudio2PaLight = 0
    L:EmbAudio2PaMicLight = 0
    L:EmbAudio2RampLight = 0
    L:EmbAudio2SpkrLight = 0
    L:EmbAudio2Vhf3Light = 0
    L:EmbAudio2Vhf3MicLight = 0
    L:EmbAudio2Vol = 50
    L:EmbAudio2VolClick = 0
    L:EmbAudio3Vol = 0
    L:EmbAudio3VolClick = 0
    L:EmbAudioAdf1Click = 0
    L:EmbAudioAdf2Click = 0
    L:EmbAudioCabClick = 0
    L:EmbAudioDme1Click = 0
    L:EmbAudioDme2Click = 0
    L:EmbAudioEmerClick = 0
    L:EmbAudioHdphClick = 0
    L:EmbAudioHfClick = 0
    L:EmbAudioHfMicClick = 0
    L:EmbAudioIdClick = 0
    L:EmbAudioInphClick = 0
    L:EmbAudioMkrClick = 0
    L:EmbAudioNav1Click = 0
    L:EmbAudioNav2Click = 0
    L:EmbAudioNav3Click = 0
    L:EmbAudioPaClick = 0
    L:EmbAudioPaMicClick = 0
    L:EmbAudioRampClick = 0
    L:EmbAudioSpkrClick = 0
    L:EmbAudioVhf1Click = 0
    L:EmbAudioVhf1Light = 1
    L:EmbAudioVhf1MicClick = 0
    L:EmbAudioVhf1MicLight = 1
    L:EmbAudioVhf2Click = 0
    L:EmbAudioVhf2Light = 0
    L:EmbAudioVhf2MicClick = 0
    L:EmbAudioVhf2MicLight = 0
    L:EmbAudioVhf3Click = 0
    L:EmbAudioVhf3Light = 0
    L:EmbAudioVhf3MicClick = 0
    L:EmbAutobrake = 1
    L:EmbAutobrakeClick = 0
    L:EmbBaro1Inner = 0
    L:EmbBaro1InnerClick = 0
    L:EmbBaro1OuterClick = 0
    L:EmbBaro1OuterPos = 1
    L:EmbBaro2Inner = 0
    L:EmbBaro2InnerClick = 0
    L:EmbBaro2OuterClick = 0
    L:EmbBaro2OuterPos = 1
    L:EmbBatt1 = 1
    L:EmbBatt1Click = 0
    L:EmbBatt2 = 1
    L:EmbBatt2Click = 0
    L:EmbBcnLt = 0
    L:EmbBcnLtClick = 0
    L:EmbCabinLtTimer = 0
    L:EmbCabinLtTimerCover = 0
    L:EmbCabinTemp = 0.45454546809196
    L:EmbCabinTempClick = 0
    L:EmbCautionClick = 0
    L:EmbCautionLit = 0
    L:EmbChartLt = 0
    L:EmbChartLtClick = 0
    L:EmbClock1ChrClick = 0
    L:EmbClock1Click = 0
    L:EmbClock1Et = 0
    L:EmbClock1EtClick = 0
    L:EmbClock1RstClick = 0
    L:EmbClock2ChrClick = 0
    L:EmbClock2RstClick = 0
    L:EmbClock2YokePos = 0
    L:EmbCockpitTemp = 0.54545456171036
    L:EmbCockpitTempClick = 0
    L:EmbCptdoorInhibClick = 0
    L:EmbCptdoorInhibLight = 0
    L:EmbCptdoorLockClick = 0
    L:EmbCptdoorLockCover = 0
    L:EmbCptdoorLockLight = 1
    L:EmbCptdoorTestClick = 0
    L:EmbCptdoorUnlockedLight = 1
    L:EmbCrossFeed = 1
    L:EmbCrossFeedClick = 0
    L:EmbCrossFeedPos = 2896
    L:EmbCrs1 = 0
    L:EmbCrs1Click = 0
    L:EmbCrs2 = 0
    L:EmbCrs2Click = 0
    L:EmbCtrAileronDisconnect = 0
    L:EmbCtrElevatorClick = 0
    L:EmbCtrElevatorCover = 0
    L:EmbCtrElevatorDisconnect = 0
    L:EmbCtrElevatorLight = 0
    L:EmbCtrRudderClick = 0
    L:EmbCtrRudderCover = 0
    L:EmbCtrRudderLight = 0
    L:EmbCtrShaker1Click = 0
    L:EmbCtrShaker1Light = 0
    L:EmbCtrShaker2Click = 0
    L:EmbCtrShaker2Light = 0
    L:EmbCtrSpoilerClick = 0
    L:EmbCtrSpoilerCover = 0
    L:EmbCtrSpoilerLight = 0
    L:EmbCtrSys1CutoutCover = 0
    L:EmbCtrSys1CutoutLight = 0
    L:EmbCtrSys2CutoutCover = 0
    L:EmbCtrSys2CutoutLight = 0
    L:EmbDcBusTies = 1
    L:EmbDcBusTiesClick = 0
    L:EmbDcPump = 1
    L:EmbDcPumpClick = 0
    L:EmbDcPumpPos = 2927
    L:EmbDH1Inner = 0
    L:EmbDH1InnerClick = 0
    L:EmbDH1OuterClick = 0
    L:EmbDH1OuterPos = 0
    L:EmbDH2Inner = 0
    L:EmbDH2InnerClick = 0
    L:EmbDH2OuterClick = 0
    L:EmbDH2OuterPos = 0
    L:EmbDomeLt = 0
    L:EmbDomeLtClick = 0
    L:EmbDvdrControl = 0
    L:EmbEicasBright = 57.207210540771
    L:EmbEicasBrightClick = 0
    L:EmbEicasFullClick = 0
    L:EmbEicasFullLight = 0
    L:EmbEmergLt = 0
    L:EmbEmergLtClick = 0
    L:EmbEmergLtPos = 2812
    L:EmbEmergParkingBrakeLit = 1
    L:EmbEng1Heat = 0
    L:EmbEng1HeatClick = 0
    L:EmbEng2Heat = 0
    L:EmbEng2HeatClick = 0
    L:EmbFd1Click = 0
    L:EmbFd2Click = 0
    L:EmbFireTestClick = 0
    L:EmbFms1AN = 0
    L:EmbFms1Inner = 0
    L:EmbFms1InnerClick = 0
    L:EmbFms1Outer = 0
    L:EmbFms1OuterClick = 0
    L:EmbFms1Special = 0
    L:EmbFms2AN = 0
    L:EmbFms2Inner = 0
    L:EmbFms2InnerClick = 0
    L:EmbFms2Outer = 0
    L:EmbFms2OuterClick = 0
    L:EmbFms2Special = 0
    L:EmbFmsBrt1 = 1
    L:EmbFmsBrt1Click = 0
    L:EmbFmsBrt2 = 1
    L:EmbFmsBrt2Click = 0
    L:EmbFpaKnob = 0
    L:EmbFpaKnobClick = 0
    L:EmbFstnLt = 0
    L:EmbFstnLtClick = 0
    L:EmbFwdCargoSmokeClick = 0
    L:EmbFwdCargoSmokeCover = 0
    L:EmbFwdCargoSmokeLight = 0
    L:EmbGen1 = 2
    L:EmbGen1Click = 0
    L:EmbGen1Pos = 2245
    L:EmbGen2 = 2
    L:EmbGen2Click = 0
    L:EmbGen2Pos = 2442
    L:EmbGenLDiscLit = 0
    L:EmbGenRDiscLit = 0
    L:EmbGpuButton = 1
    L:EmbGpuClick = 0
    L:EmbGpuLit = 2
    L:EmbGpwsFlapClick = 0
    L:EmbGpwsFlapCoverClick = 0
    L:EmbGpwsFlapCoverOpen = 0
    L:EmbGpwsFlapLit = 0
    L:EmbGpwsGsClick = 0
    L:EmbGpwsGsLit = 0
    L:EmbGpwsLandingGearClick = 0
    L:EmbGpwsLandingGearCoverClick = 0
    L:EmbGpwsLandingGearCoverOpen = 0
    L:EmbGpwsLandingGearLit = 0
    L:EmbGpwsTerrainClick = 0
    L:EmbGpwsTerrainLit = 0
    L:EmbHdg = 0
    L:EmbHdgClick = 0
    L:EmbHsi1Click = 0
    L:EmbHsi2Click = 0
    L:EmbHydEng1 = 0
    L:EmbHydEng1Click = 0
    L:EmbHydEng1Cover = 0
    L:EmbHydEng1CoverClick = 0
    L:EmbHydEng2 = 0
    L:EmbHydEng2Click = 0
    L:EmbHydEng2Cover = 0
    L:EmbHydEng2CoverClick = 0
    L:EmbHydPtu = 1
    L:EmbHydPtuClick = 0
    L:EmbHydPump1 = 1
    L:EmbHydPump1Click = 0
    L:EmbHydPump2 = 1
    L:EmbHydPump2Click = 0
    L:EmbHydPumpA = 0
    L:EmbHydPumpAClick = 0
    L:EmbHydPumpB = 1
    L:EmbHydPumpBClick = 0
    L:EmbIceOvrd = 0
    L:EmbIceOvrdClick = 0
    L:EmbIceTest = 1
    L:EmbIceTestClick = 0
    L:EmbIgnitionL = 1
    L:EmbIgnitionLClick = 0
    L:EmbIgnitionR = 1
    L:EmbIgnitionRClick = 0
    L:EmbInspLt = 0
    L:EmbInspLtClick = 0
    L:EmbIsiCage = 0
    L:EmbIsiCageClick = 0
    L:EmbIsiDecBright = 0
    L:EmbIsiDecBrightClick = 0
    L:EmbIsiIncBright = 0
    L:EmbIsiIncBrightClick = 0
    L:EmbIsiKnob = 0
    L:EmbIsiKnobClick = 0
    L:EmbIsiStd = 0
    L:EmbIsiStdClick = 0
    L:EmbLandLt1 = 0
    L:EmbLandLt1Click = 0
    L:EmbLandLt2 = 0
    L:EmbLandLt2Click = 0
    L:EmbLandLt3 = 0
    L:EmbLandLt3Click = 0
    L:EmbLeftWiperKnob = 1
    L:EmbLeftWiperKnobClick = 0
    L:EmbLfe = 1
    L:EmbLfeClick = 0
    L:EmbLogoLt = 0
    L:EmbLogoLtClick = 0
    L:EmbMfd1Bright = 57.207210540771
    L:EmbMfd1BrightClick = 0
    L:EmbMfd2Bright = 57.207210540771
    L:EmbMfd2BrightClick = 0
    L:EmbNavLt = 0
    L:EmbNavLtClick = 0
    L:EmbOverheadPanelLt = 0
    L:EmbOverheadPanelLtClick = 0
    L:EmbPanelFloodLt = 0
    L:EmbPanelFloodLtClick = 0
    L:EmbPanelLt = 0
    L:EmbPanelLtClick = 0
    L:EmbPaxAddress1Click = 0
    L:EmbPaxAddress2Click = 0
    L:EmbPaxOxy = 1
    L:EmbPaxOxyClick = 0
    L:EmbPcPower = 0
    L:EmbPcPowerCover = 0
    L:EmbPedestalPanelLt = 0
    L:EmbPedestalPanelLtClick = 0
    L:EmbPfd1Brg1Click = 0
    L:EmbPfd1Brg2Click = 0
    L:EmbPfd1Bright = 57.207210540771
    L:EmbPfd1BrightClick = 0
    L:EmbPfd1FmsClick = 0
    L:EmbPfd1FprClick = 0
    L:EmbPfd1NavClick = 0
    L:EmbPfd1PrevClick = 0
    L:EmbPfd1WxClick = 0
    L:EmbPfd2Brg1Click = 0
    L:EmbPfd2Brg2Click = 0
    L:EmbPfd2Bright = 57.207210540771
    L:EmbPfd2BrightClick = 0
    L:EmbPfd2FmsClick = 0
    L:EmbPfd2FprClick = 0
    L:EmbPfd2NavClick = 0
    L:EmbPfd2PrevClick = 0
    L:EmbPfd2WxClick = 0
    L:EmbPitchTrim = 1
    L:EmbPitchTrimClick = 0
    L:EmbPressDumpSafety = 0
    L:EmbPressMode = 0
    L:EmbPressModeClick = 0
    L:EmbPrinterOff = 0
    L:EmbPrinterOffClick = 0
    L:EmbPrinterPprAdvClick = 0
    L:EmbPrinterTest = 0
    L:EmbPrinterTestClick = 0
    L:EmbRev1Knob = 1
    L:EmbRev1KnobClick = 0
    L:EmbRev2Knob = 1
    L:EmbRev2KnobClick = 0
    L:EmbRevAds1Click = 0
    L:EmbRevAds1Lit = 0
    L:EmbRevAds2Click = 0
    L:EmbRevAds2Lit = 0
    L:EmbRevIRS1Click = 0
    L:EmbRevIRS1Lit = 0
    L:EmbRevIRS2Click = 0
    L:EmbRevIRS2Lit = 0
    L:EmbRightWiperKnob = 1
    L:EmbRightWiperKnobClick = 0
    L:EmbRollTrim = 1
    L:EmbRollTrimClick = 0
    L:EmbSmokeLt = 0
    L:EmbSmokeLtClick = 0
    L:EmbStarterL = 0
    L:EmbStarterLClick = 0
    L:EmbStarterLCover = 0
    L:EmbStarterLCoverClick = 0
    L:EmbStarterR = 0
    L:EmbStarterRClick = 0
    L:EmbStarterRCover = 0
    L:EmbStarterRCoverClick = 0
    L:EmbSterileLt = 0
    L:EmbSterileLtClick = 0
    L:EmbStrobeLt = 0
    L:EmbStrobeLtClick = 0
    L:EmbTaxiLtNose = 0
    L:EmbTaxiLtNoseClick = 0
    L:EmbTaxiLtSide = 0
    L:EmbTaxiLtSideClick = 0
    L:EmbTcsYoke = 0
    L:EmbTru1 = 1
    L:EmbTru1Click = 0
    L:EmbTru2 = 1
    L:EmbTru2Click = 0
    L:EmbTruEss = 1
    L:EmbTruEssClick = 0
    L:EmbVsKnob = 100
    L:EmbVsKnobClick = 0
    L:EmbWarningClick = 0
    L:EmbWarningLit = 0
    L:EmbWaterDump = 0
    L:EmbWaterDumpCover = 0
    L:EmbWindowL = 0
    L:EmbWindowLClick = 0
    L:EmbWindowLLock = 0
    L:EmbWindowR = 0
    L:EmbWindowRClick = 0
    L:EmbWindowRLock = 0
    L:EmbWingHeat = 0
    L:EmbWingHeatClick = 0
    L:EmbWndShld1 = 1
    L:EmbWndShld1Click = 0
    L:EmbWndShld2 = 1
    L:EmbWndShld2Click = 0
    L:EmbYawTrim = 1
    L:EmbYawTrimClick = 0
    L:EmbYdClick = 0
    L:EmbYokeHidden = 0
    L:EMB_AC1_POWERED = 1
    L:EMB_AC2_POWERED = 1
    L:EMB_AC_ESS_POWERED = 1
    L:emb_armrest_copilot = 0
    L:emb_armrest_pilot = 0
    L:emb_copilotfwdaft = 0
    L:emb_copilotheight = 0
    L:EMB_DC1_POWERED = 1
    L:EMB_DC2_POWERED = 1
    L:EMB_DC_ESS1_POWERED = 1
    L:EMB_DC_ESS2_POWERED = 1
    L:EMB_DC_ESS3_POWERED = 1
    L:emb_fake_camera_control = 0
    L:emb_fake_camera_pwr = 0
    L:EMB_IS_VC_VIEW = 1
    L:emb_jumpseat = 0
    L:EMB_LIGHTS_POWERED = 1
    L:emb_pilotfwdaft = 0
    L:emb_pilotheight = 0
    L:Eng1_RPM = 0
    L:ErjLeftReverser = 0
    L:ErjLeftWiper = 0
    L:ErjLeftWiperExt = 0
    L:ErjRightReverser = 0
    L:ErjRightWiper = 0
    L:ErjRightWiperExt = 0
    L:ErjSpoilerLever = 0
    L:ErjSpoilerLeverPressed = 0
    L:ErjThrottle1Lever = 25
    L:ErjThrottle1LeverPressed = 0
    L:ErjThrottle2Lever = 25
    L:ErjThrottle2LeverPressed = 0
    L:lightsolution = 0
    L:Paused = 0
    L:PrecipRate = 0
    L:PrecipType = 0
    L:ToCheckClick = 0
    L:ToGaClick = 0
    

    Typically the variables with "Click" at the end operate the switches. The parameter +1 or -1 trigger left and right click if applicable.

    Rgds
    Reinhard

     

    • Like 1
  6. Hi,

    No - ipc.readLvar() function reads the Lvars like L:OHD_AC_CTRL_GEN1_SW. here is a list of the variables:

    L:CPT_CONS_LDG_FLAP_INH_GUARD = 0
    L:EFIS_ADC_SRC = 0
    L:EFIS_ATTHDG_SRC = 0
    L:ENG_LEFT_DOOR_POS = 0
    L:ENG_RIGHT_DOOR_POS = 0
    L:FC_AILERON_LEFT = -0
    L:FC_AILERON_RIGHT = 0
    L:FC_COLUMN_LEFT = 50.015181303024
    L:FC_COLUMN_RIGHT = 50.015181303024
    L:FC_ELEVATOR_LEFT = -14.99771105028
    L:FC_ELEVATOR_RIGHT = -14.998748369733
    L:FC_FLAPS_LEFT = 0
    L:FC_FLAPS_RIGHT = 0
    L:FC_GEAR_DOOR_POS_LEFT = 0.5
    L:FC_GEAR_DOOR_POS_NOSE = 0.8
    L:FC_GEAR_DOOR_POS_RIGHT = 0.5
    L:FC_GEAR_LEFT_STRUT = 83.345882343581
    L:FC_GEAR_NOSE = 100
    L:FC_GEAR_NOSE_STRUT = 85.00757313897
    L:FC_GEAR_POS_LEFT = 180
    L:FC_GEAR_POS_RIGHT = 180
    L:FC_GEAR_RIGHT_STRUT = 83.335765407711
    L:FC_NOSE_WHEEL_STEERING = 100
    L:FC_PEDALS_LEFT = 49.999848008156
    L:FC_PEDALS_RIGHT = 49.999848008156
    L:FC_RUDDER = -0
    L:FC_SPOILER_LI = 0
    L:FC_SPOILER_LO = 0
    L:FC_SPOILER_RI = 0
    L:FC_SPOILER_RO = 0
    L:FC_WHEEL_LEFT = 50.414788722992
    L:FC_WHEEL_RIGHT = 50.414788722992
    L:Filter = 0
    L:FSDT_VAR_Frozen = 0
    L:GS_ALTSEL_KNOB_ANGLE = 0
    L:GS_ANTISKID_SW = 0
    L:GS_CLK1_ARROW_POS = 0
    L:GS_CLK1_SELECTOR_POS = 2
    L:GS_CLK2_ARROW_POS = 0
    L:GS_CLK2_SELECTOR_POS = 2
    L:GS_CRS1_KNOB_ANGLE = 100
    L:GS_CRS2_KNOB_ANGLE = 100
    L:GS_HDG1_KNOB_ANGLE = 0
    L:GS_HDG2_KNOB_ANGLE = 0
    L:GS_NAV1_KNOB_ANGLE = 14
    L:GS_NAV2_KNOB_ANGLE = 21
    L:GS_PITCH_WHEEL_ANGLE = 50
    L:GS_SPOILERS_SW = 1
    L:LastLeftPropPos = 0
    L:LastRightPropPos = 0
    L:LayerAirports = 0
    L:LayerAirspaces = 0
    L:LayerCompass = 0
    L:LayerILSs = 0
    L:LayerIntersections = 0
    L:LayerLowAirways = 0
    L:LayerNDBs = 0
    L:LayerRangeRings = 0
    L:LayerTags = 0
    L:LayerTerrain = 0
    L:LayerVORs = 0
    L:MAINPANEL_PUSHBUTTONS = 0
    L:MAIN_ALTERNATE_STATIC_POS = 0
    L:MAIN_GEAR_HANDLE_POS = 1
    L:MAIN_GEAR_HORN_SW = 0
    L:MAIN_GEAR_LOCK_POS = 0
    L:MAIN_GPWS_FLAP_SLCTR_POS = 0
    L:MAIN_INDX1_DH_KNOB_ANGLE = 53
    L:MAIN_INDX1_DH_MDA_SW = 0
    L:MAIN_INDX1_QNH_KNOB_ANGLE = 59
    L:MAIN_INDX1_SPDBUG_KNOB_ANGLE = 67
    L:MAIN_INDX2_DH_KNOB_ANGLE = 42
    L:MAIN_INDX2_DH_MDA_SW = 0
    L:MAIN_INDX2_QNH_KNOB_ANGLE = 79
    L:MAIN_INDX2_SPDBUG_KNOB_ANGLE = 69
    L:MAIN_STBY_QNH_KNOB_ANGLE = 0
    L:MapInit = 0
    L:map_ZoomFactor = 0
    L:map_ZoomStep = 0
    L:MJC_VAR_READ_CODE = 9991999
    L:MJC_VAR_READ_VALUE = 0
    L:MJC_VAR_WRITE_CODE = 9991999
    L:MJC_VAR_WRITE_VALUE = 19400
    L:OBS_ADF1_VOL_KNOB = 0
    L:OBS_ADF2_VOL_KNOB = 0
    L:OBS_AUX1_PB = 0
    L:OBS_AUX1_VOL_KNOB = 0
    L:OBS_AUX2_PB = 0
    L:OBS_AUX2_VOL_KNOB = 0
    L:OBS_BOOM_MASK_SW = 0
    L:OBS_DME1_VOL_KNOB = 0
    L:OBS_DME2_VOL_KNOB = 0
    L:OBS_HF_PB = 0
    L:OBS_HF_VOL_KNOB = 0
    L:OBS_INT_PB = 0
    L:OBS_INT_RAD_SW = 0
    L:OBS_INT_VOL_KNOB = 0
    L:OBS_MKR_VOL_KNOB = 0
    L:OBS_VHF1_PB = 0
    L:OBS_VHF1_VOL_KNOB = 0
    L:OBS_VHF2_PB = 0
    L:OBS_VHF2_VOL_KNOB = 0
    L:OBS_VOR1_VOL_KNOB = 0
    L:OBS_VOR2_VOL_KNOB = 0
    L:OBS_VOR_MLS_SW = 0
    L:OHD_ACONDPNL_DUCTTEMP_IND_ANGLE = -15
    L:OHD_AC_CTRL_EXT_PWR_SW = 0
    L:OHD_AC_CTRL_GEN1_SW = 0
    L:OHD_AC_CTRL_GEN2_SW = 0
    L:OHD_AICE_AFRAME_MAN_KNOB_ANGLE = 0
    L:OHD_AICE_AFRAME_MODE_KNOB_ANGLE = 0
    L:OHD_AICE_AFRAME_PROPTIMER_KNOB_ANGLE = 0
    L:OHD_AICE_BOOT_AIR_SW = 0
    L:OHD_AICE_DOOR_PUSHBUTTONS = 0
    L:OHD_AICE_ENG_INTAKE_REF_SW = 0
    L:OHD_AICE_PITOT_1_SW = 0
    L:OHD_AICE_PITOT_2_SW = 0
    L:OHD_AICE_PITOT_STBY_SW = 0
    L:OHD_AIR_COND_BLEED1_SW = 0
    L:OHD_AIR_COND_BLEED2_SW = 0
    L:OHD_AIR_COND_BLEED_KNOB = -1
    L:OHD_AIR_COND_GAUGE_KNOB = 20
    L:OHD_AIR_COND_PACKS1_SW = 0
    L:OHD_AIR_COND_PACKS2_SW = 0
    L:OHD_AIR_COND_RECIRC_SW = 0
    L:OHD_AIR_COND_TEMP_CABIN_KNOB = 49
    L:OHD_AIR_COND_TEMP_FCOMP_KNOB = 49
    L:OHD_APU_PUSHBUTTONS = 0
    L:OHD_CAB_ALT_FWD_OUTFLOW_KNOB = 0
    L:OHD_CAB_ALT_LDG_ALT_KNOB = 52
    L:OHD_CAB_ALT_MODE_SW = 0
    L:OHD_CAB_MAN_OFF_SW = 0
    L:OHD_DC_CNTRL_PNL_AUX_SW = 0
    L:OHD_DC_CNTRL_PNL_EXTPWR_SW = 0
    L:OHD_DC_CNTRL_PNL_GEN1_SW = 0
    L:OHD_DC_CNTRL_PNL_GEN2_SW = 0
    L:OHD_DC_CNTRL_PNL_MAIN_SW = 0
    L:OHD_DC_CNTRL_PNL_MASTER_SW = 0
    L:OHD_DC_CNTRL_PNL_RESET_SW = 0
    L:OHD_DC_CNTRL_PNL_STB_SW = 0
    L:OHD_DC_CNTRL_PNL_TIE_SW = 0
    L:OHD_EMER_LT_ARM_SW = 1
    L:OHD_EMER_LT_CAUT_BRT_SW = 0
    L:OHD_EMER_LT_CAUT_TEST_SW = 0
    L:OHD_EMER_LT_FASTEN_BELTS_SW = 0
    L:OHD_EMER_LT_NO_SMOKING_SW = 1
    L:OHD_ENGSTART_IGN1_KNOB_SW = 1
    L:OHD_ENGSTART_IGN2_KNOB_SW = 1
    L:OHD_ENGSTART_SELECT_SW = 0
    L:OHD_ENG_START_BUTTON = 0
    L:OHD_EXT_LIGHTS_L_APPR_SW = 0
    L:OHD_EXT_LIGHTS_L_FLARE_SW = 0
    L:OHD_EXT_LIGHTS_L_TAXI_SW = 0
    L:OHD_EXT_LT_ACOL_SW = 0
    L:OHD_EXT_LT_LOGO_SW = 0
    L:OHD_EXT_LT_POS_SW = 1
    L:OHD_EXT_LT_WING_SW = 0
    L:OHD_FDR_GNDTEST_SW = 0
    L:OHD_FDR_MODE_SW = 1
    L:OHD_FIRE_BAGGAGE_TEST_SW = 0
    L:OHD_FIRE_ENG1_EXTH_SW = 0
    L:OHD_FIRE_ENG1_PULL_HANDLE = 0
    L:OHD_FIRE_ENG2_EXTH_SW = 0
    L:OHD_FIRE_ENG2_PULL_HANDLE = 0
    L:OHD_FIRE_TEST_DETECTION_SW = 0
    L:OHD_PFD_ALT_UNITS_SW = 0
    L:OHD_PNL_LIGHTS_CENTER_KNOB_ANGLE = 0
    L:OHD_PNL_LIGHTS_DOME_SW = 0
    L:OHD_PNL_LIGHTS_ENGPNL_KNOB_ANGLE = 0
    L:OHD_PNL_LIGHTS_GLARESHIELD_KNOB_ANGLE = 0
    L:OHD_PNL_LIGHTS_OVHD_KNOB_ANGLE = 0
    L:OHD_PNL_LIGHTS_STORM_SW = 0
    L:OHD_PRESSCOMP_CABALT_IND_ANGLE = 7.15
    L:OHD_PRESSCOMP_DIFF_IND_ANGLE = 1.0562358197914e-005
    L:OHD_PRESSCOMP_RATE_IND_ANGLE = 50
    L:OHD_PRESSPNL_LDGALT_IND_ANGLE = 37.136116
    L:OHD_WDO_HEAT_SW = 0
    L:OHD_WSHIELD_HEAT_KNOB_ANGLE = 0
    L:OHD_WSHIELD_WIPER_KNOB_ANGLE = 1
    L:OVH_GUARD_EXT_APU = 0
    L:OVH_GUARD_EXT_BGAFT = 0
    L:OVH_GUARD_EXT_BGFWD = 0
    L:PEDESTAL_PUSHBUTTONS = 0
    L:PED_ALT_FTHR_ONE_GUARD = 0
    L:PED_ALT_FTHR_TWO_GUARD = 0
    L:PED_COM1_FREQ_HI = 50
    L:PED_COM1_FREQ_LOW = 40
    L:PED_COM1_MODE_KNOB = 0
    L:PED_CPT_MFD_BRT_KNOB = 56.250858319982
    L:PED_CPT_NAV_SRC_LFT_KNOB = 4
    L:PED_CPT_NAV_SRC_RGT_KNOB = 0
    L:PED_CPT_PFD_BRT_KNOB = 56.250858319982
    L:PED_CPT_RANGE_KNOB = 2
    L:PED_CPT_WX_BRT_KNOB = 81.251239795529
    L:PED_ED_BRT = 56.250858319982
    L:PED_FO_MFD_BRT_KNOB = 56.250858319982
    L:PED_FO_NAV_SRC_LFT_KNOB = 4
    L:PED_FO_NAV_SRC_RGT_KNOB = 0
    L:PED_FO_PFD_BRT_KNOB = 56.250858319982
    L:PED_FO_RANGE_KNOB = 2
    L:PED_FO_WX_BRT_KNOB = 81.251239795529
    L:PED_FUEL_TRANSFER_SWITCH = 0
    L:PED_IRS_KNOB = 1
    L:PED_MFD1_MODE = 0
    L:PED_PITCH_HANDLE = 0
    L:PED_ROLL_DISC_HANDLE = 0
    L:PED_TRIM_AILERON_SW = 0
    L:PED_TRIM_RUDDER_KNOB = 0
    L:PED_WR_GAIN = 0.0016212710737955
    L:PED_WR_MODE = 0
    L:PED_WR_TILT = 0
    L:PFD_MFD2_MODE = 1
    L:PLANEHEADINGDEGREESGYRO = 0
    L:PROP_LEFT_BLADES_ANGLE = 43.275265038013
    L:PROP_LEFT_DISK_VISUAL_ANGLE = 0.76904296875
    L:PROP_LEFT_RPM = 0
    L:PROP_RIGHT_BLADES_ANGLE = 43.275265038013
    L:PROP_RIGHT_DISK_VISUAL_ANGLE = 0.1495361328125
    L:PROP_RIGHT_RPM = 0
    L:Q400_2PILOT_HEAD = -15
    L:Q400_2PILOT_POS = 0
    L:Q400_AILERON_TRIM_IND_ANGLE = 0
    L:Q400_ALT_LG_EXT_COVER = 0
    L:Q400_ALT_LG_EXT_HANDLE = 0
    L:Q400_ALT_LG_FLOOR_HANDLE = 0
    L:Q400_AP_DISENGAGE_KNOB = 0
    L:Q400_BEACON_SPLASH = 0
    L:Q400_BIRD_STRIKE = 0
    L:Q400_CAMERA_PERSPECTIVE = 1
    L:Q400_COND_LEVER_1 = 0
    L:Q400_COND_LEVER_2 = 0
    L:Q400_CONTROL_LOCK = 100
    L:Q400_DOMELIGHT = 0
    L:Q400_ELEVATOR_TRIM_IND_ANGLE = 99.607843137255
    L:Q400_EMER_HATCH = 0
    L:Q400_FIRE = 0
    L:Q400_FIRE_COCKPIT = 0
    L:Q400_FLAP_POS = 0
    L:Q400_FLARELIGHT = 0
    L:Q400_FUELFLOW_PPH_L = 0
    L:Q400_FUELFLOW_PPH_R = 0
    L:Q400_FWD_WHEEL = 68.006361624844
    L:Q400_GEAR_LEFT_RPM = 0
    L:Q400_GEAR_LOCK_PIN_IN = 1
    L:Q400_GEAR_NOSE_RPM = 0
    L:Q400_GEAR_RIGHT_RPM = 0
    L:Q400_GFORCE_FPS = -32.144016132336
    L:Q400_GPU_VISIBLE = 1
    L:Q400_HUD = 0
    L:Q400_HUD_BRIGHTNESS = 100
    L:Q400_ICING_LEVEL_INTAKES = 0
    L:Q400_ICING_LEVEL_NO_DEICE = 0
    L:Q400_ICING_LEVEL_SIDE_WINDOW = 0
    L:Q400_ICING_LEVEL_TAIL = 0
    L:Q400_ICING_LEVEL_WINDSHIELD = 0
    L:Q400_ICING_LEVEL_WINGS = 0
    L:Q400_LANDLIGHT = 0
    L:Q400_LAND_LTST = 0
    L:Q400_LEFT_WHEEL = 18.554237379552
    L:Q400_LEVER_ANTIMIST = 0
    L:Q400_LG_DNLOCK_VER_SWITCH = 0
    L:Q400_LG_DN_SEL_INH_GUARD = 0
    L:Q400_LG_DN_SEL_INH_SWITCH = 0
    L:Q400_LIGHTTAXI = 0
    L:Q400_LOW_VENT_HANDLE = 0
    L:Q400_LT_FUSES_LEFT_LT = 0
    L:Q400_LT_FUSES_RIGHT_LT = 0
    L:Q400_LT_HALL_LT = 0
    L:Q400_LT_HALL_SW = 0
    L:Q400_LT_MAP_LEFT_LT = 0
    L:Q400_LT_MAP_LEFT_SW = 0
    L:Q400_LT_MAP_RIGHT_LT = 0
    L:Q400_LT_MAP_RIGHT_SW = 0
    L:Q400_LT_PILOT_LEFT_LT = 0
    L:Q400_LT_PILOT_LEFT_SW = 0
    L:Q400_LT_PILOT_RIGHT_LT = 0
    L:Q400_LT_PILOT_RIGHT_SW = 0
    L:Q400_MAN_GEAR_EXT_HANDLE = 0
    L:Q400_MAN_GEAR_EXT_READY = 0
    L:Q400_MIST_COPILOTWIN_LEVEL = 7
    L:Q400_MIST_PILOTWIN_LEVEL = 0
    L:Q400_MIST_WINDSHIELD_LEVEL = 0
    L:Q400_NAV_LIGHTS = 0
    L:Q400_PILOT_HEAD = 0
    L:Q400_PILOT_POS = 0
    L:Q400_PITOT_ISOL_VALVE_GUARD = 0
    L:Q400_POWER_LEVER_1 = 46.35498046875
    L:Q400_POWER_LEVER_2 = 49.69623613931
    L:Q400_PROP_LEFT_RPM = 0
    L:Q400_PROP_RIGHT_RPM = 0
    L:Q400_RAIN_FRAMES = 0
    L:Q400_RIGHT_WHEEL = 18.575972976864
    L:Q400_RUDDER_TRIM_IND_ANGLE = 0
    L:Q400_SIDE_RIGHT_TABLET = 0
    L:Q400_SIDE_TABLET = 0
    L:Q400_STEERING_TILLER = 56.628936767578
    L:Q400_STROBELIGHT_DN = 0
    L:Q400_STROBELIGHT_UP = 0
    L:Q400_SUN_SHIELD_LEFT = 0
    L:Q400_SUN_SHIELD_RIGHT = 0
    L:Q400_TYRE_BLOWN_LEFT = 0
    L:Q400_TYRE_BLOWN_RIGHT = 0
    L:Q400_WINGLIGHT = 0
    L:Q400_WIPER_ANGLE = 0
    L:Q400_WIPER_RIGHT_ANGLE = 0
    L:Q400_YOKE_VISIBILITY = 255
    L:RADIO1_ADF1_KNOB = 0
    L:RADIO1_ADF2_KNOB = 0
    L:RADIO1_AUX1_KNOB = 0
    L:RADIO1_AUX2_KNOB = 0
    L:RADIO1_BOOM_MASK_SW = 0
    L:RADIO1_CENTRAL_KNOB = 0
    L:RADIO1_DME1_KNOB = 0
    L:RADIO1_DME2_KNOB = 0
    L:RADIO1_HF_KNOB = 0
    L:RADIO1_HOT_MIC_SW = 0
    L:RADIO1_MKR_KNOB = 0
    L:RADIO1_NORM_EMER_SW = 0
    L:RADIO1_SERV_INT_KNOB = 25.001525972044
    L:RADIO1_SPKR_KNOB = 0
    L:RADIO1_SRC_SELECTOR = 0
    L:RADIO1_TUNE_HIGH = 23
    L:RADIO1_TUNE_LOW = 67
    L:RADIO1_VHF1_KNOB = 0
    L:RADIO1_VHF2_KNOB = 0
    L:RADIO1_VOR1_KNOB = 0
    L:RADIO1_VOR2_KNOB = 0
    L:RADIO2_ADF1_KNOB = 0
    L:RADIO2_ADF2_KNOB = 0
    L:RADIO2_AUX1_KNOB = 0
    L:RADIO2_AUX2_KNOB = 0
    L:RADIO2_BOOM_MASK_SW = 0
    L:RADIO2_CENTRAL_KNOB = 0
    L:RADIO2_DME1_KNOB = 0
    L:RADIO2_DME2_KNOB = 0
    L:RADIO2_HF_KNOB = 0
    L:RADIO2_HOT_MIC_SW = 0
    L:RADIO2_MKR_KNOB = 0
    L:RADIO2_NORM_EMER_SW = 0
    L:RADIO2_SERV_INT_KNOB = 25.001525972044
    L:RADIO2_SPKR_KNOB = 0
    L:RADIO2_SRC_SELECTOR = 0
    L:RADIO2_TUNE_HIGH = 50
    L:RADIO2_TUNE_LOW = 50
    L:RADIO2_VHF1_KNOB = 0
    L:RADIO2_VHF2_KNOB = 0
    L:RADIO2_VOR1_KNOB = 0
    L:RADIO2_VOR2_KNOB = 0
    L:seatFO = 0
    L:seatKVS = 0
    L:SIDE_PNL_ADC_TEST = 0
    L:SIDE_PNL_CIRC_BRK_LT = 0
    L:SIDE_PNL_FLT_PNL_BRT = 0
    L:SIDE_PNL_FO_CIRC_BRK_LT = 0
    L:SIDE_PNL_FO_DEICE1_IND_ANGLE = 0
    L:SIDE_PNL_FO_DEICE2_IND_ANGLE = 0
    L:SIDE_PNL_FO_FLT_PNL_BRT = 0
    L:SIDE_PNL_FO_OXYGEN_IND_ANGLE = 90
    L:SIDE_PNL_INPH_XMIT = 0
    L:SIDE_PNL_PROP_OSG = 0
    L:SIDE_PNL_STALL_WARN_TEST = 0
    L:SIDE_PNL_STEERING = 0
    L:SIDE_PNL_TO_WARN = 0
    L:SMOKE3STATE = 0
    L:SMOKE4STATE = 0
    L:SMOKE59STATE = 0
    L:SPNL_FORWARD_OUTFLOW_VALVE_GUARD = 0
    L:SPNL_FWD_OUTFLOW_VALVE = 0
    L:VehicleObjectDetail = 0

    The variables in the supplied XLS-Sheet must be handled via the XML-interface.

    Rgds
    Reinhard

     

     

  7. Hi,

    In the included ZIP-File I added two files: One is a definition file for the XML-functions I use with my hardware. The numbers I got from the provided utility, which calculates the hash value for the specific variable.

    The second file is a sample module, which toggles the TOGA button. For every button I have such a routine. In a master file, which is automatically started, I start all my modules for the Q400  with ipc.runlua("<<<modulename>>>")

    For reading values from the XML interface I use one single module transferring all the necessary XML-Values into global variables, which later I can use in different modules. The core of the routine can be seen here:

    -- initialize XML interface to HW
    
    function readXMLIF ( pFunc )						-- function to read specific IF value
    
    	local lMJC_readCode
    	local lMJC_readValue
    	local lCount = 0
    
    	-- select function by hash code
    	ipc.writeLvar("L:MJC_VAR_READ_CODE", pFunc)
    	ipc.sleep(5)
    	
    	-- read results
    	lMJC_readCode = ipc.readLvar("L:MJC_VAR_READ_CODE")
    	
    	-- wait if not ready
    	while lMJC_readCode ~= 9991999 and lMJC_readCode ~= 9992999 and lCount < 20
    	do
    		lCount = lCount + 1
    		ipc.sleep(10)
    		lMJC_readCode = ipc.readLvar("L:MJC_VAR_READ_CODE")
    	end
    
    	if lMJC_readCode == 9991999 then
    		lMJC_readValue = ipc.readLvar("L:MJC_VAR_READ_VALUE")	-- success
    	else
    		lMJC_readValue = 9992999								-- variable not found
    		ipc.log("Error reading MJC interface for function "..pFunc)
    	end
    	
    	return lMJC_readValue		-- return value or error
    
    end
    
    
    function readAllXMLValues()		-- synchronize global variables from Q400 values
    
    	-- autopilot
    	ipc.set ("Q400_YD_LIGHT" , readXMLIF ( 31461 ) )			-- AFCS_->outputs.YD_engaged
    	ipc.set ("Q400_AP_LIGHT" , readXMLIF ( 31281 ) )			-- AFCS_->outputs.AP_engaged
    
    	-- glare shield
    	ipc.set ("Q400_CAUTION" , readXMLIF ( 143090 ) )			-- CautionWarning_->outs_.master_caution_light_blinking
    	ipc.set ("Q400_WARNING" , readXMLIF ( 143112 ) )			-- CautionWarning_->outs_.master_warning_light_blinking
    
    	-- fuel
    	ipc.set ("Q400_AUX_FUEL" , readXMLIF ( 59590 ) )			-- Fuel_->systems[0].AuxFuelPumplight
    
    	-- Autofeather
    	ipc.set ("Q400_AUTO_FEATHER" , readXMLIF ( 41047 ) )		-- PCU_->AutofeatherSelectLight
    
    	-- Hydraulic
    	ipc.set ("Q400_HYDRAULIC" , readXMLIF ( 91735 ) )			-- Hydraulical_->outs_.stby_hydr_ON_indicator
    
    end
    
    while 0 < 1 do
    	readAllXMLValues()
    	ipc.sleep(50)
    end

    The reason, why I read all the values at once in one single module is, that the interface always fetches one single value at one time. If you would call it from several independent threads, the calls could interfere. This is a limitation of the current XML interface. The training edition will include a more sophisticated interface.

    Luckily most of the values can be read directly out of Lvars and you can avoid the XML-Interface. So a simple ipc.readLvar("<<<variable name>>>") will provide you the value directly.

    If you have no programming skills, it's hard. Maybe you find some student nearby, which helps you with that part. You can offer him later some simulator hours 😉

    Rgds
    Reinhard

     

  8. Hi,

     

    If you use only FSUIPC for your assignments, you could eliminate all assignments of the P3D control configuration file with an editor and make it afterwards read-only. Then no automatically added assignments to axis, buttons, etc. will happen anymore. I am currently not at my PC but I think it should be here: 

    %APPDATA%\Lockheed Martin\Prepar3D\Controls\Standard.xml

    Rgds
    Reinhard

  9. Hi,

    I just found in the SPAD documentation:

    Quote

    Spad is a replacement driver for the Saitek Pro-Flight Radio, Multi and Switch panel. Spad implements features like:
    - Compatibility with addon aircraft supporting keystrokes and virtual joystick  button (using Peter Dowson's FSUIPC)
    - Improved knobs sensitivity with tunable acceleration
    - Additional features like altimeter barometric regulation
    - Many bugs fixed (missed glide slope in FS2004, Nav1 switch etc.)
    - Much better stability

    So you can map your hardware to virtual joystick buttons, which you then could map to LUA actions (or check them via the event library in your LUA scripts, which is the preferred method to implement such functions).

    Rgds
    Reinhard

     

  10. Hi,

    I don't own and use SPAD.next. I use GoFlight hardware - so the buttons and switches are visible in FSUIPC directly. In LUA scripts I am listening to these button events and I trigger the necessary activities to set or to get the values in the Q400 via the XML interface. According to your plan, to map these actions to keyboard events in SPAD.next, you could then assign the  LUA actions in FSUIPC to these keyboard events. But strange, that you are not able to see these events directly in FSUIPC. But as I don't own this type of hard- and software, I can't help you in that topic in detail.

    The XML interface is obviously bound to the Pro version. So an upgrade is necessary. The upcoming training edition will get additional interface options for cockpit builders. But no clue, when it will be available. Typically this time frame is two weeks 😉

    The Pro version has some nice additional features (eg the 125Hz control of the main input axis).
    Q400 version comparison

    Rgds
    Reinhard

  11. Hi,

    You need to write a small program in LUA to get values from the output variables. The best source to start is to check, how this was implemented in the Q400 module  of LINDA (great SW by the way - check AVSIM for it). There you will find a lot of source code, reading output values from the Q400.

    LINDA Forum

    In short words: You have to find out the hash value of the variable with the supplied tool. Then you set a specific Lvar with the hash value and you will get the return value in another specific Lvar. This procedure is documented in a ReadMe file supplied with the Q400.

    Rgds
    Reinhard

     

     

  12. Alessandro,

    For interfacing to the Q400 you should use the XML interface documented by Majestic. This means a little bit LUA programming but by that method you are able to access all Q400 functions. Check your Q400 documentation folder.

    Mouse macros are not working well, as parts of the panel are not using the standard SDK and by that not all functions can be trapped by the mouse macro option. So check the XML interface. I am not sure, if this requires the Pro version, which I use, or if it is already included in the Pilot edition.

    Rgds
    Reinhard

     

     

  13. Hi,

    Here is my configuration I used for the C750 from Eaglesoft when I have been on P3D v3:

     

    [Axes]
    :
    5=GY,128,F,66420,0,0,0    -{ TO SIM: AXIS_THROTTLE1_SET }-
    6=GY,B,-16384,-8000,x010066D5,x01,x010066D5,x00    -{ TO SIM: AXIS_THROTTLE1_SETEntering=offset byte set, offset 66D5, Leaving=offset byte set, offset 66D5 }-
    7=GZ,128,F,66423,0,0,0    -{ TO SIM: AXIS_THROTTLE2_SET }-
    8=GZ,B,-16384,-8000,x010066D6,x01,x010066D6,x00    -{ TO SIM: AXIS_THROTTLE2_SETEntering=offset byte set, offset 66D6, Leaving=offset byte set, offset 66D6 }-
    :
    
    
    
    
    
    [Buttons]
    :
    2=B66D5=1 RG,3,C65966,0     -{THROTTLE1_DECR}-
    3=B66D5=1 UG,3,C65967,0     -{THROTTLE1_CUT}-
    4=B66D6=1 RG,2,C65971,0     -{THROTTLE2_DECR}-
    5=B66D6=1 UG,2,C65972,0     -{THROTTLE2_CUT}-
    :


    So I triggered a change in a user offset 0x66D5 and 0x66D6, when I entered a special zone with the throttle. This again was used in a conditional button to trigger and release the rvereser. In the advanced user manual you find more details about this type of tricky button programming. This was with GoFlight hardware, which has reverser buttons if you move some levers towards the throttle. As this should only happen if you are in the idle area (and not inflight), this trick was necessary. Maybe this helps you to solve your problem or point you toward a solution.

    Rgds
    Reinhard

     

×
×
  • 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.