Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Slammer

Members
  • Joined

  • Last visited

  1. Gentz, Solved the problem using two seperate macro's, thanks anyway. Gr. Slammer
  2. Gentz, I'm having a problem with my landing gear lights. I want them on the ground to go on/off with the switch and when turned on, i want them in the air to go on/off when landing gear is in/out. I have the following snippet which only works on the ground. Tried with SIM ON GROUND syntax but could not get it to work. please help! <Element> <Select> <Value> (A:LIGHT TAXI,bool) (A:GEAR CENTER POSITION,percent) 99 < && if{ (> K:TOGGLE_TAXI_LIGHTS) } els{ } </Value> </Select> </Element> <!-- PANEL LIGHT SWITCH (!) - FORCED OFF --> <Element> <Select> <Value>(A:LIGHT PANEL ON,bool) ! if{ (> K:PANEL_LIGHTS_OFF) }</Value> </Select> </Element> </Gauge
  3. All who have replied, Thank you very much helping me out, it works fine only not all ILS frequencies are recognized. For instance 108.55 SBO (ILS27 Soesterberg, the Netherlands) works fine but 110.75 VLO (ILS24 Volkel, the Netherlands) is not recognized. Maybe this is due to the Scenery (NL2000). Thanks again, a happy Slammer
  4. Mgh & Bob, Both thanks for your replies! I'm having trouble to implement Mgh's statement. I'm probably doing the wrong things at the wrong places. The way i implemented it, it returns 000 on the DME. Here are two codes. The first code gives DME to the NearestVorCurrentDistance which works but as i said before, it switches DME readings of nearby facilities. The second code is mgh his code but returns 000 on the DME. //----- <Element> <!--Visible>(A:NAV1 HAS DME, bool) (L:Steering Control, enum) 0 == &&</Visible--> <Visible>(A:NAV1 HAS DME, bool) (L:AVCS-UFC,bool) 1 == & (L:HSI-MODE,enum) 3 == (L:ILS Switch, bool) 0 == &&</Visible> <Position X="13" Y="6"/> <Text Bright="Yes" X="62" Y="20" Length="8" Font="arialbold" Color="#010101" Adjust="Left" VerticalAdjust="Center" Multiline="No" Fixed="No"> <String>%((A:NAV HAS LOCALIZER) (A:HSI DISTANCE, nmiles))%{if}%((C:fs9gps:NearestVorCurrentDistance, nmiles))%!05.1f!%{else}%((A:NAV1 DME, nmiles))%!05.1f!%</String> </Text> </Element> Second code: <Element> <Visible>(A:NAV1 HAS DME, bool) (L:AVCS-UFC,bool) 1 == & (L:HSI-MODE,enum) 3 == (L:ILS Switch, bool) 0 == &&</Visible> <Position X="100" Y="150"/> <Text X="62" Y="18" Bright="Yes" Length="7" Font="arial" Color="#ffffff" Adjust="Left" VerticalAdjust="Center" Multiline="No" Fixed="No"> <String>%((A:NAV HAS LOCALIZER:1, Bool) (A:NAV HAS DME:1, Bool) and if{ (A:NAV DME:1, nmiles) (> L:MyDMEDistance, Number) } (L:MyDMEDistance, Number))%!03d!</String> </Text> </Element> Question is: is this the correct place to put mgh's code or should it be in a value, macro, string or other statement. Sorry for not quit understanding what you ment. Slammer
  5. Maybe its possible with the database from Bob McElrath because lat/lon of the ILS should be somewhere in here. Then do a calculation via GeoCalc, but how?
  6. Fr.Bill I've done a arbitrary solution as well to show in the HUD and HSI when LOC/GS is off, alive and steady as a function of time with the following code. Maybe it helps. //----HUD ILS LOC DISPLAY <Element> <Position X="-239" Y="-27"/> <Clip Top="50" Left="-239" Right="691" Bottom="588"/> <Visible>(A:HSI has localizer, bool) (L:ILS Switch, bool) 0 == &&</Visible> <Select> <Value>(A:HSI has localizer, bool) (A:HSI CDI needle valid, bool) (L:AVCS-INS, enum) 2 == and and if{ (G:Var2) 0 == if{ (P:Absolute time,seconds) 15 + (>G:Var2) } } els{ 0 (>G:Var2) } (G:Var2) (P:Absolute time,seconds) ></Value> <Case Value="0"> <Image Name="Localizer_Needle_white-Valid.bmp" Bright="Yes"/> </Case> <Case Value="1"> <Image Name="Localizer_Needle_white.bmp" Bright="Yes"/> </Case> </Select> <Shift> <Value Minimum="-1" Maximum="1">(A:HSI CDI needle, number) 127 /</Value> <Nonlinearity> <Item Value="-1" X="-322" Y="-27"/> <Item Value="0" X="-281" Y="-27"/> <Item Value="1" X="-239" Y="-27"/> </Nonlinearity> </Shift> </Element> //----HUD ILS GS DISPLAY <Element> <Position X="-325" Y="59"/> <Clip Top="50" Left="20" Right="691" Bottom="588"/> <Visible>(A:HSI GSI needle valid, bool) (L:ILS Switch, bool) 0 == &&</Visible> <Select> <Value>(A:HSI has localizer, bool) (A:HSI GSI needle valid, bool) (L:AVCS-INS, enum) 2 == and and if{ (G:Var1) 0 == if{ (P:Absolute time,seconds) 15 + (>G:Var1) } } els{ 0 (>G:Var1) } (G:Var1) (P:Absolute time,seconds) ></Value> <Case Value="0"> <Image Name="Glideslope_Needle_white-Valid.bmp" Bright="Yes"/> </Case> <Case Value="1"> <Image Name="Glideslope_Needle_white.bmp" Bright="Yes"/> </Case> </Select> <Shift> <Value Minimum="-1" Maximum="1">(A:HSI GSI needle, number) 120 /</Value> <Nonlinearity> <Item Value="-1" X="-325" Y="-23"/> <Item Value="0" X="-325" Y="18"/> <Item Value="1" X="-325" Y="59"/> </Nonlinearity> </Shift> </Element> </Element> </Element> Slammer
  7. mgh, Thanks for your quick reply, but how should i do this. Don't know how to get the result out of the database. Slammer
  8. Hello all, I want to show DME to active ILS/LOC freq. I've read a few posts concerning this subject, but all are in C++. Does anybody have the solution in XML. I've tried with NearestVorCurrentDistance which works but the problem is that there are to many airfields in the direct vicinity so DME goes bazerk. Thanks in advance for helping me out. Slammer
  9. Jan, I've found the right statement for this problem. It should be (A:GPS WP DESIRED TRACK, degrees) as the following code shows. <!-- HSI ILS/NAV MODE --> <Element> <Visible>(L:AVCS-UFC,bool) 1 == (L:HSI-MODE,enum) 3 == & (L:ILS Switch, bool) 0 == &&</Visible> <Position X="173" Y="6"/> <Text X="62" Y="20" Bright="Yes" Length="3" Font="arial" Color="#ffffff" Adjust="Left" VerticalAdjust="Center" Multiline="No" Fixed="No"> <String>%((A:NAV1 OBS,degrees))%!03d!</String> </Text> </Element> <Element> <Visible>(L:AVCS-UFC,bool) 1 == (L:HSI-MODE,enum) 3 == & (L:ILS Switch, bool) 1 == &&</Visible> <Position X="173" Y="6"/> <Text X="62" Y="20" Bright="Yes" Length="3" Font="arial" Color="#ffffff" Adjust="Left" VerticalAdjust="Center" Multiline="No" Fixed="No"> <String>%((A:GPS WP DESIRED TRACK, degrees))%!03d!</String> </Text> </Element> Slammer
  10. Bob, Superb! This opens a whole new range of possiblilities. Gona do some digging for transferring those lat/lon to the addwaypoint for military use. Suppose Karol will be pleased as well for his Targeting Pod. Thanx! Slammer
  11. Jan, Thanks for your reply but this switch only switches on the AP an NAV Hold whereis the NAV/GPS button blinks momentarily from NAV to GPS and settles at NAV again. In the HSI gauge i mentioned above when in GPS/AUTO only sends course from flightplan to AP but does not activate AP. The secondary HSI follows the primary HSI. Hope you have an other option? Slammer
  12. Gents, I've worked around this problem. For starters you don't need a loaded .pln file. You can rightaway start entering Lat/Lon coordinates and it will make your .pln file instantly. You can also put a extra steerpoint anyware in the .pln file where you want. The only problem is that these changes are not saved and only of use in flight. I use this feature (and will be most used by military aviation) to get Lat/Lon coordinates of a target from an ATC controller or deployed Forward Air Controller in exercises we perform on the IVAO network. Afterwords i enter the coordinates at a certain point in the flightplan and navigation system shows heading, time to target or if i wish i change the time of arrival to my own suites and then the navigation system tells me what speed to fly to meet the new time of arrival (TOT, Time over Target. Greetings Slammer
  13. Hello all, I use the cad_sn3308.gau as my HSI. With this instrument you can switch between VOR1/ILS VOR2, GPS and GPS/AUTO. When switched to GPS you can manually step through your waypoints (steerpoint) of your flightplan (.pln) and does nothing to my secondary HSI. In GPS/AUTO this will be done automatically and advances through your waypoints along the flight and sets autopilot to the correct course and switches my secondary HSI to follow the primary HSI automatically. Since i only want to use my secondary HSI (which i designed myself) i want to make a switch that switches automatically to this GPS/AUTO function. Since the cad_sn3308.gau is a gauge file, I can't open it to see how this instrument does switches between GPS and GPS/AUTO mode. I've tried via (A:GPS drives NAV1) and TOGGLE_GPS_DRIVES_NAV1 but did't work. Probably simple but can't find the right statement for this. Please help me out? Greetings Slammer
  14. Jan, In the real F16 MFD you see the waypoints as white circles with the active one flashing. Is this possible and how to tackle this if it is so? Slammer

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.