Cockpitbuilders.com

CockpitBuilders.com - Main => General Discusion Board. => Topic started by: kurt-olsson on February 03, 2019, 04:13:06 PM

Title: Zibo 737 FlightControl Dataref/Commands
Post by: kurt-olsson on February 03, 2019, 04:13:06 PM
Hi.

If anyone have suceeded interfacing the Flight Control Panel on the Zibo 737 in X-Plane 11, please let me know.
Cant seem to find any datarefs or commands for that panel.
Title: Zibo 737 FlightControl Dataref/Commands
Post by: archen on February 03, 2019, 04:16:05 PM
Have you tried dataref tool?

Skickat från min LYA-L29 via Tapatalk

Title: Re: Zibo 737 FlightControl Dataref/Commands
Post by: kurt-olsson on February 03, 2019, 04:46:21 PM
Yepp, but the toggleswitches are not writable. Just for read, and i cant find any command for the switches.

I might suspect that i need to override some dataref aswell to be able to change the switches.
Title: Re: Zibo 737 FlightControl Dataref/Commands
Post by: kurt-olsson on February 04, 2019, 02:07:43 PM
Ok, i have got this sorted out.
I really dont like Commands.

Now i have to read a "readonly" value and check the position and then execute the Command.

Manipulating a dataref takes out the extra read variable.

And then add the Switch Covers, they need to be opened all the time, otherwise i cannot change the switch.

Hm... Messy but it works really good, just dont like this approach.

Title: Re: Zibo 737 FlightControl Dataref/Commands
Post by: kurt-olsson on February 04, 2019, 04:09:02 PM
Ok, Commands are just plain and simple stupid.

With a dataref that holds the threeposition switch it is oneliner to manipulate it.

With the Commands you need to reference the position value.

The Flight Control Panel is pretty much a pain to implement this way.
Title: Re: Zibo 737 FlightControl Dataref/Commands
Post by: Trevor Hale on February 05, 2019, 07:32:16 AM
Personally, that's why X-Plane is harder to interface with.
But, nobody said this was an easy Hobby LOL Otherwise everyone would be doing it :)
Keep working on it.  You will get it :)
Title: Re: Zibo 737 FlightControl Dataref/Commands
Post by: kurt-olsson on February 05, 2019, 05:34:35 PM
Thanks Trev!
Flight Panel Complete!

Moving on! :)