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.

CAWS AP DISENG should only last 30s fix (for Bert's mod)

Featured Replies

I found this description in pilatus's manual (7-34-8):

Quote

A/P DISENG caution is delayed 3 seconds in order to prevent aural warning conflict with the autopilot system. A/P DISENG caution goes off after 30 seconds.

So I dig in the xml and RPN Scripting (and mostly by coping code from other place), to make it work like this.

in GAUGEPC12\Gauge_Anum_DOWN_PC12V4.xml:

under:

        <Image id="Gauge_Anum_PC12_BG" Name="Gauge_Anum_PC12_BGNOP">
            <Transparent>True</Transparent>
        </Image>

Add: (shold NOT included in <image>, I think it should start like line15 or so)

 		<Update>
			<Script>
(A:AUTOPILOT MASTER,BOOL) 0 !=
if{
	0 (>L:AUTOPILOT_MASTER_TIMER,number)
}
els{
	(L:AUTOPILOT_MASTER_TIMER,number) ++ (>L:AUTOPILOT_MASTER_TIMER,number)
}		
             </Script>
		</Update>

 

And then, find     <Element id="Gauge_Anum_PC12_AP_DISENG">  ,edit the whole <Element> entry into

		 <Element id="Gauge_Anum_PC12_AP_DISENG">
            <FloatPosition>0.000,0.000</FloatPosition>
            <Visibility>(A:AUTOPILOT MASTER,BOOL) 0 == and (L:AUTOPILOT_MASTER_TIMER,number) 0 &gt; (L:AUTOPILOT_MASTER_TIMER,number) 18 6 * &gt; (L:AUTOPILOT_MASTER_TIMER,number) 18 66 * &lt; and</Visibility>  
            <Image id="Image" Name="Gauge_Anum_PC12_AP_DISENG.bmp">
               <Transparent>True</Transparent>
            </Image>
         </Element>		

 

Also, to synchronize the Master Caution Light. go to GAUGEPC12\Gauge_Anum_MASTER_CAUTIONV4.xml ,find <!-- TEST8_MASTER_CAUTION -->

Edit them into

(A:AUTOPILOT MASTER,BOOL) 0 == 
(L:AUTOPILOT_MASTER_TIMER,number) 0 &gt; (L:AUTOPILOT_MASTER_TIMER,number) 18 6 * &gt; (L:AUTOPILOT_MASTER_TIMER,number) 18 66 * &lt; and and
(L:PUSH_TEST8_MASTER_CAUTION,number) 0 == and
if{  1 (>L:TEST8_MASTER_CAUTION,number) }	
els{ 0 (>L:TEST8_MASTER_CAUTION,number) }

(A:AUTOPILOT MASTER,BOOL) 0 == 
(L:AUTOPILOT_MASTER_TIMER,number) 0 &gt; (L:AUTOPILOT_MASTER_TIMER,number) 18 6 * &gt; (L:AUTOPILOT_MASTER_TIMER,number) 18 66 * &lt; and and !
if{ 0 (>L:PUSH_TEST8_MASTER_CAUTION,number) }

Now, when you (or something else*) disengage autopilot, the A/P DISENG light on CAWS along with Master Caution should only illuminate after 3 seconds of delay, and goes off 30 seconds later (with out this mod, the MC will go off 30s later in Bert's mod, that's where I got the code)

   (*Note, the AP should be disengaged when using pitch trim switch, it's not in the gaugue's logic, but I get it covered by assign both trim switch to autopilot_off control in FSUIPC.)

And don't ask why and how it works, I don't know, the RPN scripting drives me crazy....

Archived

This topic is now archived and is closed to further replies.

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.