Flightdeck Solutions Forum Index Flightdeck Solutions
Technical Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Offsets ?

 
Post new topic   Reply to topic    Flightdeck Solutions Forum Index -> Open Discussion
View previous topic :: View next topic  
Author Message
wwwayward



Joined: 08 Feb 2006
Posts: 20
Location: Toronto,ON Canada

PostPosted: Thu Feb 16, 2006 11:07 pm    Post subject: Offsets ? Reply with quote

Hello !
can anyone give me a site that explains what offsets are ?
i'm pretty new to cockpit building, and the interfacing language.

Cheers
Steff
Back to top
View user's profile Send private message
wwwayward



Joined: 08 Feb 2006
Posts: 20
Location: Toronto,ON Canada

PostPosted: Thu Feb 16, 2006 11:08 pm    Post subject: Reply with quote

or of course an explanation might suffice Very Happy

Steff
Back to top
View user's profile Send private message
chrisw



Joined: 14 Jul 2004
Posts: 244
Location: England, United Kingdom

PostPosted: Fri Feb 17, 2006 4:02 am    Post subject: Reply with quote

In Sim building, offsets usually refer to the FSUIPC offsets. FSUIPC is a tool written by Peter Dowson to be a way of interfacing other applications with Flight Simulator and to be able to read or set different flight simulator settings from any computer on a network (in conjunction with WideFS).

An offset has an address and a length and is then often broken down into individual 'bits' - ie. the ones and zeros of binary to represent off and on for things like lights.

Some examples: (note that the address is written in hexadecimal form)

Code:
0BDC (address), 4 (length in bytes) Flaps control, 0=up, 16383=full. The “notches” for different aircraft are spaced equally across this range: calculate the increment by 16383/(number of positions-1), ignoring fractions. See also offset 3BFA below.

0EF0 (address), 2 (length in bytes) Surface wind speed, knots.

0C4A (address), 1 (length in bytes) NAV1 Back Course flags:
            0          BC available

            1          Localiser tuned in

            2          On Back Course (?)

            7          Station active (even if no BC)

where 0, 1, 2 and 7 represent the individual 'bits' in the byte. A byte is made up of 8 bits which are numbered, from right to left, 0 1 2 3 4 5 6 7.


The Peter Dowson homepage is at: http://www.schiratti.com/dowson.html and the full list of FSUIPC offsets is at http://www.projectmagenta.com/resources/FSUIPCOffsets.html

Regards
Chris
ps. I know the above isn't code, but it highlights the offsets!
Back to top
View user's profile Send private message Visit poster's website
wwwayward



Joined: 08 Feb 2006
Posts: 20
Location: Toronto,ON Canada

PostPosted: Fri Feb 17, 2006 2:22 pm    Post subject: Reply with quote

Hi Chris and thank you for the explanation.
i understood the first part, no prob.
the second part i need some more help, i would really like to learn something new today Smile
could you briefly explain the components, i am familiar with hex as i learned it with MIDI when i worked in the music industry. so i'm not intimidated by it.
i just need a little futher explanation.

Cheers!
Steff
Back to top
View user's profile Send private message
chrisw



Joined: 14 Jul 2004
Posts: 244
Location: England, United Kingdom

PostPosted: Fri Feb 17, 2006 2:50 pm    Post subject: Reply with quote

Which bit in particular don't you understand? There is also some documentation with the FSUIPC module from Pete Dowson so that might also be a good place to start.

Chris
Back to top
View user's profile Send private message Visit poster's website
wwwayward



Joined: 08 Feb 2006
Posts: 20
Location: Toronto,ON Canada

PostPosted: Sat Feb 18, 2006 3:14 pm    Post subject: Reply with quote

OK i'll read that and pickyour brain for anything to bridge the gaps

thanks Chris

Steff
Back to top
View user's profile Send private message
mauriceb



Joined: 22 Aug 2005
Posts: 1051
Location: Gravenhurst, Ontario - Canada

PostPosted: Mon Feb 20, 2006 8:18 am    Post subject: Re: Offsets ? Reply with quote

wwwayward wrote:
Hello !
can anyone give me a site that explains what offsets are ?
i'm pretty new to flightdeck building, and the interfacing language.

Cheers
Steff


Steff,
You may want to read one of the earlier threads on this subject. Lots of good info there:
http://www.flightdecksolutions.com/forum/viewtopic.php?t=1815&highlight=offset+maurice

Maurice
Back to top
View user's profile Send private message
wwwayward



Joined: 08 Feb 2006
Posts: 20
Location: Toronto,ON Canada

PostPosted: Tue Feb 21, 2006 12:34 pm    Post subject: Reply with quote

Thanks Maurice et al.

this is exactly what i was looking for !
it's starts making sense if you can use it.

Thanx for the redirect !

Cheers
Steff

P.S. i reserve the right to ask further questions on this when i hit the proverbial wall. Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Flightdeck Solutions Forum Index -> Open Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group