-
Please help on landing gear problem
Gentz, Solved the problem using two seperate macro's, thanks anyway. Gr. Slammer
-
Please help on landing gear problem
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
-
DME to active ILS/LOC freq
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
-
DME to active ILS/LOC freq
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
-
DME to active ILS/LOC freq
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?
-
Glideslope Indicator(s)
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
-
DME to active ILS/LOC freq
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
-
DME to active ILS/LOC freq
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
-
GPS GPS/AUTO switching
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
- CustomDraw Map Guidebook released
-
GPS GPS/AUTO switching
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
-
Steer me in the right direction
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
-
GPS GPS/AUTO switching
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
-
XML Custom Map Symbols
Thanks all, going to try it. Slammer
-
XML Custom Map Symbols
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
Slammer
Members
-
Joined
-
Last visited