ryanbatcund

Odd CTD with 750/650 combo

Recommended Posts

Posted (edited)

Using a GTN 750 and 650 in the MV PC-6 I'm having a weird CTD when I click on one of the 750 or 650 popups in the VC.

Here's the contents of my ini file.  So the PC6 does not have native RXP GTN support (only GNS), so I ran the RXP auto replace like I always do.  I also added my custom clickspot fixer code so those work.  

I am able to popup one or the other GTN 750/650....but not both.  I can popup the 750 then if I click the clickspot to open the 650 P3D CTD's.  The reverse also happens if I successfully popup the 650 then try the 750, I get a CTD.

Anything look suspicious in my ini?  Also I'm not yet using P3D 4.5.....still on 4.4

EDIT: Forgot to mention I just downloaded the LATEST RXP gauges.

[GTN_650_2]
; is the master device if true.
MasterDevice = false
; aviation db: 0: nav_db2_grm, 1: nav_db2, 2: nav_heli_db2_grmn, 3: nav_heli_db2
NavDbType = 1
VoicePref = MALE
UseSimGpsCmds = true

[GTN_650_2.DEFAULT]
; show screen only gauge if true.
nobezel = false
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000
; display mouse tooltips if true.
tooltips = false
; enable mouse clickspots if true, disable if false.
usemouse = true
; enable alternate click-spots (left CCW, right CW, middle Push) if true.
usealtmouse = false
; enable touch beyond screen bounds if true (2D only), clip if false (GTN native).
extendtouch = true
; auto-resize dimension (width,height)
refsize = 
; left mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225) (requires SHIFT+left mouse button).
popleft = 
; right mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225).
popright = 
; adjust brightness (0 to 100)
brightness.bezel = 100
; offset brightness (-100 to +100)
brightness.screen = 0

[GTN_650_1]
; is the master device if true.
MasterDevice = false
; aviation db: 0: nav_db2_grm, 1: nav_db2, 2: nav_heli_db2_grmn, 3: nav_heli_db2
NavDbType = 1
VoicePref = MALE
UseSimGpsCmds = true

[GTN_650_1.DEFAULT]
; show screen only gauge if true.
nobezel = false
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000
; display mouse tooltips if true.
tooltips = false
; enable mouse clickspots if true, disable if false.
usemouse = true
; enable alternate click-spots (left CCW, right CW, middle Push) if true.
usealtmouse = false
; enable touch beyond screen bounds if true (2D only), clip if false (GTN native).
extendtouch = true
; auto-resize dimension (width,height)
refsize = 
; left mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225) (requires SHIFT+left mouse button).
popleft = 
; right mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225).
popright = 
; adjust brightness (0 to 100)
brightness.bezel = 100
; offset brightness (-100 to +100)
brightness.screen = 0

[GTN_750_1]
; is the master device if true.
MasterDevice = true
; aviation db: 0: nav_db2_grm, 1: nav_db2, 2: nav_heli_db2_grmn, 3: nav_heli_db2
NavDbType = 1
VoicePref = MALE
UseSimGpsCmds = true

[GTN_750_1.DEFAULT]
; show screen only gauge if true.
nobezel = false
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000
; display mouse tooltips if true.
tooltips = false
; enable mouse clickspots if true, disable if false.
usemouse = true
; enable alternate click-spots (left CCW, right CW, middle Push) if true.
usealtmouse = false
; enable touch beyond screen bounds if true (2D only), clip if false (GTN native).
extendtouch = true
; auto-resize dimension (width,height)
refsize = 
; left mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225) (requires SHIFT+left mouse button).
popleft = 
; right mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225).
popright = 
; adjust brightness (0 to 100)
brightness.bezel = 100
; offset brightness (-100 to +100)
brightness.screen = 0

 

Edited by ryanbatcund

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Posted (edited)

@ryanbatcund

I also have the Porter.

Have you tried popright = in the .ini file?

I added these to mine. Make sure to also add the idents under the [GTN_650_2.DEFAULT] & [GTN_750_1.DEFAULT] sections. And that the idents match those in the panel.cfg Window sections.

Right click in the GTN screens.

[GTN_750_1.NO_BEZEL]
popright = 14401

[GTN_650_2.NO_BEZEL]
popright = 14403

My panel.cfg - RXP GTN 650 as unit 2 and GTN 750 as unit 1 and the WX radar. A popup WX radar is also Included.
NOTE: I eliminated the popup window that was Window01=GPS that contained the default Milviz 430&530. Could having this cause a conflict?

