Search found 2065 matches

by jph
Wed Sep 28, 2022 8:17 am
Forum: Air Manager Bug Reports
Topic: gear lights - reds
Replies: 4
Views: 145

Re: gear lights - reds

Why is this under 'bug reports' ??? :shock:
by jph
Tue Sep 27, 2022 7:55 pm
Forum: Air Manager Help
Topic: FS2020 Keyboard Stroke Generation?
Replies: 11
Views: 281

Re: FS2020 Keyboard Stroke Generation?

As I said above, you can do it using AM messageport. There is no need for native AM support. Allowing uncontrolled native full key ouput acess from code to the unitiated is a recipe for total system carnage. Don't do it :shock: It also doesn't need to have anything to do with simconnect or whatever ...
by jph
Mon Sep 26, 2022 4:00 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 433

Re: Real battery switch turning off Real gear lights

No worries, when you have finished it as it is with what you have and what you can manage then PM me with the code and I will sort it if you want.
by jph
Mon Sep 26, 2022 3:45 pm
Forum: Air Manager Help
Topic: Air Manager panel disconnects from MFS2020.
Replies: 5
Views: 72

Re: Air Manager panel disconnects from MFS2020.

I would agree with Keith in the area of it probably being in your code. They may well have changed something in the MS game and your code is handling something badly - locked in a loop until something happens - or doesnt ..... ;) Remove the instruments one by one to isolate the issue and look for co...
by jph
Mon Sep 26, 2022 3:26 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 433

Re: Real battery switch turning off Real gear lights

It doesn't matter if they are on different devices. That's no issue. I presume you fire a command or dataref with the switch ?. All you have to do is make the lights for the landing gear and anything else dependent on their being power. There will be a dataref for this. You just add a condition for ...
by jph
Mon Sep 26, 2022 2:34 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 433

Re: Real battery switch turning off Real gear lights

Where does your battery switch connect to ?
by jph
Mon Sep 26, 2022 2:09 pm
Forum: Air Manager Help
Topic: Air Manager panel disconnects from MFS2020.
Replies: 5
Views: 72

Re: Air Manager panel disconnects from MFS2020.

Does it do it on any other panel - a basic cessna panel for example ?
by jph
Mon Sep 26, 2022 1:55 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 433

Re: Real battery switch turning off Real gear lights

1, yes, sort of ... it means that if you just connected the source and drain and left the gate floating the device would be OFF and no current would flow. In this circuit, we need to make the 'gate' negative in respect of the 'source' (14V) so we need to have a PD (Potential difference) of > 13V BEL...
by jph
Mon Sep 26, 2022 1:27 pm
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 433

Re: Real battery switch turning off Real gear lights

lol so you now have a hole where your electron should be - as the hole appears to move... x files music :) This isn't a depletion mode device it is an enhancement mode . Think of normally closed v normally open . This is normally OPEN - no current will flow from source to drain until you bring the g...
by jph
Mon Sep 26, 2022 11:37 am
Forum: Lua and API Scripting Help
Topic: Real battery switch turning off Real gear lights
Replies: 57
Views: 433

Re: Real battery switch turning off Real gear lights

Ok, The N R L lights (and the transit) could be easily dimmed in code as it is so you always have that option. You would only need to make changes to the code, not to the wiring or circuit. Do you have the potentiometer for the dimmer wired up to the arduino yet ? As for the lower diagram, what you ...