lucy Posted April 2, 2008 Report Posted April 2, 2008 Hi Pete, I would be most grateful if you could help me with this. To date, all the switches and buttons I've managed to program using FSUIPC and offsets has been achieved by obtaining assistance from you and or other forum members. My main question is how can I determin what should be used from the FSUIPC drop down list just by looking up the offset and it's description from the FSUIPC and or Project Magenta list of offsets. EXAMPLE 1: I assigned a swith to control the SB3 transponder mode, with the assistance I received I used Offset Byte Clrbits and Offset Byte Setbits together with it's offset and parameter 1. QUESTION : From it's description how do I know whether to us Offset Byte, SByte, Word, DWord, UWord, SWord etc etc. and where does the parameter figure come from. EXAMPLE 2 : I assigned a switch to activate ALL fuel tanks, again only from help received I used Offset DWord Set, it's corresponding offset (0AF8) and again parameter 1. QUESTION : Again, from that description how should I know to use Offset DWord from the drop down list and why parameter 1. I hope I've explained my short comings sufficiently for you to help, If I can get a better understanding of what to use and when I should not need to look for assistance for what in most cases appears to be basic switch/button assigning. Many Thanks Regards Trev
Pete Dowson Posted April 2, 2008 Report Posted April 2, 2008 ... how can I determin what should be used from the FSUIPC drop down list just by looking up the offset and it's description from the FSUIPC and or Project Magenta list of offsets. For most functions in FS you shouldn't need to use any "offsets". There are decent controls for nearly everything. EXAMPLE 1: I assigned a swith to control the SB3 transponder mode, with the assistance I received I used Offset Byte Clrbits and Offset Byte Setbits together with it's offset and parameter 1. SB3's use of offsets is private to that product, and not something I would know, not being an SB3 user, so help with such would have to come from the SB3 documentation or support. QUESTION : From it's description how do I know whether to us Offset Byte, SByte, Word, DWord, UWord, SWord etc etc. Byte is size 1, or 8 bits, SByte is the same but signed (i.e. can be negative) Word is size 2 ir 16 bits Dword is size 4 or 32 bits and where does the parameter figure come from. The parameter is the value -- the number to write to that offset or change bits in it. There's no general way of saying where it "comes from". That's a matter of you understanding what you want to do. If you don't understand any of this it is best not to mess with it. There are no functions of FS where you need to mess with offsets unless you are a programmer, and then you need the FSUIPC SDK. For PM you should refer to PM documentation or Support (or use the PM forums). For other programs, use theirs. I cannot support other follks programs, and support for FS is already achieved through proper controls. EXAMPLE 2 : I assigned a switch to activate ALL fuel tanks, again only from help received I used Offset DWord Set, it's corresponding offset (0AF8) and again parameter 1. Why do that when you can use the built in FS control? "Fuel selector all"? Please do se the drop-down lists of assignable FS controls before trying to make life so complicated for yourself. ... when I should not need to look for assistance for what in most cases appears to be basic switch/button assigning. You should not be messing with offsets is almost any case concerned with standard FS functions, which are all pretty well supported. I have no idea why you are going down this route. Leave that to the programmers for whom it is designed. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now