Jump to content

VHF Radio device: inconsistent function call return values


Hollywood_315

Recommended Posts

Hi there

 

Calling in an issue which is hidden for many users, however resulting in inconsistent radio behavior as experienced and reported by multiple users using the VAICOM PRO AI Radio comms plugin with the F-16C:

https://forums.eagle.ru/showthread.php?t=198297.

No doubt this is just an EA loose end, much appreciated if it can be addressed.

 

Many thanks,

Hollywood

 

-----

 

OBSERVATIONS

For Viper radio device with displayname VHF Radio AN/ARC-222, device ID 38, the sim always returns "false" for the following lua function call:

 

- GetDevice(data.intercomId):is_communicator_available( 38 )

 

This is the case even when in-flight with all systems fully powered.

This return value is inconsistent with the in-sim radio device actually being switched on, not damaged, and powered in the Viper pit, i.e. return value "true" is expected here.

To note this function call does behave consistently for all other DCS Modules.

 

ADDITIONAL INFO

- Garmin not used.

- No mods or alterations applied.

- DCS.log shows no errors.

- For the other Viper radio device with ID 36, displayName UHF Radio AN/ARC-164, the returned true/false value is as expected i.e. corresponding to the device state in the pit.

 

REFERENCE

-JSON snippet (as used by VAICOM PRO) representing the read sim info:

 

 

"radios": [

{

"deviceid": 36,

"isavailable": true,

"displayName": "UHF Radio AN/ARC-164",

"AM": true,

"FM": false,

"on": true,

"frequency": "269000608",

"modulation": "AM",

"intercom": false,

"tunedunits": [

{

"index": 1,

"id_": 5000040,

"unitcallsign": "Vaziani",

"range": 2360,

"pos": {

"x": -318191.71875,

"y": 464.50045776367,

"z": 902331.75

},

"fullname": "Vaziani",

"coalition": "BLUE",

"frequency": "4700127.5",

"altfreq": [

"140000048",

"42200156",

"269000128"

],

"modulation": "AM",

"status": "not tuned",

"ishuman": false

}

]

},

{

"deviceid": 38,

"isavailable": false,

"displayName": "VHF Radio AN/ARC-222",

"AM": true,

"FM": true,

"on": false,

"frequency": "0",

"modulation": "XX",

"intercom": false,

"tunedunits": []

},

{

"deviceid": 39,

"isavailable": true,

"displayName": "INTERCOM",

"AM": false,

"FM": false,

"on": true,

"frequency": "0",

"modulation": "XX",

"intercom": true,

"tunedunits": []

}

],

 

 

PS issue also reported here, incorrectly flagged as [correct as is]

https://forums.eagle.ru/showthread.php?t=252320

Thanks


Edited by Hollywood_315
issue narrowed down

There is no spoon.

 

Avatar_old_80x80.gif.0c105925ce4b9f5b87697ea37cbde317.gif

VAICOM PRO plugin for DCS World

www.vaicompro.com

Link to comment
Share on other sites

  • Recently Browsing   0 members

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