MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
AlberE
Posts: 2
Hallo,
ich brauche nun doch mal eure Hilfe, und zwar möchte ich mittels eines Encoders, eine Mobiflight Variabel hoch und runter zählen, was soweit bisher auch gut klappt.
Nun möchte ich diesen Wert aber so einschränken das er nicht kleiner 0 und nicht größer 6 ist. ich habe es mit if($<0,6,if($>6,0,$)) in der Transform Zeile versucht, nun wird der Ausgabe Wert zwar nicht größer 6 und nicht kleiner 0 , aber der Flight Sim Wert zählt weiter hoch bzw. herunter und der Ausgabe Wert steht fest wenn der Wert über bzw. unterschritten ist. Wie kann ich es erreichen das der Ausgabe Wert wieder bei 0 anfängt hoch zu zählen wenn 6 überschritten bzw. (ander Richtung) wieder von 6 Herunter zählt wenn 0 unterschritten wird.

Ich hoffe ich habe mich so einigermaßen Verständlich ausgedrückt.

Gruß Alber
[Last edited by AlberE, 2023-07-31 19:33]
2023-07-31 19:15
Avatar
AlberE
Posts: 2
Ok , Danke Leute hat sich erledigt, habe doch noch die Lösung gefunden.:)
2023-07-31 20:00
icon