July 27, 201510 yr Does anyone know how to add the VOR identifier to the EHSI? For instance, say I have Santa Monica VOR tuned, I would like the EHSI to display SMO....Is it possible to add the code to the XML gauge?
July 27, 201510 yr Yes you can, if you are willing to edit the EHSI xml code... Where do you want it displayed? In place of the NAV frequency: <Element id="Distance Readout Main Freq"> <FloatPosition>310.000,94.000</FloatPosition> <Visibility>(A:NAV HAS DME:1, bool) 0 != (L:AP_NAV_SELECT_MODE) 0 == and (A:GPS drives nav1, bool) 0 == and</Visibility> <GaugeText id="DME"> <Bold>false</Bold> <Bright>True</Bright> <FontFace>DISPLAY7</FontFace> <FontColor>green</FontColor> <FontHeight>20</FontHeight> <GaugeString>%((A:NAV HAS DME:1, bool)) %{if}%((A:NAV IDENT:1, string))%!s! %{else} ---- %{end}</GaugeString> <HorizontalAlign>RIGHT</HorizontalAlign> <Size>120,22</Size> <Transparent>True</Transparent> </GaugeText> </Element> Bert
July 27, 201510 yr Author I have no problem editing the code....below preferably. I need/want to see freq, dme and ID for any VOR/ILS tuned in NAV1. In a perfect world, would love to see NAV2 info on opposite side Sorry Bert...just saw your code....if I can't have my cake and eat it too, your code will work for me....the id is the main thing I need, I can always look at my radio stack to make sure I have the right freq tuned.... Thanks for the code
July 27, 201510 yr Below would work too... <Element id="DME TIME 1"> <FloatPosition>326.000,114.000</FloatPosition> <Visibility>(A:NAV HAS DME:1, bool) 0 != (L:AP_NAV_SELECT_MODE) 0 == and (A:GPS drives nav1, bool) 0 == and</Visibility> <GaugeText id="DME MIN"> <Bold>false</Bold> <Bright>True</Bright> <FontFace>DISPLAY7</FontFace> <FontColor>green</FontColor> <FontHeight>20</FontHeight> <GaugeString>%((A:NAV HAS DME:1, bool)) %{if}%((A:NAV IDENT:1, string))%!s! %{else}-- %{end}</GaugeString> <HorizontalAlign>RIGHT</HorizontalAlign> <Size>100,22</Size> <Transparent>True</Transparent> </GaugeText> </Element> Bert
Create an account or sign in to comment