Jump to content

310 Redux Landing Light switch


tttocs

Recommended Posts

Posted

I was working at getting my switch panel properly setup for the new 310 yesterday and ran into an issue with programming the landing light switch.  It's a 3 position switch which appears to do LL extension on the middle position and turn the LL on in the 3rd.  Anybody have any hints on doing this with a 2 position switch?  Using SPAD.neXt, but the general principle is what I'm after.

TIA

Scott

Posted

I looked into LVAR handlers for that, but could not find anything. Might be something to bring up to Milviz. I set panel for the default landing lights and just leave the switch in the middle (light outs but off). The switch on the panel will operate the lights at that point. Not perfect, but functional.

What I wanted to do was just set the on position as light deployed and on and the off as light off and retracted.

Posted
1 hour ago, kowen said:

What I wanted to do was just set the on position as light deployed and on and the off as light off and retracted.

Yep, that's what I was attempting as well, but I can't seem to find what deploys the light either. 

Scott

  • Moderator
Posted

The mouse logic for the landing lights is as follows:

	(M:Event) 'RightSingle' scmp 0 ==
	if{ (L:SwitchLL, enum) -- 0 max (>L:SwitchLL, enum) }
	(M:Event) 'LeftSingle' scmp 0 ==
	if{ (L:SwitchLL, enum) ++ 2 min (>L:SwitchLL, enum) }
	(L:SwitchLL,enum) 2 == if{ (>K:LANDING_LIGHTS_ON) }
	(L:SwitchLL,enum) 2 != if{ (>K:LANDING_LIGHTS_OFF) }

Essentially to make it a binary choice, you need only set the (L:SwitchLL,enum) from zero (0) to two (2). This will extend the light housings. You will need to also set the sim's default K:Event as above.

In other words send (>K:LANDING_LIGHT_ON) at the same time you set the switch to 2, and send (>K:LANDING_LIGHT_OFF) when the switch is set to 0.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Moderator
Posted

I'm delighted to hear that you got it working as you like. :gaul:

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
Posted
2 hours ago, n4gix said:

I'm delighted to hear that you got it working as you like. :gaul:

Same here.  Everything working perfectly now.

Thank you!

Scott

Archived

This topic is now archived and is closed to further replies.

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...