Search found 11 matches

by pkwaite
Tue Jun 28, 2022 12:35 am
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

Works great (with the one exception of "If" being capitalized in: "If avionics_on==1 then")!

Thanks again, Jacques!
by pkwaite
Mon Jun 27, 2022 12:58 pm
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

Thanks Jacques! Once again the snag in the code really made me dig in to understand things a little better; this time on the different types of X-plane datarefs. And, as it turns out, I was on the right track . . . but couldn't quite fill the gap between what I knew and what I didn't know. I'll give...
by pkwaite
Mon Jun 27, 2022 1:56 am
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

So . . . I finally got a chance to try Jacques' latest code with the hardware attached and sim running. Everything works correctly in AM's create/edit tab with the hardware attached. But when the ELT hardware loads with my AM C172 panel the ELT returns the 5 sequence error code (GPS off) no matter w...
by pkwaite
Sat Jun 18, 2022 2:42 am
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

Great work, Jacques! Adding the GPS out error code was a sweet bonus. Once again, I appreciate your work. A working ELT switch will be a very nice addition to my panel and hopefully others will benefit from the code as well.

Paul
by pkwaite
Thu Jun 16, 2022 2:16 am
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

On second thought . . . I wasn't happy with the sound file that I uploaded earlier. There seemed to be a dead spot in the playback at the beginning of the file and when AM looped the clip at 250ms intervals it sounded more like chirping rather than a continuous beep. I tried another audio file that ...
by pkwaite
Thu Jun 16, 2022 12:28 am
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

Beep.txt Call me old school if you wish, but… I am with you 100% there, Jacques! Old school by age and attitude . . . And I had to chuckle at your code being "quick and dirty" because at this stage mine is "slow and messy"! Now if I could just figure out how to upload a file . ....
by pkwaite
Wed Jun 15, 2022 1:27 pm
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

certain 'words' are understood in any country How touching, Joe! Que music: "Love In Any Language" . . . that IS what you meant, right Joe? . . . right?? :lol: Jacques, you've brought me back to my flight school days when my instructor would pull a circuit breaker or some other devious de...
by pkwaite
Wed Jun 15, 2022 1:31 am
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Re: Simulating Artex ELT functions

Thank you all for your interest and input. Keith Baxter I set up a Discord account but I think I can work through this with a few nudges (or a couple of large whacks!) in the right direction. I'll keep the offer in my back pocket if I should need it. Also would be nice if the .wav file was included....
by pkwaite
Tue Jun 14, 2022 4:55 pm
Forum: Lua and API Scripting Help
Topic: Simulating Artex ELT functions
Replies: 30
Views: 3486

Simulating Artex ELT functions

Hello SI community! First a (re)introduction: Back in 2018 I began to build a C172 simulator cockpit with AM in mind and due to many of life's interruptions it has progressed at a glacial pace. The physical panel is finally nearing completion and I have begun adding the hardware to my custom Air Man...
by pkwaite
Sun Dec 09, 2018 9:30 pm
Forum: General Instrument Help
Topic: Edit instruments from Paid Premium Panels
Replies: 4
Views: 1752

Re: Edit instruments from Paid Premium Panels

Thanks for the reply, Sling. I understand the position Sim Innovations has taken on the issue and respect it. I do find it pleasantly coincidental that the thread that you directed me to was started by Mark Hurst, whom I mentioned in my initial query. Pretty heady stuff for this lowly neophyte to be...