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.

I thought I knew something about XML.

Featured Replies

Hi, I thought I knew something about XML but that is a mistake. )-:I ran into this ineteresting code yesterday //(M:Y) (*Get Y*) 30 - (*skip top runof*) 315 / (*divide by running height*) 0 max 1 min (*into [0-1]*) 1 - /-/ (*from bttom to top*) 1 (A:Throttle lower limit,part) s0 - * l0 + (*apply lower limit*) 16384.0 * (*KEY_THROTTLE1_SET requires 16k*) d (>K:THROTTLE1_SET) (>K:THROTTLE2_SET) (>K:THROTTLE3_SET) (>K:THROTTLE4_SET) (A:Autopilot throttle arm,bool) if{ 1 (>K:AUTO_THROTTLE_ARM) }(M:Y) 10 - 162 / 0 max 1 min 1 - /-/ 1 (A:Throttle lower limit,part) s0 - * l0 + 16384.0 * (>K:THROTTLE_SET)This mouse click part is from a Throttle/Reverse throttle xml gauge. The image is a vertical bar. Dependig on where you click on that bar you invoke forward throttle or reverse throttle. 1. It seems to be possible to have 2 click statements in one statement 1a. Would the // in front of

  • Moderator

>1. It seems to be possible to have 2 click statements in one> statement >1a. Would the // in front of with that?Of course! the // is commenting out that entire statement! You can still only have one mouse action per area.>2. Never saw Click Kind=. Are there more kinds?Yes, as many variations as you can think of, such as:etc.>3. What does "LeftSingle+LeftDrag" mean, do?The action occurs only if the left button is held down and the mouse is dragged.>4. It seems that x and y position can be obtained by (M:Y)M:X will return the x positionM:Y will return the y position

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Thanks Bill,Had to look for a while at:>3. What does "LeftSingle+LeftDrag" mean, do?The action occurs only if the left button is held down and the mouse is dragged.

>3. What does "LeftSingle+LeftDrag" mean, do?The action occurs only if the left button is held down and the mouse is dragged.(M:Event) 'LeftSingle' scmp 0 == if{ do this as long as the left button is held down }(M:Event) 'Leave' scmp 0 == if{ do this when left button is released }>Another thing that puzzles me is (A:Throttle lower limit,part)What does this var contain? Does it differ between aircraft?Is it a value that is set in the air file or aircraft.cfg?<(A:Throttle lower limit,part or percent) is the bottom index number of a throttle, 0 for GA and usually negative (ie -30 percent) for jet engines with reverse thrust. Tom

Hello Tom,I will test the var to see what it gives. I entered this gauge in a 1900D turbo twin and to my surprise it works like a charm.I am working on an autoland for this aircraft so I only need the part that will invoke the reverse throttle on touch down. It's a bit difficult to see (for me )-:) what part of the code would do the trick. Your help is very much appriciated.Thanks for your help,Roelof

Roelof,Reversers should work as soon as the nose wheel hits the ground, so I would test for Radio Altimeter decrease = 0 and then apply reverse thrust. Let me know if you still have trouble to make it work :-)Tom

>Reversers should work as soon as the nose wheel hits the>ground, so I would test for Radio Altimeter decrease = 0 and>then apply reverse thrust. Let me know if you still have>trouble to make it work :-)>>TomHi Tom,After I discovered that these statements only seem to work when autothrottle is disabled I was on my way. The way I set it up is as follows:at 50 ft above GL disengage AT,(>K:THROTTLE_CUT), disengage AP,-16384.0 (>K:THROTTLE_SET), (A:GROUND VELOCITY,knots) 20 <, (>K:THROTTLE_CUT), Taxi to the gate manually.However, in the aircraft.cfg I found: min_throttle_limit = -0.25; Should I apply the (A:Throttle lower limit,part)?If so, what is the effect on -16384? Do I only apply 25% of that making it look like this: -16384.0 0.25 *(>K:THROTTLE_SET)?That is not very clear to me.Thanks for your time TomRoelof

  • Author

Roelof,That seems correct.In the aircraft.cfg you can set max rev power.So if you code -16384 throttle, only the amount set in the .cfg will be given.(I think...,SDK:Defines the minimum throttle position (percent of max). Normally 0 for piston aircraft and -0.25 for turbine airplane engines with reverse thrust.)Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Create an account or sign in to comment

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.