I have treied sending the following in Mhz, Khz, and Hz still radio displays 0.00
fs2020_event("COM_RADIO_SET_HZ", 121500000) I have also sent this in a variable but to no avail. Anyone any ideas??
Unable to update Radio Freq in FS2020 or fSX
Re: Unable to update Radio Freq in FS2020 or fSX
The value should not be in the infamous « BCD format » ?
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
Re: Unable to update Radio Freq in FS2020 or fSX
That's what was thinking as well, that used to be the case for FSX.
Re: Unable to update Radio Freq in FS2020 or fSX
Converting decimal to BCD seems to be a nightmare.
Trying to find some algorithms on the Net to translate into Lua, kinda tricky
Trying to find some algorithms on the Net to translate into Lua, kinda tricky
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
Re: Unable to update Radio Freq in FS2020 or fSX
With Hz on end it should update in Hz, for instance sending 1215500000 should work, but it does'nt.
Re: Unable to update Radio Freq in FS2020 or fSX
Try this:
Code: Select all
freq=122.125
res=freq*10000*100
fs2020_event("COM_RADIO_SET_HZ",res)
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
Re: Unable to update Radio Freq in FS2020 or fSX
Radio in cockpit displays 0.00 instead of frequency sent.
Re: Unable to update Radio Freq in FS2020 or fSX
Download the Flight Illusion Bendix Kind radio and you'll see how it works.
Re: Unable to update Radio Freq in FS2020 or fSX
The code I published works fine on my PC with with MSFS. Check if you don’t have any addon in the community folder that might interfere first.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
Re: Unable to update Radio Freq in FS2020 or fSX
You have one too many zeros.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D