zeineddine
10-14-2014, 12:11 PM
So just to make sure:
1. Verify all your USB connections from the Throttle appear in SIOC as devices (should be 2 devices)
2. Make sure these devices are configured properly in sioc.ini with USBDCmotor and USBAnalogic (preferably not to use IDX 0)
3. Make sure all variables are loaded properly in your SIOC ssi
4. Use IOCP Console in SIOC to verify that when you move throttle parts the variables change values accordingly.
You can also use the calibration program provided from RSP if you need to.
The RSP Throttle documentation can be found here:
http://www.revolution-simproducts.com/Downloads_files/B737%20NG%20MOTORIZED%20THROTTLE%20SETUP%20MANUAL_V33.pdf
The throttle variables in ssi are in the 2000 series:
Var 2000, name Motor_1, Link USB_DCMOTOR, Device 2, Output 6
Var 2001, name A1, Link USB_ANALOGIC, Device 2, Input 1, PosL 10, PosC 122, PosR 255
{
IF &ATengage = 1
{
IF &A1 < &potfark
{
IF &toga = 1
{
&Motor_1 = 52
&Leverdiscon = 192
}
IF &toga <> 1
{
&Motor_1 = 52
&Leverdiscon = 192
}
}
IF &A1 > &potfark
{
&Motor_1 = 180
&Leverdiscon = 192
}
IF &A1 < &potplus
{
IF &A1 > &potminus
{
&Motor_1 = 0
}
}
IF &toga = 0
{
IF &acongnd = 1
{
&Leverdiscon = 0
&Motor_1 = 0
&throttle = &A1 / 0.0154
}
}
}
IF &ATengage = 0
{
&throttle = &A1 / 0.0154
&Motor_1 = 0
&Leverdiscon = 0
}
&angle = &A1 - &A2
&angle = ABS &angle
}
Var 2002, name potfark
{
IF &ATengage = 1
{
IF &potfark > &A1
{
&Motor_1 = 52
}
IF &potfark < &A1
{
&Motor_1 = 180
}
IF &potfark < &A1plus
{
IF &potfark > &A1minus
{
&Motor_1 = 0
&Motor_2 = 0
}
}
IF &toga = 0
{
IF &acongnd = 1
{
&Leverdiscon = 0
&Motor_1 = 0
&throttle = &A1 / 0.0154
}
}
}
}
Var 2003, name throttle, Link FSUIPC_INOUT, Offset $088C, Length 2
{
IF &throttle > 60000
{
IF &IAScalc >= 65
{
IF &spoilerARM = 0
{
IF &acongnd = 1
{
&SpdBrkArmLatch = 80
&spdbrkMOTOR = DELAY 100 ,100
&spdbrkMOTOR = DELAY 0 ,400
&SpdBrkArmLatch = DELAY 0 ,200
}
}
}
}
IF &throttle < 59000
{
IF &throttle > 500
{
IF &speedbrkPOT > 170
{
IF &acongnd = 1
{
&SpdBrkArmLatch = 220
&spdbrkMOTOR = 200
&spdbrkMOTOR = DELAY 0 ,400
&SpdBrkArmLatch = DELAY 0 ,200
}
}
}
}
IF &throttle <> &threskideger
{
&trfark = &throttle - &threskideger
&threskideger = DELAY &throttle ,20
&potfark = &throttle * 0.0154
&potminus = &potfark - 8
&potplus = &potfark + 8
}
}
Var 2004, name threskideger, Value 0
Var 2005, name potplus
Var 2006, name trfark
Var 2007, name potminus
Var 2008, name ATengage, Link FSUIPC_INOUT, Offset $0810, Length 4
Var 2013, name Motor_2, Link USB_DCMOTOR, Device 2, Output 2
Var 2014, name A2, Link USB_ANALOGIC, Device 2, Input 2, PosL 10, PosC 122, PosR 255
{
IF &ATengage = 1
{
IF &A2 < &potfark2
{
&Motor_2 = 52
&Leverdiscon = 192
}
IF &A2 > &potfark2
{
&Motor_2 = 180
&Leverdiscon = 192
}
IF &A2 < &potplus2
{
IF &A2 > &potminus2
{
&Motor_2 = 0
}
}
IF &toga = 0
{
IF &acongnd = 1
{
&Leverdiscon = 0
&Motor_2 = 0
&throttle2 = &A2 / 0.0154
}
}
}
IF &ATengage = 0
{
&throttle2 = &A2 / 0.0154
&Motor_2 = 0
&Leverdiscon = 0
}
&angle = &A2 - &A2
&angle = ABS &angle
}
Var 2015, name potfark2
{
IF &ATengage = 1
{
IF &potfark2 > &A2
{
&Motor_2 = 52
}
IF &potfark2 < &A2
{
&Motor_2 = 180
}
IF &potfark2 < &A2plus
{
IF &potfark2 > &A2minus
{
&Motor_2 = 0
&Motor_2 = 0
}
}
IF &toga = 0
{
IF &acongnd = 1
{
&Leverdiscon = 0
&Motor_2 = 0
&throttle2 = &A2 / 0.0154
}
}
}
}
Var 2016, name throttle2, Link FSUIPC_INOUT, Offset $0924, Length 2
{
IF &throttle2 > 60000
{
IF &IAScalc >= 65
{
IF &spoilerARM = 0
{
IF &acongnd = 1
{
&SpdBrkArmLatch = 80
&spdbrkMOTOR = DELAY 100 ,100
&spdbrkMOTOR = DELAY 0 ,400
&SpdBrkArmLatch = DELAY 0 ,200
}
}
}
}
IF &throttle2 < 59000
{
IF &throttle2 > 500
{
IF &speedbrkPOT > 170
{
IF &acongnd = 1
{
&SpdBrkArmLatch = 220
&spdbrkMOTOR = 200
&spdbrkMOTOR = DELAY 0 ,400
&SpdBrkArmLatch = DELAY 0 ,200
}
}
}
}
IF &throttle2 <> &threskideger2
{
&trfark2 = &throttle2 - &threskideger2
&threskideger2 = DELAY &throttle2 ,20
&potfark2 = &throttle2 * 0.0154
&potminus2 = &potfark2 - 8
&potplus2 = &potfark2 + 8
}
}
Var 2017, name threskideger2, Value 0
Var 2018, name potplus2
Var 2019, name trfark2
Var 2020, name potminus2
Var 2021, name Leverdiscon, Link FSUIPC_OUT, Offset $310A, Length 1
Var 2022, name IASdefault, Link FSUIPC_IN, Offset $07E2, Length 2
{
IF &IASdefault > 0
{
&potfark = &throttle * 0.0154
&potfark2 = &throttle2 * 0.0154
}
&pmdgfark = &pmdgeski - &IASdefault
&pmdgeski = DELAY &IASdefault ,200
}
Var 2023, name pmdgeski
Var 2024, name pmdgfark
{
IF &pmdgfark > 10
{
IF &ATengage = 1
{
IF &toga <> 1
{
&Motor_1 = 180
&Motor_2 = 180
}
}
}
IF &pmdgfark < 10
{
IF &ATengage = 1
{
IF &toga <> 1
{
&Motor_1 = 52
&Motor_2 = 52
}
}
}
}
Var 2025, name speedbrkPOT, Link USB_ANALOGIC, Device 1, Input 4, PosL 3, PosC 125, PosR 255
{
L0 = &speedbrkPOT * 115.83
&spoilerFS = L0 - 4800
IF &speedbrkPOT > 60
{
IF &speedbrkPOT < 78
{
&spoilerFS = 4800
&spoilerARM = 1
}
}
IF &speedbrkPOT < 59
{
&spoilerFS = 0
&spoilerARM = 0
}
}
Var 2026, name spdbrkMOTOR, Link USB_DCMOTOR, Device 1, Output 4
Var 2027, name spoilerARM, Link FSUIPC_INOUT, Offset $0BCC, Length 4
Var 2028, name spoiler, Link FSUIPC_INOUT, Offset $626F, Length 2
Var 2030, name spoilerFS, Link FSUIPC_INOUT, Offset $0BD0, Length 4
Var 2031, name flapPOT, Link USB_ANALOGIC, Device 2, Input 5, PosL 13, PosC 125, PosR 255
{
IF &flapPOT <= 20
{
IF &flapPOT > 0
{
&flappos = 0
}
}
IF &flapPOT <= 65
{
IF &flapPOT > 20
{
&flappos = 2047 // flaps 1
}
}
IF &flapPOT <= 105
{
IF &flapPOT > 65
{
&flappos = 4095 // flaps 2
}
}
IF &flapPOT <= 125
{
IF &flapPOT > 105
{
&flappos = 6143 // flaps 5
}
}
IF &flapPOT <= 145
{
IF &flapPOT > 125
{
&flappos = 8191 // flaps 10
}
}
IF &flapPOT <= 175
{
IF &flapPOT > 145
{
&flappos = 10239 // flaps 15
}
}
IF &flapPOT <= 195
{
IF &flapPOT > 175
{
&flappos = 12287 // flaps 25
}
}
IF &flapPOT <= 225
{
IF &flapPOT > 195
{
&flappos = 14335 // flaps 30
}
}
IF &flapPOT > 225
{
&flappos = 16383 // flaps 40
}
}
Var 2032, name flappos, Link FSUIPC_INOUT, Offset $0BDC, Length 4
Var 2033, name trim, Link FSUIPC_INOUT, Offset $0BC0, Length 2
{
&trimeski = DELAY &trim ,20
&trimfark = &trim - &trimeski
}
Var 2034, name toga, Link FSUIPC_INOUT, Offset $080C, Length 4
Var 2036, name A1plus
Var 2037, name A1minus
Var 2038, name A2plus
Var 2039, name A2minus
Var 2040, name trimmotor, Link USB_DCMOTOR, Device 1, Output 5
Var 2041, name trimeski
Var 2042, name trimfark
{
IF &trimfark > 5
{
&trimmotor = 180
&trimmotor = DELAY 0 ,300
}
IF &trimfark < -5
{
&trimmotor = 70
&trimmotor = DELAY 0 ,300
}
IF &trimfark <= 4
{
IF &trimfark >= -4
{
&trimmotor = 0
}
}
}
Var 2043, name trimindmotor, Link USB_DCMOTOR, Device 1, Output 6
Var 2044, name trimindpot, Link USB_ANALOGIC, Device 1, Input 3, PosL 10, PosC 123, PosR 255
{
IF &trimindpot < &trimcalc
{
&trimindmotor = 35
}
IF &trimindpot > &trimcalc
{
&trimindmotor = 150
}
IF &trimindpot < &indpotplus
{
IF &trimindpot > &indpotminus
{
&trimindmotor = 0
}
}
&indpotplus = &trimcalc + 3
&indpotminus = &trimcalc - 3
}
Var 2045, name trimindtest, Link FSUIPC_IN, Offset $2EA0, Length 8, Numbers 3
{
L0 = &trimindtest + 66
L1 = L0 / 1.42
&trimcalc = L1
}
Var 2046, name trimcalc
{
IF &trimindpot < &trimcalc
{
&trimindmotor = 35
}
IF &trimindpot > &trimcalc
{
&trimindmotor = 150
}
IF &trimindpot < &indpotplus
{
IF &trimindpot > &indpotminus
{
&trimindmotor = 0
}
}
&indpotplus = &trimcalc + 1
&indpotminus = &trimcalc - 1
}
Var 2047, name indpotplus
Var 2048, name indpotminus
Var 2049, name acongnd, Link FSUIPC_INOUT, Offset $0366, Length 2
{
IF &acongnd = 1
{
IF &spoilerARM = 1
{
&SpdBrkArmLatch = 245
&spoilerFS = 16383
&spdbrkMOTOR = 100
&spdbrkMOTOR = DELAY 0 ,400
&SpdBrkArmLatch = DELAY 0 ,200
}
}
IF &acongnd = 1
{
&splrcontMOTOR = 200
&splrcontMOTOR = DELAY 0 ,300
}
}
Var 2050, name FSIAS, Link FSUIPC_IN, Offset $02BC, Length 4
{
&IAScalc = &FSIAS / 128
}
Var 2051, name IAScalc
Var 2052, name splrcontMOTOR, Link USB_DCMOTOR, Device 2, Output 5
Var 2053, name angle
{
IF &angle >= 70
{
IF &ATengage = 1
{
&ATengage = 0
}
}
}
Var 1989, name SpdBrkArmLatch, Link USB_DCMOTOR, Device 1, Output 2
Var 1986, name gearcontrol, Link FSUIPC_INOUT, Offset $0BE8, Length 4
{
IF &gearcontrol = 0
{
&splrcontMOTOR = 125
&splrcontMOTOR = DELAY 0 ,100
}
}