Search found 91 matches

by AnthonySullivan
Sat Mar 16, 2024 10:57 am
Forum: Air Manager Help
Topic: Instrument Lua Script Not Displaying in 4.2.8
Replies: 0
Views: 167

Instrument Lua Script Not Displaying in 4.2.8

Apologies if I am being really dumb. I upgraded to Version 4.2.8 today on my Windows machine and all is fine except that when I click on Create/Edit tab, it shows all my instruments but will not display the window for writing or editing together with the window for consoles and subscriptions. I upgr...
by AnthonySullivan
Sat Dec 30, 2023 8:05 am
Forum: Air Manager Help
Topic: Pull down or up resistors for switches on Arduino
Replies: 2
Views: 243

Re: Pull down or up resistors for switches on Arduino

Dear Joe, Many thanks; I have been experiencing some very odd events lately. i have been using the switches for over a year with no problem so not sure what has changed. Anyway I modified the system to add pull down resistors (which swapped the polarity of all switches so the software had to be modi...
by AnthonySullivan
Sat Dec 30, 2023 8:02 am
Forum: Air Manager Help
Topic: Meaning of "count%2 == 0"
Replies: 1
Views: 222

Meaning of "count%2 == 0"

Would you mind explaining how the expression count%2 == 0 works? The 'visible' function is looking for true or false to determine whether the image is displayed or not. The timer starts with no delay and repeats every 500 milliseconds. Please explain how the 'count%2 == 0' expression is evaluated. t...
by AnthonySullivan
Fri Dec 29, 2023 10:37 am
Forum: Air Manager Help
Topic: Pull down or up resistors for switches on Arduino
Replies: 2
Views: 243

Pull down or up resistors for switches on Arduino

Arduino recommends having pull down or pull up resistors for switches as the state of digital pins may "float" between 0 and 1 without them. I think some Arduino boards may have built in pull down or up resistors on digital pins. In Air Manager advice, it says that switches can be connecte...
by AnthonySullivan
Thu Oct 26, 2023 8:10 am
Forum: Air Manager Help
Topic: Lancair Evolution XPL12 Starter Button
Replies: 2
Views: 378

Re: Lancair Evolution XPL12 Starter Button

Hi Ralph,
Absolutely brilliant. Works a treat.

Can't thank you enough.

best wishes
Anthony
by AnthonySullivan
Wed Oct 25, 2023 9:39 am
Forum: Air Manager Help
Topic: Lancair Evolution XPL12 Starter Button
Replies: 2
Views: 378

Lancair Evolution XPL12 Starter Button

The X-Plane 12 Lancair Evolution requires that the starter button is held until the fuel ignites enough to take over from the starter motor. There are commands such as "sim/ignition/engage_starter_1" and datarefs such as "sim/cockpit2/engine/actuators/ignition_key" which is an IN...
by AnthonySullivan
Thu Sep 21, 2023 9:17 am
Forum: Air Manager Help
Topic: CAS Warning Lights on Thranda Cessna 208
Replies: 20
Views: 1168

CAS Warning Lights on Thranda Cessna 208

I am running X-Plane 12 and have the Thranda Cessna 208 Caravan. I have developed an Air Manager instrument to show the CAS Warning lights. Joseph Noe from Thranda has kindly told me that they work on the data_ref "thranda/TCAS/AnnLtA" which is FLOAT [400]. I can see them operating fine in...
by AnthonySullivan
Mon Sep 11, 2023 9:29 am
Forum: Air Manager Help
Topic: ((autopilot_state >> 4) & 1 == 1) )
Replies: 12
Views: 706

Re: ((autopilot_state >> 4) & 1 == 1) )

Thank you to everyone for your comments. It is very interesting to read about bit-wise manipulation but I don't want to get down to that level of detail. I have got it working by using the other datarefs like heading mode, approach mode, glide slope mode etc and I just need to fully test it and fine...
by AnthonySullivan
Tue Sep 05, 2023 8:13 am
Forum: Air Manager Help
Topic: ((autopilot_state >> 4) & 1 == 1) )
Replies: 12
Views: 706

((autopilot_state >> 4) & 1 == 1) )

Trying to learn from the experts. I find this code in an autopilot instrument and I need to understand what it is doing: visible(img_alert, alert_on and gbl_power and not ((autopilot_state >> 4) & 1 == 1) ) The img_alert.png will turn on or off based on the tests. Please explain what ((autopilot...
by AnthonySullivan
Sun Sep 03, 2023 9:51 am
Forum: Air Manager Help
Topic: Bendix King KFC 225 Autopilot
Replies: 0
Views: 2202

Bendix King KFC 225 Autopilot

The Thranda Cessna 208 Caravan has the Bendix King KFC 225 Autopilot. I cannot find that in Air Manager down loads so I have tried using the KAP 140 and amending it but it is proving beyond my minimal capabilities. I wonder if anyone already has the KFC225 for Air Manager and would not mind letting ...