Spoiler

[Window Titles]
Window00=Main Panel
Window01=Autopilot
Window02=Reality XP GTN 750
Window03=Reality XP GTN 650
Window04=WX Radar

[VIEWS]
VIEW_FORWARD_WINDOWS=MAIN_PANEL,GPS_PANEL
VIEW_FORWARD_DIR=10.000, 0.000, 0.000

//--------------------------------------------------------
[Window00]
Background_color=0,0,0 
size_mm=1024,768
position=1
visible=0
ident=10

//--------------------------------------------------------
[Window01]
BACKGROUND_COLOR=1,1,1
size_mm=170,84
window_size_ratio=1.000  
position=8
visible=0
ident=Autopilot
window_size= 0.255, 0.128
window_pos= 0.000, 0.000

gauge00=..\panel\KAP140_HSI!MV_KAP140_PopupDisplay,  0,0,170,84

//--------------------------------------------------------
[Window02]
Background_color=0,0,0 
size_mm=100,100
window_size_ratio=1.000  
position=7
visible=1
ident=14401
window_size= 0.256, 0.467
window_pos= 0.000, 0.323
zorder=99

gauge00=rxpGTN!GTN_750_1,  0,0,100,100

//--------------------------------------------------------
[Window03]
Background_color=0,0,0 
size_mm=100,100
window_size_ratio=1.000  
position=7
visible=1
ident=14403
window_size= 0.256, 0.210
window_pos= 0.000, 0.795
zorder=99

gauge00=rxpGTN!GTN_650_2,  0,0,100,100

//--------------------------------------------------------
[Window04]
ident = 71
visible = 0
sizeable = 1
size_mm = 419,381
position = 0
window_size=0.255208,0.345595
window_pos = 0,0
gauge00 = MV_WX!WX2D,0,0,419,381,1
gauge01 = MV_WX!WX,64,121,291,205,1

//--------------------------------------------------------
[Vcockpit01]
Background_color=0,0,0 
size_mm=256,256
visible=0
pixel_size=1024,1024
texture=$vpanel

gauge00=..\panel\PC6!PC6_Controllers,1,1,1,1
gauge01=..\panel\PC6!PC6_SysEvents,1,1,1,1
gauge02=..\panel\PorterSystems!PorterSystems,  0,0,1,1
gauge04=..\panel\amsinterop!amsinterop,1,1,1,1
gauge05=..\panel\MV3DSound!MV3DS,  0,0,1,1,SimObjects\\Airplanes\\MV_PC-6_Base\\PC6_XML_Sounds#80
gauge06=TrueGlass!Core,0,0,1,1
gauge07=RealLight!Core,0,0,1,1

//--------------------------------------------------------
[Vcockpit02]
Background_color=20,20,20
size_mm=1024,1024
visible=0
pixel_size=1024,1024
texture=$C310_VC_01
gauge00=..\panel\Milviz_GPS!FBS_GNS430_2,  0,451,640,262
gauge01=..\panel\KAP140_HSI!MV_KAP140Display,  0,852,640,163
gauge02=..\panel\KAP140_HSI!MV_KAP140Servos,  0,0,1,1
gauge03=..\panel\PC6_XMLGauges!KR 87 ADF,  0,715,640,134
gauge04=Console!console_GTN750_650_WX,  0,0,1,1
gauge07=..\panel\PC6_XMLGauges!n1_2,  822,105,200,81
gauge08=..\panel\PC6_XMLGauges!n1,  823,225,200,81
gauge09=..\panel\PC6_XMLGauges!egt1,  822,376,200,81
gauge10=..\panel\PC6_XMLGauges!np1,  822,860,200,81

//---------------------------------------------------------
[Vcockpit03]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_01
texture00=RL_1, 0,0,2048,2048

[Vcockpit04]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_02
texture00=RL_2, 0,0,2048,2048

[Vcockpit05]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_03
texture00=RL_3, 0,0,2048,2048

[Vcockpit06]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_04
texture00=RL_4, 0,0,2048,2048

[Vcockpit07]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_05
texture00=RL_5, 0,0,2048,2048

[Vcockpit08]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_06
texture00=RL_6, 0,0,2048,2048

[Vcockpit09]
Background_color=0,0,0
size_mm=2048,2048
visible=1
pixel_size=2048,2048
texture=$VC_07
texture00=RL_7, 0,0,2048,2048

