PDA

View Full Version : Overhead gauges



hercules
03-12-2007, 04:27 PM
Hello,
iam just received my new usb-servo-card from opencockpits. I want build my own overhead gauges for 737NG.

Has anybody already wrote sioc code for use with PM-SYSTEMS together with servocard?

Thanks for help

Thomas

excalibur67
03-14-2007, 11:55 AM
Hi, not yet but just tis evening i start with APU Gauge... after i will post here. Actually i did with sioc only the Flap gauge and works very well !!!

Ciao,
Giuseppe Reda

excalibur67
03-19-2007, 06:03 AM
Hi, like i told you i want to reply now because i wrote the code SIOC for the APU EGT and works very fine.
If you want to know something more write in this forum.

Ciao,
Giuseppe Reda

dnoize
03-19-2007, 07:23 AM
Giuseppe,

Have you posted your sioc code on the Opencockpit forum ?

Did you need any gears or modifications to the servo's ?

Im thinking of doing my overhead gauges with the opencockpit cards. Although SIOC is still chinese to me.

Stef

hercules
03-19-2007, 01:38 PM
Hi Giuseppe,

thats sounds great. i had nock luck with the servocard, because i basically understand sioc, but in this case it seems to heavy for me.

Could you post this code here in this forum please? So i (and many other here) maybe can learn more about sioc from it?!

Best regards

Thomas

excalibur67
03-25-2007, 09:03 AM
Hi at all, this is my code for APU EGT and for Duct Press Meter:

/////////// APU EGT METER /////////////

var 200, name Servo1, Link USB_SERVOS, Device 11, Output 1, PosL 0, PosC 512, PosR 1010 // Servo Motor
var 201
var 202
var 203
var 204
Var 205,name ApuMeter, Link FSUIPC_INOUT, Offset $5604, Length 2 //
APUEGT
{
V201 = 1010
V202 = &ApuMeter * 0.1
V203 = v202 / 2
V204 = V201 - V203
&Servo1 = V204
}


/////////// BLEEDS METER LEFT /////////////

var 206, name Servo2, Link USB_SERVOS, Device 11, Output 1, PosL 0, PosC 512, PosR 900 // Servo Motor
var 207
var 208
var 209
var 210
Var 211,name BleedLeft, Link FSUIPC_INOUT, Offset $567A, Length 2 // BLEED PSI LEFT
{
V207 = 290
V208 = &BleedLeft * 0.1
V209 = v208 * 6
V210 = V207 + V209
&Servo2 = V210
}

/////////// BLEEDS METER RIGHT /////////////

var 212, name Servo3, Link USB_SERVOS, Device 11, Output 1, PosL 0, PosC 512, PosR 930 // Servo Motor
var 213
var 214
var 215
var 216
Var 217,name BleedRight, Link FSUIPC_INOUT, Offset $567C, Length 2 // BLEED PSI RIGHT
{
V213 = 930
V214 = &BleedRight * 0.1
V215 = v214 * 6
V216 = V213 - V215
&Servo3 = V216
}

This code is good for the instruments from SimKits.
All works fine, only one thing that i 'm studying at moment is for the duct press meters because when the values arrive the hands go too soon at position while i want that arrive smoothly. While the APU Egt works like i want.

I hope that with this i can help someone.

Ciao,
Giuseppe Reda

hercules
03-25-2007, 04:40 PM
Hi Giuseppe,

thanks a lot for the code! It works fine for me and it is a large step for my overhead.

The EGT moves very smoothly to its position. Looks very nice.

The pressure pointer ae much to fast...in other words they makes only one stept to the new pointer position. Thats what you are allready investigate...
I look forward to the results...and i hope you will find any solution to fis this.

Regards

Thomas