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 01.07.2003, 23:48   #1
fmw
Jr. Member
 
Registriert seit: 29.06.2003
Beiträge: 63


Standard FSBUS Display, DME

Hi

I am bulding a FSBUS Display to DME1 and DME2 distance, now i try to test it in FSBUS 2, and i also try to program it into fsif.ini, but can not get the right value out.

In the fsif.ini there is a mode and type value. Do anybody now this value, for DME distance-

Can you give me a hint, Dirk.

Regards
Finn
fmw ist offline   Mit Zitat antworten
Alt 02.07.2003, 00:11   #2
dirkan
Master
 
Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644


Standard

Hi Finn,

this needs to be explained in a future doc.
In short:

Lvl the depth level in tree hierarchy
Name a self defined name for this param
ID a UNIQUE identifier. All internal references use this
Mode all params which needs internal algorithms have assigned a mode number. 0 is the value without extra internal functions
Offset the fsuipc offset
Type data type I8 = (unsigned integer) 8bit S8 = signed int
Opt optional values
flags optional flags Read Write +(Add)
scan the system polls fsuipc any 50ms. if this field contains 3, it is polled any 3rd loop = 150ms
mul multiply a scanned value by this
div devide a scanned value by this


I hope this helps a bit. If you define some more parameters, send it to me. I will take it into the standard file.
Remember to let the ID a unique ID. It may not occur in a second parameter.

regards Dirk
dirkan ist offline   Mit Zitat antworten
Alt 02.07.2003, 00:13   #3
dirkan
Master
 
Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644


Standard

Ups,

the editor suppresses multiple blanks. I wasn't drunken, when i wrote the previous posting.
The first word in a line is the parameter name in the ini file
dirkan ist offline   Mit Zitat antworten
Alt 02.07.2003, 00:27   #4
fmw
Jr. Member
 
Registriert seit: 29.06.2003
Beiträge: 63


Standard

Hi Dirk

I hav put this in the .ini file:
3, "DME1", 492, 0, 0x0c29, I8, 0,RW+, 10,1,1,

But the readouts by a DME on 79.1 is in the FSBUS 55.

What are you meaning when you say "a unique id"?

Regards
Finn
fmw ist offline   Mit Zitat antworten
Alt 02.07.2003, 10:03   #5
dirkan
Master
 
Registriert seit: 14.02.2002
Alter: 66
Beiträge: 644


Standard

Hi,

i looked into fsuipc description and saw, that there is a string dataformat in length 5 Byte. This can't be converted automatically, because there is no such format.
I have to code this (later).

unique means. The id must not occur a second time.

regards Dirk
dirkan ist offline   Mit Zitat antworten
Alt 02.07.2003, 12:04   #6
fmw
Jr. Member
 
Registriert seit: 29.06.2003
Beiträge: 63


Standard

Hi Dirk

Okey, then i now why i have the problem. I am building the display now, so it will be ready when you have made the code.

Thanks very much, for you answer

Regards
Finn
fmw 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 18:08 Uhr.


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