WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Simulationen > Home Cockpit - Das Forum für die "Bastler"

Home Cockpit - Das Forum für die "Bastler" Cockpitbauer tauschen Pläne, Erfahrungen, Meinungen über den Bau von Homecockpits aus...

Microsoft KARRIERECAMPUS

Antwort
 
Themen-Optionen Ansicht
Alt 07.07.2003, 21:37   #1
Jan 737
Senior Member
 
Registriert seit: 03.04.2003
Alter: 65
Beiträge: 113


Standard Fuel led

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.
Jan 737 ist offline   Mit Zitat antworten
Alt 07.07.2003, 22:17   #2
dirkan
Master
 
Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644


Standard

Hi Jan
dirkan ist offline   Mit Zitat antworten
Alt 07.07.2003, 22:21   #3
dirkan
Master
 
Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644


Standard

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
dirkan ist offline   Mit Zitat antworten
Alt 08.07.2003, 15:22   #4
Jan 737
Senior Member
 
Registriert seit: 03.04.2003
Alter: 65
Beiträge: 113


Standard

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.
Jan 737 ist offline   Mit Zitat antworten
Alt 09.07.2003, 16:46   #5
Jan 737
Senior Member
 
Registriert seit: 03.04.2003
Alter: 65
Beiträge: 113


Standard Found it

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.
Jan 737 ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:16 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag