Jump to content

Is mi-8 giving the correct FM freq on the R828 ?


Recommended Posts

Posted

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.

Posted

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

dcs.exe_DX9_20150831_073455.thumb.jpg.2db321f945cab0a5579ffdf94ad02a6e.jpg

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

Posted

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!

Posted

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 !

 

KBgMFPx.jpg

Pilot console

 

 

7Z3pD9c.jpg

Central console

 

 

JI4KtDu.jpg

Electric panels

 

 

y9PC9s4.jpg

Start engines panel

 

 

Right now i am worknig in the radio panel, is very advanced !

Next one, weapons.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...