NAV and COM Radios Issue

Forum for the OC4BA v2/v3 and OC4BAConfig including the OCP4NGX driver
Post Reply
Andycyxu
Posts: 28
Joined: Thu Aug 21, 2014 12:10 am

NAV and COM Radios Issue

Post by Andycyxu »

Hi, I have a small issue with NAV and COM Radios,
Although they both work properly when comparing to IN SIM BEHAVIOR the displays on actual P&P modules don't update value when SWAP Frequency button is used..

the simplest i can explain is that STANDBY Frequencies do not UPDATE after SWAP

COM RADIO Example:
ACTIVE 130.00 STANDBY 100.00 (what is displayed when sim is started for the first time or rather when OC4BA is started and connects to sim)
when i tune into new Frequency ex. 128.000 Display: A=130.00 S=128.00
press the swap Button Display: A=128.00 S=128.00 SHOULD BE A=128.00 S=130.00
press swap again Display: A=130.00 S=128.00
In other words STANDBY frequency will never update to what was displayed in ACTIVE

NAV RADIO Example
ACTIVE 117.00 STANDBY 113.00
1. tune to new Freq, ex 115.00 Display: A=117.00 S=115.00
2. press the swap Button Display: A=115.00 S=115.00 SHOULD BE A=115.00 S=117.00
3. now with this one is little different when I press the SWAP button again ACTIVE and STANDBY will swap around and display correct values until i change STANDBY to new FREQ then again we get POINT #2 happen and again pressing SWAP again will start swapping displayed frequencies correctly.

My COM radio I recently ordered from OC, has actually 6 digits only 5 are working, but i don't care about that just mentioning it in case OC updated their modules and maybe older ones have only 5 digits...

Again in SIM everything is working OK, so its not a big deal would be nice if they swap properly on P&P modules but not the end of the world.
I tried to compare your most recent script (the full one with OVH and everything as this is what I use) and there are some differences compared with Older versions in the area that corresponds to NAV1 and COM1 radios they used to work correctly in older version, but for now Im not going to mess with that as I am not as good with SIOC.

Anyhow if you can look into the script when you have some time and see if its working OK for you maybe you can point me to something i can change in the script that would make it swap properly. Also my script is obviously very different from yours in matter of OVH as mine is home built so many DEVICE # and INPUT# had to be changed to match my hardware but in case of modules they all set up as they should no need to change anything. so device#'s and Input#'s are as i recall the only things i actually changed from original script and some other things like diplay# for OVH displays of electrical panel and altitude settign but anywyas they all working SUPER only the SWAP in NAV and COM seem to be an issue.

My SIOC ini just in case you wondering

Code: Select all

[SIOC]
IOCP_port=8092
IOCP_timeout=4000
Minimized=No
toggle_delay=20
[IOCARDS MODULE]
IOCard_disable=No
IOCard_LPT=No
[FSUIPC MODULE]
FSUipcdisable=No
FSUipcRefresh=60
[IOCP CLIENTS MODULES]
IOCPini_delay= 3000
IOCPclient0_disable=yes
IOCPclient0_host=localhost
IOCPclient0_port=8099 
IOCPclient1_disable=yes
IOCPclient1_host=localhost
IOCPclient1_port=8092
[SOUND MODULE]
Sound_disable=Yes
Volume=100
[*]
[PMDG B737]
CONFIG_FILE=my20g.ssi
[MCP]
MASTER=15,5,1,84
[OUTS CARD]
MASTER=6,6,1,51
[EFIS]
MASTER=7,7,1,49
[NAV]
MASTER=9,9,1,55
[COM]
MASTER=8,8,1,91
[TRANSPONDER]
MASTER=11,11,1,59
[FMC]
MASTER=13,13,1,50
[MASTER CARD]
MASTER=31,4,3,80    <--- (3 mastercards connected to 1 Expansion card used for MIP and OVH)
USBServos=38,48
USBServos=39,89
Thanks for your time.
Andy
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: NAV and COM Radios Issue

Post by mvr1918 »

HI,

I will look into this issue next time I am scheduled for a flight in my rksoftware B737NGX :)


Can you send me the text files of the COM1 and NAV1 script part you are using when this issues occur. I also need the driver
version ( OCP4NGX.exe) in use.


