• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Pulling one over on Schema! >:)

Messages
10,163
Country
us-arizona
So, suddenly a gauge on my PFD screen stops working right. It doesnt disappear when the prop starts rotating.

So, I start doing this and that and this and that, checking things, re-writing things, and then, I tried something so totally wrong, and it worked, lololol...


<Visible> 0 0 (A:PROP MAX RPM PERCENT:1,percent) rng</Visible>

This is prop max RPM percent, with 'Range' selected, and ranges between zero and zero.

:D

love it...!
 
I think that makes sense, if the Prop RPM % is in the range 0 - 0 then it'll be visible, the only time this will be true is when the Prop RPM % is 0.
 
Hey SkippyBing,

Oddly though, making it just 'percent' and 0 did nothing, making it visible at zero through 100%. Yet, making it 'range' and setting it zero through zero percent (the same number figure, or amount), caused it to appear only at 0%.

It should have worked on 0% or 0 &lt;

So long as it is now working, I am happy. :D
 
That is a bit odd, although 0 &lt; would mean it would have to be less than 0 to be invisible you'd want 0 &lt;= to be equal to or less than 0.
I hacked up a little XML gauge to display the variables I'm using in my code as often it's not that the code syntax is wrong but that the variables aren't behaving how you'd expect.
 
You could also use the "BlackBox" test gauge building utility that's been around for several years* to display default and custom variables:

BlackBox Utility

It is a Java v6 application that will parse an XML file, then build a "new display guage" which will then show all the variables real-time variable contents, plus a whole lot more.

* See also the thread here:
http://www.aerodynamika.com/cgi-bin/yabb2/YaBB.pl?num=1191243356

After creating the "new diagnostic gauge," you simply call for it in your panel.cfg file something like this:

gaugenn=BlackBox!BlackBox, 10, 10, 500, 1000

It's pretty slick!

As an alternative, you can simply build an .ini file and then load it directly into the program to build a "custom diagnostic display..."

Code:
BlackBox Settings v1
C:\Documents and Settings\Bill\My Documents\Flight Simulator 9\Aircraft\Eaglesoft Twin Comanche\panel\BlackBox\BlackBox.xml
C:\Documents and Settings\Bill\My Documents\Flight Simulator 9\Aircraft\Eaglesoft Twin Comanche_BACKUP\panel\ESTC_XMLGauges\SL30_2.xml
(A:Circuit general panel on,bool)
(A:CIRCUIT AVIONICS ON,bool)
(A:NAV SOUND:2,BOOL)
(A:COM ACTIVE FREQUENCY:2,Megahertz)
(A:COM STANDBY FREQUENCY:2,Megahertz)
(A:NAV ACTIVE FREQUENCY:2,Megahertz)
(A:NAV STANDBY FREQUENCY:2,Megahertz)
(A:NAV TOFROM:2,ENUM)
(A:nav ident:2,string)
(A:NAV RADIAL ERROR:2,degrees)
(A:NAV RADIAL:2,degrees)
(A:NAV OBS:2,degrees)
(A:NAV HAS NAV:2,bool)
(A:NAV HAS LOCALIZER:2,bool)
(A:NAV CDI:2,number)
(A:NAV2 DME,nmiles)
(A:NAV2 DMESPEED,knots)
(A:AVIONICS MASTER SWITCH,bool)
(L:PanelLight,enum)
(L:SL30_2_ai_mode,enum)
(L:SL30_2_DSTData,bool)
(L:SL30_2_sys_mode,enum)
(L:SL30_2_ai_mode_set,enum)
(L:SL30_2_sysOBS_set,bool)
(L:SL30_2_pwr,bool)
(L:SL30_2_post,bool)
(L:SL30_2_status,bool)
(L:SL30_2_sel_mode,enum)
(L:SL30_2_freq_mode,bool)
(L:SL30_2_sysOBS,bool)
(L:SL30_2_temp_mode,enum)
(L:SL30_2_tf_mode,bool)
(L:SL30_2_post_time,seconds)
(L:sl30_nopost,bool)
(L:SL30_2_sub_mode,bool)
(L:SL30_2_tx,bool)
(L:SL30_2_sel_mode,bool)
(L:switch4,bool)
(P:ABSOLUTE TIME,seconds)
 
Last edited:
Sometimes though it's a case of TMI (too much information) at once, in which case I can use BB to generate all of the <Element> sections for the variables, then copy/paste the handful I'm currently interested in to a "new test gauge" of my own devising.

At the very least, it saves me the trouble of parsing the entire set of gauges manually and writing my own display scripts! :D
 
You could also use the "BlackBox" test gauge building utility that's been around for several years* to display default and custom variables:
Thanks, Bill.

Please try this link for BlackBox

http://www.robbiemcelrath.com/blackbox/

It has the current version of the application, BlackBox2, plus associated files such as the Help file, Settings file, and FS system variable file.

In BB2, the user has the ability to choose L, A, E, or P variables from multiple xml gauges in the panel. Variable selection/de-selection using check boxes addresses the TMI issue.

And stay tuned for release of BlackBox3 which incorporates file write (and read) capability to/from xml to .txt or .csv files.

Bob
 
Last edited:
Back
Top