fc Posted January 7, 2009 Report Posted January 7, 2009 Hello Pete - Happy New Year! I am wiring my audio box in the sim to be able to use the nav1, nav2, mkr buttons - the interface is phidgets 0/0/16 - Using offset 3122 with bits 0 > 7 - I am able to assign the hardware switches OK to each of the functions, but seeing this issue: Any button, when switched OFF, sets ADF1 to ON - for eg, if I have NAV1 on, and then switch it off, ADF1 comes on - same for nav2, mkr, dme, etc - I then have to cycle the ADF1 button once to switch it off. it seems that Bit 0 is being set when any of the other bits are switched off - any thoughts? Cheers! Farrokh
Pete Dowson Posted January 7, 2009 Report Posted January 7, 2009 it seems that Bit 0 is being set when any of the other bits are switched off - any thoughts? I need more information before I even look at it, please. Both of these are always absolutely necessary: 1. Version of FS (FSX, FS9, FS2002, FS2000, FS98, CFS1 or CFS2?) 2. Version of FSUIPC (if not the latest, please update first). Then can you please go to the FSUIPC "Logging" page, enable Monitoring of 3122 as type UByte, check "normal log", and also enable IPC Write logging. Then re-test, and show me the parts of the log where you write to 3122 and the results are shown. Thanks, Pete
fc Posted January 8, 2009 Author Report Posted January 8, 2009 Hi Pete - Apologies ! FS 2004, latest FSUIPC (3.85), WinXP Will get the other data out and report FC
Pete Dowson Posted January 8, 2009 Report Posted January 8, 2009 Any button, when switched OFF, sets ADF1 to ON - for eg, if I have NAV1 on, and then switch it off, ADF1 comes on - same for nav2, mkr, dme, etc - I then have to cycle the ADF1 button once to switch it off. Now that I know you mean FS2004 with FSUIPC3, I tried things here, and they work fine, so I suspect it is either something you are doing, or possibly some function of the aircraft panel you are using. To eliminate the latter, try a default aircraft with default panel. it seems that Bit 0 is being set when any of the other bits are switched off - any thoughts? It doesn't happen here with the default aircraft. Also, this area has been unchanged in FSUIPC3 now for many years and through several versions of FS -- I'm sure it would have been noticed before. So obviously I need to see the logging I mentioned, and I definitely need to know whether this is a default aircraft/panel or not. Just for your information here's the logging from my testing, with added comments: 338391 Monitor IPC:3122 (U8) = 128 ___the 128 (x80) bit is COM1. Either COM1 or COM2 sounds are always enabled. 403547 WRITE0 3122, 1 bytes: 10 ___the 16 (x10) bit is NAV1. Here I turn it on. 403578 Monitor IPC:3122 (U8) = 144 ___128 + 16 = 144 (x90), both NAV1 and COM1 are on. 410703 WRITE0 3122, 1 bytes: 00 ___Here I turn NAV1 off. 410750 Monitor IPC:3122 (U8) = 0 ___The offset reads what I wrote, until ... 410875 Monitor IPC:3122 (U8) = 128 ___... the next read-out from FS, showing the COM1 flag still, of course. Note that the IPC Read/Write logging is in hexadecimal whilst the Monitor logs in decimal. Regards Pete
fc Posted January 8, 2009 Author Report Posted January 8, 2009 Thanks for the reply! The aircraft is the default 747 400 / FS2004 I'm away from the sim for a day, will check the logs and send them to you - must be something I've missed - seems pretty straightforward- Cheers! FC
fc Posted January 10, 2009 Author Report Posted January 10, 2009 Hi Pete: Here is the log from a test today: Seq: 1. all off 2. NAV1 3. NAV2 4. all off When I switch all off, the panel goes to ADF on Thanks Farrokh. [Continuation log requested by user] Module base=61000000 ClassOptions: UIPCMAIN=FF7F, FS98MAIN=FF7F, FS2KMAIN=FF5E WeatherOptions(Orig)=60043685[60043685] InitDelay: 0 seconds WeatherReadInterval=4 LogOptions=00000005 667469 System time = 18:13:33, FS2004 time = 18:12:20 670531 WRITEex 3122, 1 bytes: 90 670547 Monitor IPC:3122 (U8) = 0x90 674422 WRITEex 3122, 1 bytes: 81 674438 Monitor IPC:3122 (U8) = 0x81 674703 WRITEex 3122, 1 bytes: 88 674719 Monitor IPC:3122 (U8) = 0x88 678797 WRITEex 3122, 1 bytes: 81 678813 Monitor IP
Pete Dowson Posted January 10, 2009 Report Posted January 10, 2009 Here is the log from a test today: Seq: 1. all off 2. NAV1 3. NAV2 4. all off But the Log clearly shows you writing 0x81 for "all off" -- the 1 bit is setting ADF on. You need to write 0x00 or 0x80 to set all off. You are explicitly turning ADF on every time you turn something else off! 670531 WRITEex 3122, 1 bytes: 90 NAV1 on 670547 Monitor IPC:3122 (U8) = 0x90 674422 WRITEex 3122, 1 bytes: 81 NAV1 off, ADF on 674438 Monitor IPC:3122 (U8) = 0x81 674703 WRITEex 3122, 1 bytes: 88 NAV2 on, ADF off 674719 Monitor IPC:3122 (U8) = 0x88 678797 WRITEex 3122, 1 bytes: 81 NAV2 off, ADF on 678813 Monitor IP There is no way FSUIPC or FS is setting this bit -- either you are setting it, or it is something to do with WideFS. Can you run directly on the FS PC? Otherwise you may need to use Logging in WideClient to see what you are doing, exactly. Regards Pete
fc Posted January 10, 2009 Author Report Posted January 10, 2009 HI Pete Thanks - clearer now - I'll have to check this with Alan D - most likely my set up in FS2Phidhets is setting the ADF1 on everytime one of the other bits in 3122 is set to off - alternatively, I can use the usb i/o board to talk directly to FSUIPC and assign the buttons from there - WIll report - Cheers, FC
fc Posted January 12, 2009 Author Report Posted January 12, 2009 Hi Pete - ongoing post at: http://mycockpit.org/forums/showthread.php?t=14679 Some issues with FS2P and the way it handles the audio panel logic - Alan's looking into it ! Not a FSUIPC issue.. cheers, and thanks as always. FC
fc Posted January 14, 2009 Author Report Posted January 14, 2009 Hi Pete - Alan has fixed FS2P to handle the audio panel - works totally fine now - great to be able to switch the MKR and VOR sounds on and off from the seat - cheers and thanks, FC
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