Results 21 to 23 of 23
Thread: Big SIOC Task
-
07-21-2010, 02:09 PM #21
- Join Date
- Jul 2013
- Posts
- 917
Re: Big SIOC Task
Nico
Lets hope that there are some pleasant surprises within the list
Regards
David
-
07-21-2010, 03:17 PM #22
Re: Big SIOC Task
Look at next post please.
-
07-23-2010, 09:39 AM #23
Re: Big SIOC Task
Hi everyone,
I'mh aving trouble with Offset $3B70 in SIOC. Basically, I have interfaced this Offset (EGT1 Value) to a real-life EGT Gauge... But for some reason the Instrument (real life) swings massively to the maximum scale deflection after starting SIOC and FSX.
The following SIOC Script controls offset $3B70 nad the EGT1 gauge:
Code:Var 7777, Link FSUIPC_IN, Offset $3B70, Length 2 // EGT1 { L0 = DIV V7777 2 // FSUIPC Offset Variable = L0 / 2 L0 = ABS L0 // L0 not signed L2 = L0 IF L0 <= 100 // First sector { L1 = L2 * 0.07 // (7 steps/100 values) = 0.07 } ELSE // Is a greater value { L2 = L0 - 100 // L2 only have values for next sector IF L0 <= 200 // Second sector { L1 = L2 * 1.37 // (137 steps / 100 values) = 1.37 L1 = L1 + 7 // Add steps of others sectors (+7) } ELSE { L2 = L0 - 200 // L2 only have values for next sector IF L0 <= 500 // 3. Sector { L1 = L2 * 1.463 // ( 439 / 300) = 1.463 L1 = L1 + 144 // Add steps of others sectors (7 + 137) } ELSE // Out of range { L2 = L0 - 500 // L2 only have values for next sector IF L0 <= 800 // 4. sector { L1 = L2 * 1.437 // (431 steps / 300 values) = 1.437 L1 = L1 + 583 // Add steps of others sectors (7 + 137 + 439) } ELSE { L1 = 1014 // Max. position } } } } &Servo5 = 0 + L1 // Add to minimum (0) } Var 5676, name Servo5, Link USB_SERVOS, Output 5, PosL 0, PosC 507, PosR 1014, Type 2 // EGT1 Servo
I have tried dividing the EGT1 value by 2 and still no luck. It brings it back a tiny bit but nowhere near the 700+ degrees it is off by
Thanks,
Jack
Similar Threads
-
Sioc / PM
By mpl330 in forum OpenCockpits General DiscussionReplies: 6Last Post: 02-07-2010, 01:26 PM -
Where can I get SIOC, please?
By Jake 747 400 in forum General Builder Questions All Aircraft TypesReplies: 1Last Post: 11-18-2009, 06:10 PM -
SIOC Help
By CessnaGuy in forum I/O Interfacing and HardwareReplies: 5Last Post: 10-25-2009, 10:00 AM -
SIOC for MIP?
By HondaCop in forum I/O Interfacing Hardware and SoftwareReplies: 17Last Post: 07-21-2009, 07:48 AM -
N1 SET and SPD REF - SIOC
By paoloj in forum OpenCockpits General DiscussionReplies: 0Last Post: 10-28-2008, 04:23 AM
Candid connections: Platform for casual relationships Live Women Prime Сasual Dating
Super Сasual Dating - Genuine...