PDA

View Full Version : Using Radio Audio Panel with FS2P / offset 3122



farrokh747
01-10-2009, 01:55 PM
Hi Alan / all

I've set up the audio panel in my sim to switch on and off the VOR/NDB/Marker sounds - I've used offset 3122 (as bitmap) with bits 0 > 7 as listed in the FSUIPC doc:::

3122 1 Radio audio switches (FS2002+ only). Read/write bit settings as follows:
2^7 COM1 transmit
2^6 COM2 transmit
2^5 COM receive both
2^4 NAV1 sound
2^3 NAV2 sound
2^2 Marker sound
2^1 DME sound
2^0 ADF1 sound

Now what happens is this:

I can switch ON the VOR / ADF / MKR sounds OK, but switching any of them OFF, switches ON the ADF1 (bit 0)

I have checked this with the emulated 8/8/8 as well as the on screen panel -

So eg:
NAV 1 ON = OK, FS panel shows on
NAV1 OFF = NAV 1 OFF, and ADF 1 ON

and so on

this is true for all the other buttons on the panel

I've posted a thread on the FSUIPC form re this:

http://forums.simflight.com/viewtopic.php?f=54&t=74382

Do you have any idea what I'm doing wrong/what's setting bit 1 ON each time another one is switched OFF?

FS2004 / Default 747 panel / latest FSUIPC/WIDEFS/FS2P

Cheers!

FC

CocnutAir
01-11-2009, 03:52 PM
FC,

Prloblem is not with FSUIPC.
That forum won't be able to help.

I believe this was posted on another forum a while back.
Will look at at it. Pretty sure it is a signed veres unsigned byte issue on my part.

Regards,
Alan.

CocnutAir
01-11-2009, 04:20 PM
FC,

Tried it on my system.
Is doing as you described.

Something I noticed while simulating the problem you described.
The ADF_AUDIO is incorrect.

Use FSVariable Editor to set ADF_AUDIO :
Offset to 3122
Length to 1
FSVariable Type to Bitmapped (part of bitmap)
Click on bit 0 in the Bitmapping frame.

Press Save icon to save.
This will not fix problen you have described.
I am still working on that.

Regards,
Alan.

CocnutAir
01-11-2009, 06:22 PM
FC,

Problem is the bit partnering function.
I introduced function to emulate the way COM1 and COM2 audio selection works with Boeing 737 on MS_FS.
FSVariable is defaulting Bit Partner to "0" and not "None", or not setting bit partner to same value as Bit.

I have emailed an updated version of fs2phidget, fsvariable and an updated fsvariables file to you.

Let me know how that works for you.

Regards,
Alan.

farrokh747
01-12-2009, 01:06 AM
HI Alan -

Thanks! Once again, thanks for your wonderful program - it's made it possible for semi dimwits like myself to do wonderful things - and your support....

If you see the thread in the FSUIPC forum, Pete has some notes on what FS2P may be doing with the audio panel -

http://forums.simflight.com/viewtopic.php?f=54&t=74382

FC

CocnutAir
01-12-2009, 10:00 PM
I got hold of Peter.
Emailed program fix to you.

farrokh747
01-14-2009, 09:08 AM
Hi Alan - using the fix - works totally fine now -

thanks!

FC