October 8, 200421 yr This works...%((A:Adf1 active frequency, KHz) )%!06.1f!<But this gives zeros....%((A:Adf2 active frequency, KHz) )%!06.1f!<Needless to say, these don't do anything...Nor do these...I do have ADF 2 enabled in the aircraft.cfg, and have disabled dsd sound. Me thinks I'm missing something syntax-wise or something even more basic about ADF 2?
October 8, 200421 yr For reading the variable I use:ADF #1(A:ADF ACTIVE FREQUENCY:1,Kilohertz)ADF #2 (A:ADF ACTIVE FREQUENCY:2,Kilohertz)For writing to the variable you are better off using the following inside of rather than (>K:ADF_1_DEC) (>K:ADF_1_INC) (>K:ADF_10_DEC) (>K:ADF_10_INC) (>K:ADF_100_DEC) (>K:ADF_100_INC) (>K:ADF_CARD_DEC) (>K:ADF_CARD_INC) (>K:ADF_CARD_SET) (>K:ADF_COMPLETE_SET) (>K:ADF_EXTENDED_SET) (>K:ADF_FRACT_DEC_CARRY) (>K:ADF_FRACT_INC_CARRY) (>K:ADF_HIGHRANGE_SET) (>K:ADF_LOWRANGE_SET) (>K:ADF_SET) (>K:ADF1_RADIO_TENTHS_DEC) (>K:ADF1_RADIO_TENTHS_INC) (>K:ADF1_WHOLE_DEC) (>K:ADF1_WHOLE_INC) (>K:ADF2_1_DEC) (>K:ADF2_1_INC) (>K:ADF2_10_DEC) (>K:ADF2_10_INC) (>K:ADF2_100_DEC) (>K:ADF2_100_INC) (>K:ADF2_COMPLETE_SET) (>K:ADF2_FRACT_DEC_CARRY) (>K:ADF2_FRACT_INC_CARRY) (>K:ADF2_RADIO_TENTHS_DEC) (>K:ADF2_RADIO_TENTHS_INC) (>K:ADF2_WHOLE_DEC) (>K:ADF2_WHOLE_INC)(>K:FREQUENCY_SWAP)(>K:RADIO_ADF_IDENT_DISABLE) (>K:RADIO_ADF_IDENT_ENABLE) (>K:RADIO_ADF_IDENT_SET) (>K:RADIO_ADF_IDENT_TOGGLE) (>K:RADIO_ADF2_IDENT_DISABLE) (>K:RADIO_ADF2_IDENT_ENABLE) (>K:RADIO_ADF2_IDENT_SET) (>K:RADIO_ADF2_IDENT_TOGGLE) Regards,Roman(KGRB)[body vlink=#777c8e" alink="#777c8e][table border=0" cellpadding="0" cellspacing="0" width="240" bgcolor="#777c8e" height="95][tr][td width=20" height="95][table border=0" cellpadding="0" cellspacing="0" width="20" height="95][tr][td]http://home.new.rr.com/spokes2112/images/blank.jpg[/td][/tr][tr][td]http://home.new.rr.com/spokes2112/images/blank.jpg[/td][/tr][tr][td][a href=http://www.wheelchairaviators.org]http://home.new.rr.com/spokes2112/images/button.jpg[/a][/td][/tr][tr] [td][a href=http://www.packers.com]http://home.new.rr.com/spokes2112/images/button.jpg[/a][/td][/tr][tr] [td][a href=http://www.eaa.org]http://home.new.rr.com/spokes2112/images/button.jpg[/a][/td][/tr] [/table][/td][td width=200]http://home.new.rr.com/spokes2112/images/test.gif[/td][td width=20" height="95][table border=0" cellpadding="0" cellspacing="0" width="20" height="95][tr][td]http://home.new.rr.com/spokes2112/images/blank.jpg[/td][/tr][tr][td]http://home.new.rr.com/spokes2112/images/blank.jpg[/td][/tr][tr][td][a href=http://www.friendsofcrivitzairport.com]http://home.new.rr.com/spokes2112/images/button.jpg[/a][/td][/tr][tr] [td][a href=http://www.microsoft.com/games/flightsimulator/]http://home.new.rr.com/spokes2112/images/button.jpg[/a][/td][/tr][tr] [td][a href=http://www.fltplan.com]http://home.new.rr.com/spokes2112/images/button.jpg[/a][/td][/tr] [/table][/td][/tr][/table][/body] FS RTWR SHRS F-111 JoinFS Little Navmap
October 8, 200421 yr Author >For reading the variable I use:>>ADF #2 >(A:ADF ACTIVE FREQUENCY:2,Kilohertz)>That's got it! Thanks! (I am however, going to continue cussing out whoever wrote the SDK's! *grin*)
Create an account or sign in to comment