September 19, 201015 yr Author Jan and Roman,Never mind my last question, i got it fixed. Just needed to add the @tacan macro to my ICP xml and it works fine. Thank you very very much for all the work i put you up with...........IT WORKS GREAT, i can now use the military TACAN CH to switch NAV2 radio. PERFECT!Greetz Ed
September 19, 201015 yr Hi,Glad you did it!Just tested, but forget it...:<Macro Name="TACANPRESET">(L:TACAN-CH,enum) 126 == if{ 17 (>L:TACAN-CH,enum) } els{ (L:TACAN-CH,enum) ++ (>L:TACAN-CH,enum) (L:CH-XY-MODE,bool) (L:TACAN-CH,enum) 60 < and if{ (L:TACAN-CH,enum) 1063 + 10 / @tacan } (L:CH-XY-MODE,bool) ! (L:TACAN-CH,enum) 60 < and if{ (L:TACAN-CH,enum) 1063.5 + 10 / @tacan } (L:CH-XY-MODE,bool) (L:TACAN-CH,enum) 69 > and if{ (L:TACAN-CH,enum) 1053 + 10 / @tacan } (L:CH-XY-MODE,bool) ! (L:TACAN-CH,enum) 69 > and if{ (L:TACAN-CH,enum) 1053.5 + 10 / @tacan } }</Macro><Macro Name="TACANPRESETDOWN">(L:TACAN-CH,enum) 17 == if{ 126 (>L:TACAN-CH,enum) } els{ (L:TACAN-CH,enum) -- (>L:TACAN-CH,enum) (L:CH-XY-MODE,bool) (L:TACAN-CH,enum) 60 < and if{ (L:TACAN-CH,enum) 1063 + 10 / @tacan } (L:CH-XY-MODE,bool) ! (L:TACAN-CH,enum) 60 < and if{ (L:TACAN-CH,enum) 1063.5 + 10 / @tacan } (L:CH-XY-MODE,bool) (L:TACAN-CH,enum) 69 > and if{ (L:TACAN-CH,enum) 1053 + 10 / @tacan } (L:CH-XY-MODE,bool) ! (L:TACAN-CH,enum) 69 > and if{ (L:TACAN-CH,enum) 1053.5 + 10 / @tacan } }</Macro><Area Left="900" Right="940" Top="650" Bottom="670"><Visible>(A:CIRCUIT AVIONICS ON, bool) 1 == </Visible><Tooltip>DED Toggle Switch</Tooltip><Cursor Type="UpArrow" Repeat="Yes"/><Click Repeat="Yes">@TACANPRESET</Click></Area><Area Left="945" Right="980" Top="650" Bottom="670"><Visible>(A:CIRCUIT AVIONICS ON, bool) 1 == </Visible><Tooltip>DED Toggle Switch</Tooltip><Cursor Type="DownArrow" Repeat="Yes"/><Click Repeat="Yes">@TACANPRESETDOWN</Click></Area>Could not test your specific other code, but this one works somehow....125-126-17-18... and ...19-18-17-126-125... requires one push up and then one down to get the proper freq.You will notice.No solution for that yet.Jan Jan "Beatus ille qui procul negotiis..."
Create an account or sign in to comment