oal331
09-06-2012, 03:22 PM
Hello Captains,
i need your help please, about SIOC.
1) Can i have 2 different SIOC running in 2 PCs ?
Why ? In main FSX Pc i'm running a SIOC, having conected there all my overhead OC's Cards
I a 2nd PC, (Captain's) i want to run another SIOC beause there i have connected all OC Radios. Is it possible to have 2 SIOC running in the same network?
I'm asking because i tried and failed. 2nd SIOC recognizes all the Radios connected, but does not send anything to FSX (testing XPDR)
2) How to programming Encoders ?
i made the SIOC code below to control OVH's Flight and Landing Altitudes for B737. It works......, but if i will pass the limits disaster. i.e if will turn the encoder and pass below 0, or above the 41000, i can not control the values.
What i want ? If possible to have negative values for Landing Altitudes and also to remain the encoder within the limits i want.
i.e the Flight Altitude should be always from value 00000 to 41000 right? How can put these limits in Sioc code ?
// *******************************************************
// * *
// * Rotary Encoders for Flight & Cabin Altitude *
// * *
// *******************************************************
Var 0015, name IN_F_ALT, Link FSUIPC_INOUT, Offset $94F6, Length 1 // ifly input Flight Altide
Var 0016, name E_F_ALT, Link IOCARD_ENCODER Input 207 Aceleration 2 Type 2
{
L0 = &E_F_ALT * -1 // * -1 turning clockwise should be plus
&IN_F_ALT = ROTATE 0 84 L0
}
Var 0017, name IN_L_ALT, Link FSUIPC_INOUT, Offset $94F7, Length 1 // ifly input Landing Altide
Var 0018, name E_L_ALT, Link IOCARD_ENCODER Input 209 Aceleration 2 Type 2
{
L0 = &E_L_ALT * -1 // * -1 turning clockwise should be plus
&IN_L_ALT = ROTATE 0 280 L0
}
Thank you
Eddie
i need your help please, about SIOC.
1) Can i have 2 different SIOC running in 2 PCs ?
Why ? In main FSX Pc i'm running a SIOC, having conected there all my overhead OC's Cards
I a 2nd PC, (Captain's) i want to run another SIOC beause there i have connected all OC Radios. Is it possible to have 2 SIOC running in the same network?
I'm asking because i tried and failed. 2nd SIOC recognizes all the Radios connected, but does not send anything to FSX (testing XPDR)
2) How to programming Encoders ?
i made the SIOC code below to control OVH's Flight and Landing Altitudes for B737. It works......, but if i will pass the limits disaster. i.e if will turn the encoder and pass below 0, or above the 41000, i can not control the values.
What i want ? If possible to have negative values for Landing Altitudes and also to remain the encoder within the limits i want.
i.e the Flight Altitude should be always from value 00000 to 41000 right? How can put these limits in Sioc code ?
// *******************************************************
// * *
// * Rotary Encoders for Flight & Cabin Altitude *
// * *
// *******************************************************
Var 0015, name IN_F_ALT, Link FSUIPC_INOUT, Offset $94F6, Length 1 // ifly input Flight Altide
Var 0016, name E_F_ALT, Link IOCARD_ENCODER Input 207 Aceleration 2 Type 2
{
L0 = &E_F_ALT * -1 // * -1 turning clockwise should be plus
&IN_F_ALT = ROTATE 0 84 L0
}
Var 0017, name IN_L_ALT, Link FSUIPC_INOUT, Offset $94F7, Length 1 // ifly input Landing Altide
Var 0018, name E_L_ALT, Link IOCARD_ENCODER Input 209 Aceleration 2 Type 2
{
L0 = &E_L_ALT * -1 // * -1 turning clockwise should be plus
&IN_L_ALT = ROTATE 0 280 L0
}
Thank you
Eddie