chasbruce Posted 22 hours ago Report Posted 22 hours ago Hi John, I am trying to use my cpflight COM 1 & 2 radios on vatsim (vpilot) but I am only getting the 25 khz spacing. I tried setting x0B47 and x0B48 offsets to 1 but still my cpflight COM radios have 25 khz spacing. I am running cpflight with Project Magenta software, but I am having difficulty getting a response from PM so I am trying this route. Maybe cpflight does not read fsuipc offsets and it needs to be a change in the PM/cpflight driver. If this is a dead end (if PM don't help) I presume I could buy, say, an Opencockpits COM 1 & 2 and simply set the above offsets in their sioc script, as OC obviously does use fsuipc. I only need the COM radios to be able to change frequencies on vpilot, there is no other need for integration with PM logics. Regards Charles
John Dowson Posted 15 hours ago Report Posted 15 hours ago 6 hours ago, chasbruce said: I tried setting x0B47 and x0B48 offsets to 1 The COM SPACING MODE simvar (held in offsets x0B47 and x0B48) report the spacing mode of the COM radios of the currently loaded aircraft, are read-only and cannot be changed. If they are set to 0, then the COM radios are 25khz (or the simvar/offsets are not being used/set). Do you get 8.33KHz spacing when tuning the radios in the VC, or only 25KHz? If the latter, the only thing you can do is to try to switch out the radios for ones that support 8.33KHz spacing. If they do support 8.33KHz spacing, then it could be that those simvars/offsets are not being used. If that is the case, how are you controlling the frequency - are you using FSUIPC for this? If so, note that offsets 0x034E and 0x3118 are in BCD format and only support 4-digits (leading 1 assumed). To set 8.33KHz spacing, use offsets 0x05C4 and 0x05C8. If using controls/events to set the frequency, you need to use the *_HZ ones. John
chasbruce Posted 11 hours ago Author Report Posted 11 hours ago Many thanks as ever, John. Quote The COM SPACING MODE simvar (held in offsets x0B47 and x0B48) report the spacing mode of the COM radios of the currently loaded aircraft, are read-only and cannot be changed. If they are set to 0, then the COM radios are 25khz (or the simvar/offsets are not being used/set). The x0B47 and x0B48 offsets report 1, so 8.33 is enabled in the loaded aircraft. Quote Do you get 8.33KHz spacing when tuning the radios in the VC, or only 25KHz? If the latter, the only thing you can do is to try to switch out the radios for ones that support 8.33KHz spacing. My 2 COM radios (hardware) from cpflight are 8.33 enabled as I bought 2 new ones specifically for that purpose. I can tune 8.33 if I use the PM CDU/com radio page and just tupe the frequency there (but that is impractical to do while flying), there is no VC as it is a full cockpit. Quote If they do support 8.33KHz spacing, then it could be that those simvars/offsets are not being used. If that is the case, how are you controlling the frequency - are you using FSUIPC for this? I am using the PM/Cpflight driver which only PM and cpflight can alter, PM mostly uses fsuipc and Enrico Schiratti has responded "It is writing the tuned to the offsets directly." Quote If so, note that offsets 0x034E and 0x3118 are in BCD format and only support 4-digits (leading 1 assumed). To set 8.33KHz spacing, use offsets 0x05C4 and 0x05C8. If using controls/events to set the frequency, you need to use the *_HZ ones. I have asked Enrico Schiratti at PM if maybe in the PM/cpflight driver, the frequency is not being sent to the 0x05C4 and 0x05C8 offsets, but to the BCD ones
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