• 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.

A gauge that reads user input requested variable?

Messages
201
Hello!
From what you know, does exist a gauge in which you can enter with keyboard for example "E:ZULU TIME" and it returns its value? To read any requested variable?

Thanks!!
 
BlackBox 3
Sorry for asking before searching deeper.

EDIT: Acutally, it is not good for my purpose.
I would like ALL the variables listed, and look for specific ones
 
Last edited:
So, I keep thinking I'm going to build something like that - a general purpose debugging/testing gauge that would provide lots of information.
Are you looking for the ability to literally look up any variable, with the choice made at run time, or would something suffice that used a config file to allow you to choose 20 or 30 variables to follow?
 
I actually have a gauge that uses a config file to select variables and then rescan that list in the sim....I just haven't gotten to uploading it yet. It can only debug A vars and L vars though. Not E or P or C vars.
 
So, I keep thinking I'm going to build something like that - a general purpose debugging/testing gauge that would provide lots of information.
Are you looking for the ability to literally look up any variable, with the choice made at run time, or would something suffice that used a config file to allow you to choose 20 or 30 variables to follow?
Hi,
well actually both will make it :)
I was trying to do make my own in a simple way, a scaleform flash gauge (only P3D 3 and higher) in which you have an input text field, you write any variable name like "E:ZULU TIME" and in the box it appears the value... It works, but the problem is that when you click the input textfield to write, nothing happens you cant write in it, scaleform gauges dont allow to use keyboard to write text :( (standard xml gauges do, like an FMC for example)
 
From what you know, does exist a gauge in which you can enter with keyboard for example "E:ZULU TIME" and it returns its value? To read any requested variable?

I haven't seen any gauge like that. You could build one, that would be great :)
You need to include all Avars listed in SKD and then do a simple string compare. Long code, but not quite difficult I guess, either in XML or C

Tom
 
The debug gauge provided as an example for LOCALVARS class included in XMLTools can do this.

Just write any A:, E:, P:, C:, etc. variable to a custom L: var in a gauge's update section.

Code:
(E:ZULU TIME,seconds) (>L:000 Zulu Time, number)

Reload the panel, open the debug window, sort the list by name and done.
 
BlackBox 3
Sorry for asking before searching deeper.

EDIT: Acutally, it is not good for my purpose.
I would like ALL the variables listed, and look for specific ones
Then please read the Blackbox instructions again. It has all A:, E:, and P:Vars listed in Simulation Variables.xml file ... 1196 of them. Just click the ones you want to read. It also reads your L:Vars, too, from any XML gauge, or gauges, in your panel.

Bob

upload_2017-12-26_16-41-19.png
upload_2017-12-26_16-48-19.png
 
Last edited:
Back
Top