juliosilva Posted May 4, 2005 Report Posted May 4, 2005 Hello, I'm making an APP to connect an real COM1/NAV1 radio, and I'm kinda lost width all these address... How can I INC/DEC the COM1/NAV1 stby freq? Is it possible, or I have to INC/DEC the freq in my app, and then write it in the COM1/NAV1 freq? Thanks for any tip, jS
Pete Dowson Posted May 5, 2005 Report Posted May 5, 2005 I'm making an APP to connect an real COM1/NAV1 radio, and I'm kinda lost width all these address... Why is that? Isn't the documentation clear enough? How can I INC/DEC the COM1/NAV1 stby freq? Well, that is more a button or FS control type thing. The FSUIPC interface allows you to read and write radio frequencies, both active and standby, so you could of course read them (as you would need to to display the settings), increment/decrement or otherwise change them as you want, and re-write them. That's one way. Otherwise, INC/DEC controls are provided for all these things. These ask FS or FSUIPC to make the changes for you. You can send any controls via offset 3110. FS controls are listed in the list of FS controls (in the SDK), and FSUIPC controls are listed in the FSUIPC Advanced User's guide. Is it possible, or I have to INC/DEC the freq in my app, and then write it in the COM1/NAV1 freq? Either. In general you would be better off incrementing and setting into FS the value you last displayed locally, only re-reading it from FS when the rotary adjustment has stopped for a while (half a second or so). That way you would get much more responsiveness. You can merely send a stream of INC or DEC controls, but you'll get queuing and therefore latency in the resulting values and displays. Regards, Pete
juliosilva Posted May 5, 2005 Author Report Posted May 5, 2005 Hello Pete, Thanks for the fast replay. Why is that? Isn't the documentation clear enough? Yes, the documentation is clear, but it's also a lot, so I get kinda lost, and don't know where to start :). In my project I'm only interested in the cockpit variables (like speed, altimiter, radios, engine gagues, etc.), so I think I skipped some important document. I'll check it up better. I would like to thank you for the great job you are making with FSUIPC. Keep it up :). Thanks, jS
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