![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#14
|
|||
|
|||
![]()
"Jay Maynard" wrote in message
... On 2008-09-05, Mike wrote: "Jay Maynard" wrote in message Not directly, but I got curious to see how it was assigned, and started poking at the FAA registration database (which includes the assigned code). The algorithm winds up assigning 50000001 to N1, 50000002 to N1A, 50000003 to N1AA, 50000004 to N1AB,... 50000032 to N1AZ, 50000033 to N1B, 50000034 to N1BA,... 50001131 to N1ZZ, 50001132 to N10, 50001133 to N10A, and so on. I never got to the point of writing C code that would generate the code, but it would be fairly straightforward. The algorithm depends on the rules for assigning N numbers, and works left to right, with the letters in order from A to Z (skipping I and O), then 0-9, taking all of the letter combinations in order before expanding the number field. There's no need as it's already been done and put online. http://www.airframes.org/ Well, it appears he's written the code, but it doesn't appear to be available...I'd like to see the actual code, just to check if my thoughts on the programming required to go in the reverse direction are correct. I'd also like to see if other countries assign their codes algorithmically. The algorithm is part of the ICAO standard, so if other countries aren't doing this, they are doing so outside the standard. If you could find the written version of the standard in the ICAO conventions, it would probably verify your suspicions, but ICAO standards are a bit hard to find without paying for a copy as ICAO would like you to do. |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Garrecht Mode S transponder - USA? | Eric Greenwell | Soaring | 3 | August 20th 07 09:05 PM |
New transponder mode S vs. mode C | Tom N. | Soaring | 39 | November 7th 06 07:40 AM |
KT76C Mode C transponder - what is it worth? | Mike Rapoport | General Aviation | 1 | November 21st 04 05:56 AM |
KT76C Mode C transponder - what is it worth? | G.R. Patterson III | Owning | 0 | November 21st 04 05:56 AM |
WTB: Mode C Transponder | Chris Batcheller | Aviation Marketplace | 0 | February 21st 04 01:31 PM |