flap gauge

This is a new forum for the OC4BAv4.
Post Reply
happy
Posts: 19
Joined: Fri Aug 07, 2015 8:08 am

flap gauge

Post by happy »

Hello
could some one give me some help please.

I have the open cockpits flap gauge and I need some help to get it to work nothing has worked so far. although I have tested the card & servo gauge with the sioc moniter test & the flap needel dose move with the slider.
I have the flap gauge, the servo card and OC4BA.V4, and pmdg ngx 737 running in P3DV3.1
I have tried to configure the gauge in the ocba.v4 configuration but it hasn't worked
In the SIOC folder / SIOC scripts i found a flaps txt Doc & as my servo card is usb number 149 I edited the scripts to read
Var 0003, name FLAPSERVO, Link USB_SERVOS, device 149, Output 1, PosL 0, PosC 511, PosR 1023.
I have no idea what all that means I just told it the usb number 149 ,maybe I shouldn't have done that I don't know.
here is a screen shot of the OCBA.V4 config
also I have attached the sioc ini and the OCBA INI maybe some one can see something in there I should do.
thank you for any help you can give me.

Tim
flap cofig
flap cofig
flaps.jpg (216.97 KiB) Viewed 4166 times
SIOC INI

[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=Yes
toggle_delay=20
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=60
[IOCP CLIENTS MODULES]
IOCPini_delay= 3000
IOCPclient0_disable=yes
IOCPclient0_host=localhost
IOCPclient0_port=8099
IOCPclient1_disable=yes
IOCPclient1_host=localhost
IOCPclient1_port=8092
[SOUND MODULE]
Sound_disable=Yes
Volume=100
[*]
[PMDG B737]
CONFIG_FILE=OCP4NGX_PP_v2.0.ssi
MASTER=7,7,1,114
MASTER=8,8,1,128
MASTER=9,9,1,118
MASTER=11,11,1,124
MASTER=13,13,1,129
MASTER=15,15,1,131
USBServos=36,149

OCBA INI

[IOCP_port]
8092
[COCKPIT]
PMDG B737
PMDG B747
PMDG B777
AEROSOFT AIRBUS
[IDX]
OVH-AFT IDX33m1
OVH-AFT_ServoCard1 IDX39
OVH-FWD IDX30m2
OVH-FWD_ServoCard1 IDX37
OVH-FWD_ServoCard2 IDX38
Captain_EFIS IDX7
First Officer_EFIS IDX17
MIP IDX31m2
MIP_ServoCard1 IDX36
Captain_CHRONO IDX16
First Officer_CHRONO IDX26
Captain_CDU/FMC IDX13
First Officer_CDU/FMC IDX23
COM1 IDX8
NAV1 IDX9
COM2 IDX18
NAV2 IDX19
PEDESTAL IDX32m1
PEDESTAL_ServoCard1 IDX40
Captain_AUDIO IDX21
First Officer_AUDIO IDX22
PEDESTAL_ServoCard1 IDX40
Captain_AUDIO IDX21
First Officer_AUDIO IDX22
fschrewe
Posts: 31
Joined: Tue Aug 13, 2013 3:22 pm

Re: flap gauge

Post by fschrewe »

According to your sioc.ini you should change "device 149" to "device 36" - that's the IDX number. And I suggest testing the physical range of the servos. While the elctronic part accepts values between 0 and 1023, using low values (often lower than 190) you can break the mechanical components in the servo...
Regards,
Frank Schrewe
happy
Posts: 19
Joined: Fri Aug 07, 2015 8:08 am

Re: flap gauge

Post by happy »

thank you for the help.
yes i got the device and usb number mixed up there i think
i have set the device to 36 as sugested & i found the range of the servo by
using the sioc monitor left is 224 middle is 512 & far right is 924 i put that in to the script
also i have swaped the scriped in from pp v2 to oc4ba _ 4 somthing cant remeber now and im at work.
i started the sim this morning then oc4ba.v4 and the flap gauge moved to the middle
possition. and stayed there. it wouldnt move with the flaps at all.
at least somethinh happend so progress has been made.
any other
us there any thing els i could try. thank you for helping its appreciated.
Tim
happy
Posts: 19
Joined: Fri Aug 07, 2015 8:08 am

Re: flap gauge

Post by happy »

Hi everyone
well i have had a play with the flaps tonight for some reason the servo card idx 36 thinks its linked with the ovh servo card 1 ??? . i found a script on open cockpits for the pmdg 737 flaps but i shouldn't be playing around in the scripts really as i Dont know what i am doing & i just broke the hole thing.
i have now restarted the oc4ba.v4 with OCP4NGX_PP_V2.0.SSI script as it was before instead of OCP4NGX_V4.0_SSI script which i think i just permanently ruined .
i think i will just leave the flaps for now its not worth loosing the sim for.
thanks any way guys
fly hi & fast

Tim

for some reason the servo card idx 36 thinks its linked with the ovh servo card 1 ???
Untitled.png
Untitled.png (52.91 KiB) Viewed 4144 times
gblair
Posts: 33
Joined: Tue Sep 15, 2015 10:37 pm

Re: flap gauge

Post by gblair »

Mine worked "out of the box" with OC4BA.

Did you read the installation manual from OC. Page 6 onwards, you have to modify the values in your script depending on your particular servo and gauge.

With the listed values we can proceed to modify the script for our gauge, for it will copy and paste the script
that can be found at the end of this manual, in a text file, then change the values of the variables
“servo_high_val” and “servo_low_val” within each section, for example:
&flaps_low_val = 0
&flaps_high_val = 409
&servo_high_val = 153
&servo_low_val = 226 // 0 and 1
Notice how this section is labeled as “0 and 1”, which means it is for the servo position values for UP and 1 (in
our case 153 and 226), then the next section would be:
&flaps_low_val = 409
&flaps_high_val = 819
&servo_high_val = 226
&servo_low_val = 323 // 1 and 2
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: flap gauge

Post by mvr1918 »

This is a reply to the first message in this topic


You should have used the OCP4NGX_PP_MIP_v1.2.ssi script (as this has code for the MIP_Servo), NOT the OCP4NGX_PP_v2.0.ssi(as this has not the code for MIP_Servo). See MUST READ doc.)

No need to edit the sioc.ini file.

Remember also that the editing done in sioc.ini will be overrided by the PMDG B737.ini when you select the B737 cockpit in OC4BA.
Post Reply