Capt Zeen Posted August 31, 2015 Posted August 31, 2015 Hello all. Yesterday, exporting the frequencies from R863 and R828 i notice that the R828 always export me the value of the Channel nº1, even if i have selected another channel. The R623 work correct, every channel export the corresponding freq, but not the R828. I extract the data from: local R828 = GetDevice(39) freq_828 = R828:get_frequency() There is something i am doing wrong? or just the program don't return the correct value when you change the channel ? Thanks in advance. Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
Ciribob Posted August 31, 2015 Posted August 31, 2015 I've been messing around with Radios recently. With the 828 you have to change the channel and then press the tune button. It's very hard to see! Below is what I use to get a radio frequency, you can also check that the radio is on: function SR.getRadioFrequency(_deviceId, _roundTo) local _device = GetDevice(_deviceId) if not _roundTo then _roundTo = 5000 end if _device then if _device:is_on() then -- round as the numbers arent exact return SR.round(_device:get_frequency(),_roundTo) end end return 1 end function SR.round(number, step) if number == 0 then return 0 else return math.floor((number + step / 2) / step) * step end end Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
Capt Zeen Posted August 31, 2015 Author Posted August 31, 2015 OMG ! i forgot the tune button ! After years using it in the KA50 !! Thanks Ciribob, good point ! Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
marques Posted August 31, 2015 Posted August 31, 2015 Zeen, I promise not to spread this mistake out.....maybe ;) Now serious, the work you´re doing is outstanding and we will never thank you enough!
BaD CrC Posted August 31, 2015 Posted August 31, 2015 Soooooo, we are about to have a Capt Zeen's Mi-8 Helios profile? I have to say this is VERY exciting news. https://www.blacksharkden.com http://discord.gg/blacksharkden
Capt Zeen Posted September 1, 2015 Author Posted September 1, 2015 This is what i got at the moment: Everyting is working ! , lamps, switches, instruments, and all syncronized, so you can click on the helios screen or in the cockpit. The same experience as the Ka50 helios profile ! Pilot console Central console Electric panels Start engines panel Right now i am worknig in the radio panel, is very advanced ! Next one, weapons. Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
Recommended Posts