Search found 11 matches

by pepebky
Thu Dec 01, 2022 11:48 am
Forum: General Instrument Help
Topic: Modifying an stock instrument
Replies: 15
Views: 1787

Re: Modifying stock instrument KX165A

Perhaps this thread should have a clearer title, since it is about the KX165A Having looked into this, it appears that the device can provide a separate independent OBS function in addition to that provided by a connected CDI. Quite impressive, but I suspect rarely used. Neither X-plane nor MSFS su...
by pepebky
Mon Nov 21, 2022 4:49 pm
Forum: Lua and API Scripting Help
Topic: New bye with LUA. 3 push Buttons and 2 encoders
Replies: 4
Views: 742

Re: New bye with LUA. 3 push Buttons and 2 encoders

Some time ago I had written this post above. After some research and reading I came up with a code that worked. I don't know if it is quite correct but it worked for me. I did this in AM beta 4.1. Now when I changed it to a paid AM Home (V4.1.5) it does not work. What can be happening. The project h...
by pepebky
Fri Nov 18, 2022 1:34 pm
Forum: Lua and API Scripting Help
Topic: Using "hw switch get position"
Replies: 4
Views: 525

Re: Using "hw switch get position"

You don't have to use hw_switch_get_position. You already get the position. Also note that the name of your switch is exactly the same as your callback name. I'm not a Lua wizard, but think that will create conflicts. The example below should work. The code below. Thank you very much. function swna...
by pepebky
Thu Nov 17, 2022 1:33 pm
Forum: Lua and API Scripting Help
Topic: Using "hw switch get position"
Replies: 4
Views: 525

Re: Using "hw switch get position"

Thank Ralph for your quick answer. I will modify my code and test it.

Jose
by pepebky
Thu Nov 17, 2022 12:58 pm
Forum: Lua and API Scripting Help
Topic: Using "hw switch get position"
Replies: 4
Views: 525

Using "hw switch get position"

Hello everyone. I am modifying an old Jeppesen FS200 console to work with Xplane and arduino. When starting AM it should take the position of the switches. Switch ON, Xplane ON. Switch OFF, Xplane OFF. I used the command "hw switch get position". I am programming all the switches as one ha...
by pepebky
Thu Nov 03, 2022 3:23 pm
Forum: General Instrument Help
Topic: Modifying an stock instrument
Replies: 15
Views: 1787

Modifying an stock instrument

I need to add a functionality to the stock KX-165 that is available for download from the web. The KX-165 has a push button on the NAV decimal encoder that modifies what shows the digits above it. In normal mode it shows active freq and standby freq. Pressing that button shows active freq and the ra...
by pepebky
Wed Sep 21, 2022 10:09 am
Forum: Lua and API Scripting Help
Topic: New bye with LUA. 3 push Buttons and 2 encoders
Replies: 4
Views: 742

Re: New bye with LUA. 3 push Buttons and 2 encoders

Thanks for your help. I wil try to order and modify the script.

Jose
by pepebky
Mon Sep 19, 2022 11:42 pm
Forum: Lua and API Scripting Help
Topic: New bye with LUA. 3 push Buttons and 2 encoders
Replies: 4
Views: 742

New bye with LUA. 3 push Buttons and 2 encoders

Hi to all. I am a total new bye with LUA scripts. I am modifying a Jeppesen FS200 Console with Arduino. This console has two encoders for NAV1/2 and ADF frecuency and decimals. And three buttons NAV1, NAV2 and ADF. Depending on which button I press, the encoders change the frequency of the respectiv...
by pepebky
Thu Apr 21, 2022 12:47 am
Forum: General Instrument Help
Topic: Newbie with instrument Building
Replies: 0
Views: 498

Newbie with instrument Building

Hi to all. I am building a cockpit of a Baron G58 with G1000. The simulator will be x-plane 11. I will use a stretched monitor to show the 3 stand by instruments, the prop amps and de-icing pressure. The prop amps is among the community instruments and is in the X-Plane version but the De-icing pres...
by pepebky
Fri Jan 07, 2022 10:25 pm
Forum: Air Manager Help
Topic: Editing a .SIFF file
Replies: 4
Views: 590

Re: Editing a .SIFF file

Thanks for your answers Just make a clone in create/edit I worked with this, but I have to clone one by one, 60 functions and then modify one by one 60 lines of scripts. I am trying to find something simpler and faster. Otherwise I will do it like this. Or use the pre made hardware function. You don...