Programm blue leds overhead

This is the forum to discuss and ask questions related to the new Oi4FS app for MSFS 2020
Sudqui69
Posts: 15
Joined: Sun Mar 02, 2025 8:54 pm

Re: Programm blue leds overhead

Post by Sudqui69 »

Hi. In the script, the words 'digit' and 'number' What do they refer to?
Regards.
mvr1918
Site Admin
Posts: 1725
Joined: Thu Aug 30, 2012 3:35 pm

Re: Programm blue leds overhead

Post by mvr1918 »

Sudqui69
Posts: 15
Joined: Sun Mar 02, 2025 8:54 pm

Re: Programm blue leds overhead

Post by Sudqui69 »

Hi. Thanks I am going to trasnlate to spanish And read It. Thanks again.
Sudqui69
Posts: 15
Joined: Sun Mar 02, 2025 8:54 pm

Re: Programm blue leds overhead

Post by Sudqui69 »

I have read the part concerning the LEDs and I still have a question about why the words digit and number appear in the scripts. I still don't understand how to light up the blue LEDs without having the outputs. For example, how do I get the blue LEDs on the fuel pumps to turn on if I can't assign an output to them? Regards.
mvr1918
Site Admin
Posts: 1725
Joined: Thu Aug 30, 2012 3:35 pm

Re: Programm blue leds overhead

Post by mvr1918 »

The script sends out signal to the blue leds via a display card output by addressing its digits and numbers.

A display card output is an OUTPUT that can have more than 2 states that a ordinary output can have.

Using different numbers it sends out different states which in turn set dark, dim or bright blue leds.

Read again https://www.flightsim4fun.com/Forum/vie ... t=OVH+blue
Sudqui69
Posts: 15
Joined: Sun Mar 02, 2025 8:54 pm

Re: Programm blue leds overhead

Post by Sudqui69 »

Hello. I have been absent due to family problems.
In the end I contacted opencockpits and they gave me the solution I was looking for. It was much simpler than what you said.
They tell me this:
Thank you for your message. There is no difference in terms of the color of the LED and its programming. The difference is the wiring mode.

Led wired through one outs (We can give different intensity levels to the led. Levels 1 and 2 in the example):
Var 2004, name GENOFF2_BLUE, STATIC, Link IOCARD_DISPLAY, Device 5, Digit 40, Numbers 1 // Bright inversion for Var 1204
Var 1204, name GENOFFBUS_2, STATIC
{
IF &GENOFFBUS_2 = 1
{
&GENOFF2_BLUE = 2
}
ELSE
{
IF &GENOFFBUS_2 = 2
{
&GENOFF2_BLUE = 1
}
ELSE
{
&GENOFF2_BLUE = 0
}
}
}
Led wired through an output card:

Var 1214, name LP_CR, STATIC, Link IOCARD_OUT, Device 5, Output 23

Don't hesitate to tell us any questions.

I just wanted that answer, which was just to change the display card for the output one.
Greetings.
Post Reply