Are these issues seen when you are in flight mode or when on ground?
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: NAV and COM Radios Issue

Post by mvr1918 »

HI,

Just tested this with my latest driver and script files. It works OK here, no issues. I only tested on ground.
Andycyxu
Posts: 28
Joined: Thu Aug 21, 2014 12:10 am

Re: NAV and COM Radios Issue

Post by Andycyxu »

OK Roar…
I got it fixed .. phew…

After installing the new version you just sent me I found file OCP4NGX_PP_MIP_v1.1.ssi that I used and both COM and NAV worked properly, so I went ahead and with fine tooth looked through the file to compare to mine
This is what I found missing

Var 6372, name COM1_TFR, static, Link IOCARD_SW, Device 8, Input 6, Type P // Active/Standby swap button
{
L0 = &AC_COM1
L1 = &ST_COM1
&ST_COM1 = L0
&AC_COM1 = L1
CALL &OutAC_COM1
CALL &OutST_COM1
}


It was missing for both NAV, NAV2 as well as both COM radios after adding they worked fine. It was from older OCP4NGX_v4.0.ssi
There was some other differences as well which I am not going to get into LOL so I basically tried to make sure that code corresponding to NAV and COM were identical as the most recent you have just sent me. Now i Have win10 ready OC4BA as well once i decide to upgrade.
BOTTOM line this PROBLEM SOLVED !
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: NAV and COM Radios Issue

Post by mvr1918 »

Thanks for sharing this info. I will look over all released scripts and make necessary updates.
Alpin-Flier
Posts: 44
Joined: Sun May 24, 2015 2:59 pm

Re: NAV and COM Radios Issue

Post by Alpin-Flier »

Hi Roar

I have the same problem as Andy. When I look into my OCP4NGX_v4.0.ssi, I don't see the lines mentioned above. Well, this file out of the installation pack is from June 2015, so your modifications from Nov 2015 cannot be there, of course. And in the download for new files this specific file is not present. Where can I get the updated OCP4NGX_v4.0.ssi ? Or did I miss the correct installation package download?

Thanks for help
Urs
Alpin-Flier
Posts: 44
Joined: Sun May 24, 2015 2:59 pm

Re: NAV and COM Radios Issue

Post by Alpin-Flier »

Hi Roar

Just a small, additional change: The ATC symbol is defined, but does not light up. So I made the following amendment:

Var 2740, name TCAS_MODE, static
{
IF &TCAS_MODE = 0
{
&Xpn_1 = 0
&Xpn_2 = 0
&ATC_S = 0
}
ELSE
{
IF &XPDR_XpnSel_2 = 0
{
&Xpn_1 = 1
&Xpn_2 = 0
&ATC_S = 1
}
ELSE
{
&Xpn_1 = 0
&Xpn_2 = 1
&ATC_S = 1
}
}
}

Perhaps useful for others, too.

Best regards
Urs
Alpin-Flier
Posts: 44
Joined: Sun May 24, 2015 2:59 pm

Re: NAV and COM Radios Issue

Post by Alpin-Flier »

Hi Roar

In the meantime I tried to write an .ssi section for connecting COM3 to the NGX. But now I don't know the sioc variables that are connected to the NGX COM3 via your driver. Does your driver already offer these values? Please let me know.

By the way, I made the changes for the transfer functions as proposed from Andy and it works fine .

Best regards
Urs
mvr1918
Site Admin
Posts: 1624
Joined: Thu Aug 30, 2012 3:35 pm

Re: NAV and COM Radios Issue

Post by mvr1918 »

2305 = COM3_AM_SWITCH
2306 = COM3_END_RANGE2
2307 = COM3_END_RANGE2
2308 = COM3_HF_SENSOR_KNOB
2309 = COM3_HF1_SWITCH
2310 = COM3_INNER_SELECTOR
2311 = COM3_INNER_SELECTOR
2312 = COM3_OUTER_SELECTOR
2313 = COM3_PNL_OFF_SWITCH
2314 = COM3_PNL_OFF_SWITCH
2315 = COM3_START_RANGE1
2316 = COM3_START_RANGE1
2317 = COM3_TEST_SWICTH
2318 = COM3_VHF1_SWITCH
2319 = COM3_VHF2_SWITCH
2320 = COM3_VHF3_SWITCH
Post Reply