Search found 7 matches

by lorenzinmarco
Wed Mar 28, 2018 11:02 am
Forum: OC4BAv4
Topic: SIOC encoder reading problem[SOLVED]
Replies: 8
Views: 3663

Re: SIOC encoder reading problem

Hi Urs,
problem solved! I'm using an Opencockpits "Input connection + Encoders", not a simple Opencockpits Input card.
I hadn't feed card with 5V!!!
Thank you anyway for your cooperation Urs.
Best regards.

Marco
by lorenzinmarco
Tue Mar 27, 2018 5:48 pm
Forum: OC4BAv4
Topic: SIOC encoder reading problem[SOLVED]
Replies: 8
Views: 3663

Re: SIOC encoder reading problem

Hi Urs, after 9 months I finally solved my problem!!! Input connections were OK, I simply replaced your script with Roar script: Var 0598, static, Link IOCARD_ENCODER, Device 30, Input 108 Aceleration 3, Type 2 // Encoder input for FLT ALT { L1 = &FlightAlt L0 = 500 * V0598 &FlightAlt = LIMI...
by lorenzinmarco
Sat Mar 24, 2018 6:44 am
Forum: OC4BAv4
Topic: SIOC encoder reading problem[SOLVED]
Replies: 8
Views: 3663

Re: SIOC encoder reading problem

Hi Urs, after hundreds of attempts, finally I decided to use Opencockpits CTS288 type encoders for FLT ALT and LAND ALT: http://www.opencockpits.com/catalog/encoder-with-pushbutton-p-100.html Encoder central pin is connected to GND, and the other pins to two consecutives inputs in the same Input car...
by lorenzinmarco
Mon Jun 05, 2017 7:13 pm
Forum: OC4BAv4
Topic: SIOC encoder reading problem[SOLVED]
Replies: 8
Views: 3663

SIOC encoder reading problem[SOLVED]

Hi guys, after dozens of attemps and hours spent to understand why SIOC/OC4BA doesn't read my Overhead Panel's encoders properly, I try to ask here in the forum about my new issue. I'm using the rotary encoder linked below (FLT ALT and LAND ALT rotary encoders): https://www.sabdel.com/shop/electroni...
by lorenzinmarco
Fri Jun 02, 2017 3:57 pm
Forum: OC4BAv4
Topic: Change OCP4NGX_v4.0_OC script[SOLVED]
Replies: 5
Views: 2871

Re: Change OCP4NGX_v4.0_OC script

Hi Roar,
I install Notepad++ and now SIOC compiles scripts without errors!!! My problem is solved.
Thank you very much Roar.
Regards

Marco
by lorenzinmarco
Fri Jun 02, 2017 5:53 am
Forum: OC4BAv4
Topic: Change OCP4NGX_v4.0_OC script[SOLVED]
Replies: 5
Views: 2871

Re: Change OCP4NGX_v4.0_OC script

Hi Roar, thank you for your quick response. It's very very strange. It seems that every change I make on the .txt file generates this error (see image attached). I try also to delete a piece of "if-else" cycle WITHOUT syntax errors. The same error appears. I try also to change a variable n...
by lorenzinmarco
Thu Jun 01, 2017 5:55 pm
Forum: OC4BAv4
Topic: Change OCP4NGX_v4.0_OC script[SOLVED]
Replies: 5
Views: 2871

Change OCP4NGX_v4.0_OC script[SOLVED]

Hi guys, I'm testing OCP4NGX_v4.0_OC file on my homemade cockpit and it works great, but I think some variables are missed. I'm talking about some Wiper selectors' states. I found only PARK state in the script, but not INT, LOW and HIGH states. They exist in the PMDG B737 SDK: // Wipers unsigned cha...