Print Page | Close Window


Printed From: QualityWings Simulations Forum
Category: Ultimate 146 Collection Support
Forum Name: Ultimate 146 General Support
Forum Description: General Support, Tips and Tutorials from the Staff
Printed Date: 22 Apr 2019 at 8:29am
Software Version: Web Wiz Forums 11.10 -

Topic: LVAR
Posted By: deca
Subject: LVAR
Date Posted: 21 Feb 2019 at 3:28pm
I'm looking for LVARs that could control my OpenCockpit MCP. For example HDG SEL that I can't get to work with FS control: AP Hdg Hold On as it seems to be the rule on default aircraft.


I give that landing a 9 . . . on the Richtor scale.

Posted By: grunthos
Date Posted: 24 Feb 2019 at 6:20am
I've got a similar situation - OpenCockpits MCP, in my case controlled via SPAD.Next. I've examined all the LVARs published by the aircraft and in the end I had to do most of the button pressing via FSUIPC mouse macros. As you've probably seen, some of the default autopilot modes and variables do work with the Avro, but many do not. There are some useful LVARs, but from what I can see there aren't any to show which mode the autopilot is in (which you'd need to control the lights on/off status for buttons) nor are there LVARs you can set to indicate a button click on most of the autopilot buttons (unlike the overhead, for example). So when my autopilot drops out of a mode automatically, the light on the MCP button stays on because I'm controlling it with a Boolean variable that is swapped when the mouse macro runs.

There is a thread from one of the devs in the Pilot's Lounge sub-forum here which has some useful keypress events / LVARs I wasn't aware of - those will help me a little, but unless there's something I'm missing, a hacked-together combo of mouse macros and SPAD.Next scripting is the best I can do.

Posted By: ErnieAlston
Date Posted: 02 Mar 2019 at 9:12pm
Can you lets us know what Lvars you need ?

Maybe we can add them in an update..  No promises, but we can try.


Ernie Alston
Development Team

Posted By: grunthos
Date Posted: 14 Mar 2019 at 11:20am
Hi Ernie.

Thanks - if you were able to do something, it would be appreciated by those cockpit builders out there trying to wire up the 146.

Basically, what I need to be able to do is 'virtually' press any of the buttons on the autopilot (146 and RJ autopilots), and to know whether each of the buttons is lit up / activated or not. So I guess a set of bool LVARs for each button (eg VORLOC_PRESSED) which when set to TRUE will cause the gauge to register a press on that button and then set the LVAR back to FALSE, and a second set (eg VORLOC_ON) which holds a Boolean state for each button, TRUE when it's lit-up / active, FALSE when not. That would let me make all the mode changes and detect when the autopilot drops out of a mode automatically.

Then I'd also need similar LVARs to increment / decrement the values set with rotary knobs (SPD, HDG, ALT etc). Although some of these values are readable and settable in Simconnect, it only seems to actually work properly when you turn the knob - which I'm having to do with mouse macros right now.

Everything else looks to be already covered by LVARs, in terms of what I need.



Posted By: deca
Date Posted: 26 Mar 2019 at 3:43am
Hi Ernie,

As grunthos I would appreciate it if you could do something for the cockpit builders.

I'll add to what was said about the MCP. I will add the programming of the FMS.


I give that landing a 9 . . . on the Richtor scale.

Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 -
Copyright ©2001-2017 Web Wiz Ltd. -