Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi there.  Is there a chance you can add an example of getting/setting 8.33 kHz?  Not being a coder, I found a way to make it work a while back but then lost my code and now can't remember what I did.  I decided to have a C# developer who isn't familiar with FSUIPC try to rebuild my app but he's getting stuck.  If I can point him to an example, that would be very helpful.

Also, it would be great if you can add an example in the sample code.  Currently it only has an example of the 2 decimal BCD way of doing it which doesn't work for 3 decimals.

Thank you!

Tony

Posted

Hi Tony,

The new offsets for COM frequencies start at 0x05C4. These are just normal 4-byte 'int' offsets that store the frequency in Hz. To convert to/from the normal MHz value just multiply/divide by 1,000,000.

These offsets are read/write in P3D, however the Offset Status document for FSUIPC7 (MSFS) says that writing to these offsets does not work yet. It's worth trying though. 

Also, some third-party aircraft may use their own coding for com frequencies and so these offset won't work at all for those aircraft.

Paul

Posted

Hi Paul, thanks for the reply.  That's what I thought I remembered as well, but wasn't sure if I was missing something else.

As always, thanks for the all the hard work to make this available for us!

Cheers,

Tony

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.