![]() |
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. |
Hi Jan
|
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 |
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. |
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. |
Alle Zeitangaben in WEZ +2. Es ist jetzt 18:57 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag