WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Home Cockpit - Das Forum für die "Bastler" (http://www.wcm.at/forum/forumdisplay.php?f=55)
-   -   FSBUS Router 2 (http://www.wcm.at/forum/showthread.php?t=99481)

tuomas 07.07.2003 10:06

Hi Dirk!

"Eek" means "uh oh" or "aiee!" something like that :-)

I was looking into the data files, it looked interesting and good that it was ASCII, so adding stuff is easy if needed.

Is it possible to add things like the bits already in the file? The example case was the radio "swap" button which needs the bit (8) anyway to toggle COM1. It might be a good idea to make the "swap" a group which contains the different radios (COM1, NAV1, COM2, NAV2) already, so one does not need to look in the FSUIPC SDK for the bit number, since the hex addresses are already contained in FSBUS.

Do you want to have a bunch of those ALPS rotaries for testing? If you email me your posting address I can send you a bunch, they are pretty nifty and could be useful in your project as well :-)

I know we have many of us finns using those in FSBus 1.3 currently. One option would be to have a normal switch object that has the possibility to turn off the chatter filtering, so one can use it as two separate "normal" switches where one does the "add 1" and the other direction just adds "-1". I do that currently, with "negative_edge" and "inverted" it works like I want. Talk about kludges :D But the chatter filter makes it choke when I turn the knob very fast. Otherwise it works great.

I think it is a good idea to move the different options from the switch objects to the actual FS objects btw, it simplifies the configuration a lot when most things are already set up like you would want anyway.

Tuomas

dirkan 07.07.2003 22:35

Hi Tuomas,

The ascii format indeed can be used to modify a lot of things.
But keep in mind, that you will lose compatibility.

The bits for example are still implemented.
During my testings with the standard Boeing MCP i found so many stunning effects which i had to modify by C-code, that I strongly recommend in this early stage of the beta to make the nifty details
first fixed by me.
Later we can make a private section in the file, which allows you to add what you want.

I hope you agree. I will send you my postal address by email, it makes sense to have original switches for testing.

regards Dirk

tuomas 08.07.2003 00:15

Sure I agree. It's always good to "send the patches upstream" so they get added to the released software. So if I figure out something I'll send you examples so they will be in the official version. and that benefits everyone.

I'll try to send the switches soon, they are pretty cool since they have 36 detents, handy for stuff like course setting etc which require a lot of turning .

Tuomas

tuomas 10.07.2003 16:04

Howdy.

I tried to set lights to my cockpit switches and I couldnt get landing or other lights to work. Pitot heat worked *once* and then it stopped working, so something weird is going on in there.

Also "Avionics master" was missing from the list.

Just a few bug reports from today :-)

Best,

Tuomas

markus-Wolfgang 10.07.2003 21:18

DREHIMPULSGEBER ?
 
Hi,

ich hab mir mal einen CONRAD Drehimpulsgeber gekauft zu testen.

Wenn ich den anschliesse sehe ich im FSBUS auch die LED leuchten wenn ich den Geber drehe. Eine Veränderung des Wertes erfolgt jedoch nicht.

Ich bin mir sicher, daß Problem liegt bei mir zwischen den Ohren, aber wer kann mir dennoch weiterhelfen.

Wo muss der mittlere ran, wo die beiden äusseren. (Obwohl autosense den erkannt hat, aber sicher ist sicher).
Die Gegenüberliegenden Anschlüsse sind ja wohl für den Drucktaster der mit drin ist (funzt auch).

Und was muss ich im FSBUS noch machen damit ich z.B. die NAV" Freq damit ändern kann ?

Danke

Wolfgang

markus-Wolfgang 10.07.2003 21:31

War ein wenig voreilig.

Der Wert ändert sich nun, aber der zählt nur hoch !

Egal was ich einstelle. Es geht immer nur aufwärts mit der Frequenz.

Müsste doch evtl. an den ANschlüssen liegen. Naja evtl. kann mir damit ja einer weiterhelfen.

Danke

Wolle

fmw 10.07.2003 22:16

Hi Dirk

I am putting more offset adress in FSIF.INI, but now i have a problem, i got to id no. 512, and then get an error " out of id range", how many "id" is allow to put in?

Regards

Finn

tuomas 10.07.2003 23:58

Re: DREHIMPULSGEBER ?
 
I think it might be a good thing to reserve a few ID's for "private use" where we can do our own custom things (that will occasionally be necessary) without fear of conflicting with the "official" ones.

Maybe if the ID range is from 0 to 1024 or something, maybe 900-1000 or such could be "user defined" id's?

Also maybe it makes sense to have "USER.ini" for those. I think it is important to have a way to define your own things, since FSUIPC has a lot of stuff - like the adventure weather stuff etc.

I have been thinking of a "weather control panel" for the aviation club simulator we are building - so one can just twist knobs to get ".. hmm.. BROKEN clouds.. hm.. 2500ft and ... Visibility 6 kilometers and.. wind 240 degrees and 8 knots.." - all from FSBUS-controllable rotaries :-)

Thanks for hacking on this, Dirk! :-)

Tuomas

Mathew 11.07.2003 06:10

Hi Wolle,

das mit den Drehimpulsgebern geht leider nicht ganz so einfach - Du benötigst noch eine weitere Schaltung die zwischen Geber und FSKEY kommt.
Seh mal im Forum nach, der "Beatmaster Alex" hat da mal was geposted, wenn Du nicht klar kommst melde Dich.

Mathias

fmw 16.07.2003 15:14

FSBUS DO
 
Hi Dirk

So far i can see, there is no function in min. and max. when the invert is selected, is that correct?

Regards

Finn


Alle Zeitangaben in WEZ +2. Es ist jetzt 00:51 Uhr.

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