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.

Help with Seneca autopilot

Featured Replies

  • Author
Bert,Where is this Autopilot.xml located. I've searched the whole drive and not found it?Thx,
I actually need some help on this from someone who knows how to program XML... please contact me via PM if you can!To start with, I looked in the panel.cfg file and found that the autopilot is called PA34SEN!autopilot.The PA34SEN gauge is a cab file which means it can be edited.Since I do not like to keep creating cab files while I am testing, I extracted the content of this cab file into a subfolder tothe gauges folder and named this subfolder PASEN34. I renamed the cab file to .old just in case.Now, FSX loads the PA34SEN gauges from the folder, which means that I can make changes to the xml files in this folderand test. Problem is: I know very little if any XML. All my programming skills are Fortran based :( What I would like to do, is make the autopilot behave the way it is described in the Century Pilots Guide.Changing the Rocker Switch from activating the trim to activating pitch incr/decr is a step in the right direction.When the AP is first switched on, it appears to activate a Pitch hold (I assume this is FSX default).This allows the rocker switch to do it's thing. So far so good.When I activate ALT it holds altitude. OK.When I release ALT, it does not revert to pitch hold as best I can tell, so the rocker loses it's function.Turning the AP off/on restores the pitch control.So what I really want to do, is re-activate pitch hold when the ALT is released, but I do noteven know the XML syntax for multiple events on a mouse click... help!

Bert

  • Replies 60
  • Views 12.2k
  • Created
  • Last Reply

Top Posters In This Topic

I actually need some help on this from someone who knows how to program XML... please contact me via PM if you can!To start with, I looked in the panel.cfg file and found that the autopilot is called PA34SEN!autopilot.The PA34SEN gauge is a cab file which means it can be edited.Since I do not like to keep creating cab files while I am testing, I extracted the content of this cab file into a subfolder tothe gauges folder and named this subfolder PASEN34. I renamed the cab file to .old just in case.Now, FSX loads the PA34SEN gauges from the folder, which means that I can make changes to the xml files in this folderand test. Problem is: I know very little if any XML. All my programming skills are Fortran based :( What I would like to do, is make the autopilot behave the way it is described in the Century Pilots Guide.Changing the Rocker Switch from activating the trim to activating pitch incr/decr is a step in the right direction.When the AP is first switched on, it appears to activate a Pitch hold (I assume this is FSX default).This allows the rocker switch to do it's thing. So far so good.When I activate ALT it holds altitude. OK.When I release ALT, it does not revert to pitch hold as best I can tell, so the rocker loses it's function.Turning the AP off/on restores the pitch control.So what I really want to do, is re-activate pitch hold when the ALT is released, but I do noteven know the XML syntax for multiple events on a mouse click... help!
Although I am not an expert in any way on XML code I will give this a shot and see if I can get the pitch hold to activate since the code should already be located in the power switch for the autopilot it shouldn't be hard to find. Not sure if I can do anything about the 700fpm default setting till I look at the code.

Ricci McCarty

  • Author
Although I am not an expert in any way on XML code I will give this a shot and see if I can get the pitch hold to activate since the code should already be located in the power switch for the autopilot it shouldn't be hard to find. Not sure if I can do anything about the 700fpm default setting till I look at the code.
Initially, the pitch hold mode is set by FSX:>From the SDKdefault_pitch_mode This determines the default pitch mode when the autopilot logic is turned on.0 = None1 = Pitch Hold (current pitch angle)2 = Altitude Hold (current altitude)If no value is set, Pitch Hold will be the default.Here is what I would like to be able to do: (pardon the faulty XML syntax)<Click><Value>(A:xxx,bool)</Value><Case Value="0">0 (>K:...)</Case><Case Value="1">0 (>K:...) 0 (>K:...)</Case></Click>

Bert

Initially, the pitch hold mode is set by FSX:>From the SDKdefault_pitch_mode This determines the default pitch mode when the autopilot logic is turned on.0 = None1 = Pitch Hold (current pitch angle)2 = Altitude Hold (current altitude)If no value is set, Pitch Hold will be the default.Here is what I would like to be able to do: (pardon the faulty XML syntax)<Click><Value>(A:xxx,bool)</Value><Case Value="0">0 (>K:...)</Case><Case Value="1">0 (>K:...) 0 (>K:...)</Case></Click>
A word of thanks to all the guys working this AP problem. I am sure the problems are forwarded to Carenado for an official fix."I don't have the nerve to dig into XML files etc. .. "Your efforts are much appreciated .. :(

Intel i7 - 9700K @ 3.60 GHz   |   Asus RTX 3080  |  32 GB RAM  |  Saitek ProFlight Yoke System and Rudder Pedals | X-Touch Mini | Honeycomb Bravo TQ

  • Author
A word of thanks to all the guys working this AP problem. I am sure the problems are forwarded to Carenado for an official fix."I don't have the nerve to dig into XML files etc. .. "Your efforts are much appreciated .. :(
OK, I think I've got it.This is what I sent off to Carenado: <Click> 0 (>K:AP_ALT_HOLD) (A:AUTOPILOT ALTITUDE LOCK) 0 == if{ 0 (>K:AP_ATT_HOLD_ON) } </Click> </Area>Pitch hold is automatic when the AP is first turned on (FSX default), and forced back on when the ALT HOLD button is turned off.

Bert

OK, I think I've got it.This is what I sent off to Carenado: <Click> 0 (>K:AP_ALT_HOLD) (A:AUTOPILOT ALTITUDE LOCK) 0 == if{ 0 (>K:AP_ATT_HOLD_ON) } </Click> </Area>Pitch hold is automatic when the AP is first turned on (FSX default), and forced back on when the ALT HOLD button is turned off.
Looks good but where in the file did you put it? Kinda hard to tell on that one without a refrence.

Ricci McCarty

  • Author
Looks good but where in the file did you put it? Kinda hard to tell on that one without a refrence.
(L:TRIMAP,bool) 1 ==if{ (>K:AP_PITCH_REF_INC_DN) }and(L:TRIMAP,bool) 2 ==if{ (>K:AP_PITCH_REF_INC_UP) }and<Area Left="342" Top="62" Width="84" Height="81"> <Cursor Type="Hand"/> <Click> 0 (>K:AP_ALT_HOLD) (A:AUTOPILOT ALTITUDE LOCK) 0 == if{ 0 (>K:AP_ATT_HOLD_ON) } </Click> </Area>

Bert

(L:TRIMAP,bool) 1 ==if{ (>K:AP_PITCH_REF_INC_DN) }and(L:TRIMAP,bool) 2 ==if{ (>K:AP_PITCH_REF_INC_UP) }and<Area Left="342" Top="62" Width="84" Height="81"> <Cursor Type="Hand"/> <Click> 0 (>K:AP_ALT_HOLD) (A:AUTOPILOT ALTITUDE LOCK) 0 == if{ 0 (>K:AP_ATT_HOLD_ON) } </Click> </Area>
Bert-thanks for your work here. Fortran-sounds like you are two years ahead of me-I was machine lang and basic 1.In any case-hopefully we will have a real working autopilot-they are very particular and model related-glad to see we may get some reality here...I hope..

Geofa

WANTED DEAD OR ALIVE-the best Flight Sim!

Bert-thanks for your work here. Fortran-sounds like you are two years ahead of me-I was machine lang and basic 1.In any case-hopefully we will have a real working autopilot-they are very particular and model related-glad to see we may get some reality here...I hope..
Just a quick note I heard back from Carenado today and they sent me this fix for the cyliner head. It should be slightly more accurate then my version because of the decimal places in my conversion.Change this line

Ricci McCarty

Has anyone figured out the Carenado Seneca autopilot?Does it have any kind of attitude hold when the AP is switched on?And when and how does the UP / DOWN rocker switch get used.Lastly, on my AP anunciator, the NAV and ALT readouts are on topof each other.. is this a bug? Or does it work correctly on yoursystem?
More Intresting Panels I wish I could make the weather radar. :(http://www.avitop.com/aircraft/bigpic.asp?...&pic=db.jpghttp://www.planecheck.com/image.asp?Imgnam...21194190770.jpgHere is a link to some pics:http://www.skywagons.com/7769c-pg.htmlHere is a list of equipment I found:http://www.trade-a-plane.com/clsfdspecs/823117Garmin GMA 340 Audio Panel Garmin 430 IFR Moving map GPS/Com Garmin 430 Glide Slope indicator head Garmin 396 Gizmo mounted GPS Map with weather and XM Bendix King KX-155 Digital 720 Channel Nav/Com Bendix King KI-209 Indicator Narco AT 50A Mode C Transponder Bendix Monochrone Radar Standby Artificial Horizon Dual EGT's Altimatic IIIC Auto Pilot with Alt' hold Pilot's side push-to-talk Avionics Master Switch Garmin 430Garmin 396King KX155WX8Cenury IIIB

Ricci McCarty

  • Author
Bert-thanks for your work here. Fortran-sounds like you are two years ahead of me-I was machine lang and basic 1.In any case-hopefully we will have a real working autopilot-they are very particular and model related-glad to see we may get some reality here...I hope..
Geof, it has actually been a lot of fun trying to program something in a language I have no real experience with..Thanks to lots of help on various Avsim forums (and a most helpful contribution by my son who is fluent innewfangled computer languages), I've been able to also add the last and hopefully final feature andsend it off to Carenado for their consideration.The autopilot now matches the Century 31 Pilot's Guide in it's function, in that the rocker switch adjusts pitchand will switch ALT HOLD to ATT HOLD, if ALT HOLD is active.

Bert

Geof, it has actually been a lot of fun trying to program something in a language I have no real experience with..Thanks to lots of help on various Avsim forums (and a most helpful contribution by my son who is fluent innewfangled computer languages), I've been able to also add the last and hopefully final feature andsend it off to Carenado for their consideration.The autopilot now matches the Century 31 Pilot's Guide in it's function, in that the rocker switch adjusts pitchand will switch ALT HOLD to ATT HOLD, if ALT HOLD is active.
Bert-sounds great-thanks for your work! You don't happen to own the Duchess also? (I have a whole list of "improvements" for the Century IV in that bird).

Geofa

WANTED DEAD OR ALIVE-the best Flight Sim!

  • Author
You don't happen to own the Duchess also? (I have a whole list of "improvements" for the Century IV in that bird).
No I do not... and maybe that is a good thing, since my to-do list was put on hold for a few days and urgently needs attention :(

Bert

No I do not... and maybe that is a good thing, since my to-do list was put on hold for a few days and urgently needs attention :(
Yeah-flight sim tends to do that. :(

Geofa

WANTED DEAD OR ALIVE-the best Flight Sim!

Yeah-flight sim tends to do that. :(
I was looking a little deeper into the gauges. Is it normal for the Manifold Pressure and RPM gauges to be off by as much as what is displayed? Looking at the popup I get a different reading then the guage.The RPM gauge shows: <Position X="152" Y="154"/><Item Value="0" X="84" Y="298"/><Item Value="15" X="152" Y="7"/><Item Value="26" X="282" Y="224"/>So if I read this right I see X=152+152=304 Y=154+154=308.152 would be verticle(center of width) at 7 pixles from the top so this number is correct.This would mean eigther the 1st, 3rd or both are off by a small amount.I think I have a more accurate calculation.X= 0+ 97= 97 Y=308-35=273 (RPM 0)X= 0+152=152 Y= 0+23= 23 (RPM 15)X= 304- 43=261 Y=308-92=216 (RPM 26)Let me know what you thik. I'm going to pluig in the numbers and see what happens.My numbers seem to be a little high so far. Hmmm. I just noticed that the image is not 304x308. It is 304x304 making the numbers off.

Ricci McCarty

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.