![]() |
![]() |
|
![]() |
![]() |
|
Home Cockpit - Das Forum für die "Bastler" Cockpitbauer tauschen Pläne, Erfahrungen, Meinungen über den Bau von Homecockpits aus... |
![]() |
|
Themen-Optionen | Ansicht |
![]() |
#1 |
Senior Member
![]() Registriert seit: 03.04.2003
Alter: 65
Beiträge: 113
|
![]() Hi all,
I try to get a led at work that shows a fuel cappicity less then 20 % in the center tank. The led don't turn on when the cap. drops below 20%. What i'm doing wrong? See the attachment. Regards Jan. |
![]() |
![]() |
![]() |
#2 |
Master
![]() Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644
|
![]() Hi Jan
|
![]() |
![]() |
![]() |
#3 |
Master
![]() Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644
|
![]() you must know, what values fsbus returns on fuel. To see this, add a temporary display object and set source to fuel.
The display will show those % values of the fs dialog box for fuels. If LED should shine from 0-20, set min to 0 and max to 20, thats all. Since fuel is not a parameter which changes any microsecond, i have assigned a delay of 10s between each poll. This reduces system load and means that you have to wait a bit until LED goes on. regards Dirk |
![]() |
![]() |
![]() |
#4 |
Senior Member
![]() Registriert seit: 03.04.2003
Alter: 65
Beiträge: 113
|
![]() Hi Dirk,
I tryed,I add a 5-digit display and route it to fs.standard.fuel.center, but when I set the fuel cap. in fs2k2 to 100% for the centertank, the currentvalue at the display gives 102 and on the 5-digit display a value of 01078(what this value meens). When i change the value in fs2k2 to 50% then the currentvalue change to 51 and on the 5-digitdiplay still display 01078. Works whit all % values set in fs2k2. What'i'm doing wrong? Regards Jan. |
![]() |
![]() |
![]() |
#5 |
Senior Member
![]() Registriert seit: 03.04.2003
Alter: 65
Beiträge: 113
|
![]() Hi Dirk,
Sorry but i found it, it's much easyer then i thought. Set the value from 0 to 20 and it works great. Regards Jan. |
![]() |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|