Broken variable (?): ELEVATOR TRIM POSITION

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Post Reply
peterk41
Posts: 47
Joined: Tue Jul 17, 2012 5:41 am

Broken variable (?): ELEVATOR TRIM POSITION

Post by peterk41 »

Good morning

My system:
- Prepar3D v4 SDK 4.5.12.30293
- Hardware not relevant in this topic

We try to set the
ELEVATOR TRIM POSITION (Elevator trim deflection, Radians, writtable=Y)
in XML gauge. However without any success.

Reading is fine.

Can somebody confirm writing thru XML is possible or advise me how to set in gauge (autotrim system) ?
Thanks for any advise or sugestion.
Peter
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: Broken variable (?): ELEVATOR TRIM POSITION

Post by Clifton Crane »

Hi Peter,

Simulation variables are not settable from an XML gauge. Instead, you will want to use Key Events. For elevator trim, this would be the "ELEVATOR_TRIM_SET" key event.

RPN Example:

0 (>K:ELEVATOR_TRIM_SET)

or

16383 (>K:ELEVATOR_TRIM_SET)

Hope this helps!
Clifton Crane
Prepar3D® Software Engineer Sr.
peterk41
Posts: 47
Joined: Tue Jul 17, 2012 5:41 am

Re: Broken variable (?): ELEVATOR TRIM POSITION

Post by peterk41 »

Dear Clifton

Thanky you, my error. I was completely forgetting this.
However somehow not logic as XML shall be the preferred method for gauges.
That you want to change system variables is quite natural, i.e. FMS can not be done easyly without ?

However, thanks, matter is closed
Regards
Peter
Post Reply