PDA

View Full Version : QNH offset



bindook
03-19-2007, 02:39 AM
Hi guy's, i'm getting kind of desperate here, i am unable to get the QNH showing in the sim(SIOC). I have tried all offsets that is associated with the QNH but the closest i came to was the 1 used below, but that gave me figures i never expected to see..........


Var 0155, Link IOCARD_DISPLAY, Digit 0, Numbers 5 // QNH display in panel

Var 0156, Link IOCARD_ENCODER, Input 87, Aceleration 1, TYPE 2 // Encoder VS from panel
{
V0157 = V0156 // Erratic values
}

Var 0157, Link FSUIPC_INOUT, Offset $0330, Length 2 // VS value from FS via PM
{
L0 = V0157 * 0.6
V0155 = L0 + 1061

// V0155 = 1013.2 Displays correctly
}

Thanks
Michael

bindook
03-20-2007, 12:44 AM
Problem solved.


Michael

Trevor Hale
03-20-2007, 08:00 AM
LOL,

Glad we could help :)