February 16, 201214 yr Commercial Member Bill, what you've done to "fake" the frequency there is just use the nearestairport frequency query? What are you using to set the currentline? Good Day, Engjell Berisha
February 16, 201214 yr If we are still talking about airspacefrequency, you don't have to fake them.See pic in the other thread. Jan "Beatus ille qui procul negotiis..."
February 17, 201214 yr Bill, what you've done to "fake" the frequency there is just use the nearestairport frequency query? What are you using to set the currentline?Nearest searches return multiple entities if MaxItems and MaxDistance are large enough (which they usually are). To choose one of the entities in the list you have to Set the CurrentLine variable. In a NearestAirport case, its NearestAirportCurrentLine, although Bills post was talking about NearestAirspace, not NearestAirport...
February 17, 201214 yr Commercial Member Bob I am familiar with this. Jan seems to have cleared my vision. I took Bill's posts to mean that I can not get the frequency of the airspace in FS9 and understood that he took the closest center freq from the nearest airport list. I wanted to know how you would search through the list to find the center freq but not necessary anymore. Good Day, Engjell Berisha
February 17, 201214 yr Bob I am familiar with this. Jan seems to have cleared my vision. I took Bill's posts to mean that I can not get the frequency of the airspace in FS9 and understood that he took the closest center freq from the nearest airport list. I wanted to know how you would search through the list to find the center freq but not necessary anymore.Okay.... Bill just didn't include Center in the NearsetAirspaceQuery declaration... Edited February 17, 201214 yr by Propwash
February 17, 201214 yr Commercial Member Yes, I remembered to check my own Wiki entry where I'd stashed a copy of the FS9 GPS variables... ;)Well, they don't work in either FS9 or FSX, but I did manage to 'fake it' a bit by fetching the closest CENTER frequency (which is close enough for me).Hm, I haven't check out (@c:NearestAirspaceQuery,enum) yet... Maybe that'll give me an index value for the frequency... :(That bit is what mislead me I suppose. Thanks anyway. Good Day, Engjell Berisha
February 17, 201214 yr That bit is what mislead me I suppose. Thanks anyway.Well, you could give this a try http://www.robbiemcelrath.com/blackbox/?gps, pages 79-90.
Create an account or sign in to comment