Sign in to follow this  
phjvh

Arne Bartels' Sendvieuw Gauge

Recommended Posts

Hi,I saw this gauge in a recently downloaded panel (Airbus Simon Topmann)What does this gauge and how to use it?Jan"Beatus Ille Procul Negotiis"

Share this post


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

Jan,This gauge indicates the status of the panel window it is loaded in. You specify the name of an L:Var on the panel.cfg line. The gauge set the L:Var to 1 when the window is opened and 0 when it is closed. In the example from Simon's A300 panel:gauge37=SendView!SendView, 0,0,1,1,window00the L:Var is (L:window00, bool)Doug

Share this post


Link to post
Share on other sites

Doug,Thanks for your answer.It clarifies the puzzle a little bit.I thought the same could be achieved with some XML Panel Id Open/Close with a custom L:Var(?)Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

The approach you suggest would work as long as the Panel ID Open/Close was triggered from an XML gauge. It won't work if the user uses the FS menu system to open or close the window. Arne's gauge will work regardless of how the event is triggered.Doug

Share this post


Link to post
Share on other sites

Doug,I noticed with your EVENT_LOGGER, using this gauge and Topman's gauge code for the windows, the sim is constantly firing "PANEL_ID CLOSE or_OPEN".So I stick to my own solution,using the Open and Close events only in the .Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Hi Jan,If you only use your (XML-) triggered clicks to open / close windows you perhaps might want to hide them in the menu using this settings in the panel.cfg:visible=1 (or 0 if you want)nomenu=1I created my own icon-gauges for each window, that also change the value of a L:Variable, reflecting the status of the corresponding window.This is how I ensure not to mess up things...Arne's gauge of course is a bit more convenient to use, but as far as I remember it is limited to 5 or 6 windows.Herbert Pralle

Share this post


Link to post
Share on other sites

Hi,Thanks all for the remarks.An observation:When i use a window over window00 to show another lighting, storm/flood, i notice a considerable FPS drop even when i take care that all gauges are loaded single (copies).Something to do about that?Jan"Beatus Ille Procul Negotiis"

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
Sign in to follow this