c_b Posted November 23, 2005 Report Posted November 23, 2005 Hi, I am planning to build an instrument panel for a Cessna 172. Have just received my IO master from Opencockpit.com. My question is; how to read the hex address from the number in “List of FS2004 Controls” document? Ie. GPS_MENU_BUTTON = 66618 (couldn’t find this information in the FSInterrogate2std.exe application either. The GPS_MENU_BUTTON is not listed here... ) Thanks!
Pete Dowson Posted November 23, 2005 Report Posted November 23, 2005 Have just received my IO master from Opencockpit.com. My question is; how to read the hex address from the number in “List of FS2004 Controls” document? Ie. GPS_MENU_BUTTON = 66618 You cannot read any "address", hex or otherwise from that list. It is a list of controls. The names are the control names listed in FS's "CONTROLS.DLL" and the numbers are just the numeric representation of those controls, used internally by FS. I don't know this "IO master from Opencockpits.com", but it sounds like their documentation isn't telling you correctly what to look for. If they access FSUIPC offsets (not addresses -- the offsets are more like just token values), which are normally known by their hexadecimal representation, then these are listed in the Programmer's Guide for FSUIPC, which is part of the FSUIPC SDK. (couldn’t find this information in the FSInterrogate2std.exe application either. The GPS_MENU_BUTTON is not listed here... ) Well, you won't find Control Names listed in either FSinterrogate or the Programmer's Guide. FSUIPC's direct access bypasses the control system of FS and there is no special correspondence in any case. They are different things entirely. There are actually no offsets for any of the GPS switches. You can only operate them through the FS controls, which are easily programmable in FSUIPC's Keys or Buttons pages. If your hardware's driver can only operate via FSUIPC offsets then you would need to persuade FSUIPC to send the control for you, which you can do via offset 3110 -- please look it up. Regards, Pete
c_b Posted November 23, 2005 Author Report Posted November 23, 2005 Thaks Peter! Thanks for prompt reply! (I realize that my post was a bit hasty…) Found another post in the forum that explained a lot for me regarding this… Anyway, the master IO-card from Opencocpits.com does NOT have a detailed documentation (as I can see it). Thanks, keep up the good work ;)
kiek Posted November 24, 2005 Report Posted November 24, 2005 Hi, IOcards from OpenCockpits accesses offsets from FSUIPC, just like other systems such as FSBUS and EPIC. What can you do otherwise.. ;-) It's all written down in manuals in the spanish and in the english language, please search the Opencockpits website for manuals ..
c_b Posted November 24, 2005 Author Report Posted November 24, 2005 Hi Nico :wink: Aha.... found the documentation for opencockpits IO-card/software. Change my statement regarding the documentation for this. Best regards Roy
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