[Vcockpit10]
Background_color=0,0,0
size_mm=4096,4096
visible=1
pixel_size=4096,4096
texture=$VC_08
texture00=RL_8, 0,0,4096,4096

[Vcockpit11]
Background_color=0,0,0
size_mm=4096,4096
visible=1
pixel_size=4096,4096
texture=$VC_09
texture00=RL_9, 0,0,4096,4096

[Vcockpit12]
background_color=0,0,0
size_mm=2048,2048
pixel_size=2048,2048
texture=$Int_TG_0
texture00=TG_0, 0,0,2048,2048

[Vcockpit13]
background_color=0,0,0
size_mm=2048,2048
pixel_size=2048,2048
texture=$Int_TG_1
texture00=TG_1, 0,0,2048,2048

//--------------------------------------------------------
[Vcockpit14]
Background_color=0,0,0 
size_mm=1024,1024
visible=1
pixel_size=1024,1024
texture=$Bell_407

gauge01=..\panel\PC6_XMLGauges!Chronometer,   270,410,630,630
gauge02=..\panel\PC6_XMLGauges!C310_DME, 10, 0,300,80

//--------------------------------------------------------
[Vcockpit15]
Background_color=0,0,0 
size_mm=1024,1024
visible=1
pixel_size=1024,1024
texture=$GTN750

gauge00=rxpGTN!GTN_750_1, 0, 0,677,794,NO_BEZEL

//--------------------------------------------------------
[Vcockpit16]
Background_color=0,0,0 
size_mm=1024,512
visible=1
pixel_size=1024,512
texture=$GTN650

gauge00=rxpGTN!GTN_650_2, 0, 0,677,297,NO_BEZEL

//--------------------------------------------------------
[Vcockpit17]
background_color=0,0,0
size_mm=512,512
visible=0
pixel_size=512,512
texture=$C310_VC_03

gauge00=..\panel\MV_WX!WX,  0,0,512,361


Day=255,255,255
Night=85,85,85
Luminous=140,140,140

[Default View]
X=0
Y=0
SIZE_X=8192
SIZE_Y=6143

81DhduD.jpg

 

Edited by BillS511

Share this post


Link to post
Share on other sites
11 hours ago, ryanbatcund said:

Anything look suspicious in my ini?  Also I'm not yet using P3D 4.5.....still on 4.4

 

Hi Ryan,

If the popleft and popright are empty or -1 (meaning IDENT_INVALID in the SDK), the GTN won't toggle any popup window.

This means that what you're experiencing is the aircraft itself most likely having a popup toggle clickspot in 3D which does this, and fails on itself.

It is easy to cross-check: with the popup window open, try to close the popup in clicking on its screen with the right mouse button, or with the left mouse button while depressing the SHIFT key...

Share this post


Link to post
Share on other sites
Posted (edited)
On 6/11/2019 at 8:39 AM, RXP said:

Hi Ryan,

If the popleft and popright are empty or -1 (meaning IDENT_INVALID in the SDK), the GTN won't toggle any popup window.

.

I set the popright = true and it's not working.  The mouse cursor changes when hovering over the GTN so there may be a hidden clickspot or model file in the way.

@BillS511 I also tried your way with the panel ident numbers and still no luck.  If I first use the provided clickspot to 2D popup the GTN650 - it just shows a GTN 650 bezel but no screen.  There must be some conflict somewhere.

Ok I just copied your panel cfg, Bill....which worked fine.  The right click on the gauge face still won't pop up the units but I can now click on the top of the VC bezel and they will both popup fine.

Edited by ryanbatcund

Share this post


Link to post
Share on other sites
29 minutes ago, ryanbatcund said:

I set the popright = true and it's not working.

of course if won't!

please re-read the inline comments:

left mouse button on the screen toggles popup window by ident (ex: GPS_PANEL or 225)

valid values are therefore:

  • a number corresponding to the [Window##] IDENT= value (like 15751)
  • a known name corresponding to the [Window##] IDENT value when it uses a known name instead of a number (like GPS_PANEL)
  • nothing (just leave the value after the = empty)

Please also make sure to read the FS SDK for more information about the panel.cfg and the IDENT (and more):

http://www.prepar3d.com/SDKv4/sdk/panels_and_user_interface/panels/panel_configuration_files.html

 

Share this post


Link to post
Share on other sites
Posted (edited)

Oh?  I thought this worked in XP11....it's different in P3D then?  No wonder I've been having popup issue LOL

Edited by ryanbatcund
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now