Search found 5277 matches

by Sling
Thu Sep 26, 2024 2:35 am
Forum: Air Manager Help
Topic: AM not sending every command to XP
Replies: 3
Views: 315

Re: AM not sending every command to XP

That is a consequence of the time it takes for the communication between AM and the sim. You are asking this link to execute 10 commands instantly. AFAIK there is no buffer that will ensure every command however quickly actioned gets through. If you were to slow things down it should respond better.
by Sling
Wed Sep 18, 2024 11:06 am
Forum: Arduino
Topic: Inter-Arduino Communications
Replies: 1
Views: 361

Re: Inter-Arduino Communications

You don’t need iic for this. It’s just a single hardware function that happens to use 2 boards as input. Once you can read each of the 8 inputs it’s a simple matter of some logic to give the functionality you describe. Quite straight forward.
by Sling
Thu Sep 12, 2024 2:49 am
Forum: Lua and API Scripting Help
Topic: persistent error...ERROR - logic.lua:9: attempt to call a nil value
Replies: 3
Views: 747

Re: persistent error...ERROR - logic.lua:9: attempt to call a nil value

What you posted should work if it's used in an instrument script rather than a hardware function script.

As Ralph said you can't generate any graphics from a hardware function script.
by Sling
Sun Jul 28, 2024 12:08 am
Forum: General Instrument Help
Topic: KAP 140 NOT WORKING
Replies: 18
Views: 4875

Re: KAP 140 NOT WORKING

As Ralph already mentioned many of the add-on aircraft are doing there own custom thing rather than use sim default autopilot data and/or button events. Each of these custom implementations needs some level of customisation in the Air Manager instrument to cater for this. There is a growing selectio...
by Sling
Tue Jul 23, 2024 2:40 am
Forum: Air Manager Bug Reports
Topic: fs2020_event_subscribe() gives access to the wrong value
Replies: 9
Views: 2855

Re: fs2020_event_subscribe() gives access to the wrong value

I'll leave @Corjan to look into that. If it's only a repeat of what you write then it's pretty useless but if it fully mirrors the sim state and its initial state is correct also then that is indeed desirable to implement.
by Sling
Mon Jul 22, 2024 9:37 pm
Forum: Air Manager Bug Reports
Topic: fs2020_event_subscribe() gives access to the wrong value
Replies: 9
Views: 2855

Re: fs2020_event_subscribe() gives access to the wrong value

I’d point you to what that returns. See what’s listed in the returns table. @Corjan should be able to explain further.
by Sling
Mon Jul 22, 2024 9:28 pm
Forum: Air Manager Bug Reports
Topic: Release callbacks not triggering
Replies: 4
Views: 1988

Re: Release callbacks not triggering

Not sure I follow. The mouse can also be moved out when using a panel. I see no difference.
by Sling
Mon Jul 22, 2024 10:24 am
Forum: Air Manager Bug Reports
Topic: Release callbacks not triggering
Replies: 4
Views: 1988

Re: Release callbacks not triggering

Why would it behave differently on a panel? The issue was first flagged by using a panel.
by Sling
Mon Jul 22, 2024 10:17 am
Forum: Air Manager Bug Reports
Topic: Release callbacks not triggering
Replies: 4
Views: 1988

Release callbacks not triggering

This is something that I've recently looked into while investigating an issue on one of my instruments. I think its been this way for a while maybe even forever but it causes issues. I tested with a button but if it works the same for other release callback's they will all be affected. This happens ...
by Sling
Fri Jul 19, 2024 2:31 am
Forum: Air Manager Bug Reports
Topic: fs2020_event_subscribe() gives access to the wrong value
Replies: 9
Views: 2855

Re: fs2020_event_subscribe() gives access to the wrong value

As mentioned the event subscribe does not return values. It’s basically the same function for MSFS as xpl_command_subscribe is for Xplane. It just provides a callback whenever a command/event is triggered. The misconception here is in the use of the term Bvar. So called Bvar’s are not variables but ...