Transponder Button Code Question

Peer support for Air Manager desktop users

Moderators: russ, Ralph

Post Reply
Message
Author
wdmonitor@gmail.com
Posts: 39
Joined: Fri Mar 01, 2019 8:23 pm

Transponder Button Code Question

#1 Post by wdmonitor@gmail.com »

Silly question, having a oldster-moment! Does anyone have sample code for spl_command or xpl_dataref_write for sending the correct button-presses for the basic xponder on a C172? particularly the IDT button? I had this working, now broke and can't find my notes.
thanks in advance!
BuddyM

wdmonitor@gmail.com
Posts: 39
Joined: Fri Mar 01, 2019 8:23 pm

Re: Transponder Button Code Question

#2 Post by wdmonitor@gmail.com »

Never mind. Brain-fart is over. Was over-thinking it. duh

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Transponder Button Code Question

#3 Post by jph »

Glad you sorted it :)

This is a really good example of why folks should thoroughly comment their code. It adds nothing to the code size or speed as it is simply ignored and it's only use is to assist readability and document what you are doing within the same script. The notes and comments are then in your code and ready to refer to at any time.
Joe ;)
Joe. CISSP, MSc.

User avatar
Ralph
Posts: 7924
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Transponder Button Code Question

#4 Post by Ralph »

Our forums was your rubber duck? ;)
https://en.wikipedia.org/wiki/Rubber_duck_debugging
Image

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Transponder Button Code Question

#5 Post by jph »

Ralph wrote: Tue Mar 02, 2021 9:27 am Our forums was your rubber duck? ;)
https://en.wikipedia.org/wiki/Rubber_duck_debugging
:lol:
The April fool part would have been hilarious.
Joe. CISSP, MSc.

User avatar
Keith Baxter
Posts: 4685
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Transponder Button Code Question

#6 Post by Keith Baxter »

Wow @jph

I opened your post expecting a page of text. What a disappointment. :mrgreen: This must be the shortest coming from you.

We love you Joe. Your enthusiasm and willingness to part with your knowledge is greatly appreciated and respected.

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Transponder Button Code Question

#7 Post by jph »

Keith Baxter wrote: Tue Mar 02, 2021 12:11 pm Wow @jph

I opened your post expecting a page of text. What a disappointment. :mrgreen: This must be the shortest coming from you.

We love you Joe. Your enthusiasm and willingness to part with your knowledge is greatly appreciated and respected.

Keith
Yikes @Keith Baxter -- Keith - fer Criz sake, Don't mention 'shortest comings' :shock: ...
Just my luck..... I went to the premature ejaculation meeting yesterday and found It was to be held the day after............... :?
:D
Joe. CISSP, MSc.

User avatar
Ralph
Posts: 7924
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Transponder Button Code Question

#8 Post by Ralph »

That reminds me of: 'Todays course on how to deal with disappointments has been cancelled'.

User avatar
jph
Posts: 2856
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Transponder Button Code Question

#9 Post by jph »

:lol:

or,
"My grief councillor died recently. He must have been really good though as I didn't give a sh!t.
Joe. CISSP, MSc.

Post Reply