PDA

View Full Version : Rudder Trim Display - Offset



masterp
02-24-2016, 02:11 AM
Hi JL,

I am planning to setup "7-segment displays" to display the rudder trim indicator of the bus. Example "L2.1" , "0.0" or "R1.3".
Could you please let me know the offset value for those LEDs.

my card is Arduino with mobiflight software, with below tutorial.
http://www.mobiflight.com/en/tutorials/seven-segment-display.html

Thanks

P/S: I found this offset from FSUIPC documents, I may try and report later :)
Offset Size Description

2EC0
8
Rudder trim deflection, in radians, as a double (FLOAT64).

jeehell
02-24-2016, 05:44 AM
Hi,

this offset will not work, currently no offsets will give this display state. I will try to add it in next release.

JL

masterp
02-24-2016, 06:21 AM
Thanks JL.
I will prepare all the LEDs first and wait for your offset code :D

sstusek
02-24-2016, 05:32 PM
Hello JL

While you are at it, could you please also check zeros displaying on rudder trim display. I have configured my rudder trim display in sioc-configurator and I get all three zeros on "00.0". I think there should only be two "0.0" and the third segment (DISP3) on when trim value exceeds "9.9" to "10.0" L or R.

http://www.mycockpit.org/forums/attachment.php?attachmentid=11252&stc=1

I added code in sioc to extinguish third segment 0 until value 1. It works fine but while trimming I get zero flickering on disp3 segment until trim value 10.

Var 0005, name RUDTRIM_DISP3, Link IOCARD_DISPLAY, Device 3, Digit 73, Numbers 1
{
IF &RUDTRIM_DISP3 = 0
{
&RUDTRIM_DISP3 = -999999
}
}

It is not that bad but if it can be sorted out it would be perfect :), Thank you.
Simon

jeehell
02-25-2016, 05:01 PM
Hi,

FSUIPC offsets used will be $73B1 length 2 for the display, and $78ED values 77 to 80 for switch/selector.
Not sure when the new version will come out yet, I hope in a few days.

I corrected the SIOC issue at the same time.

JL