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

Can one have 'Elements' sleep?

Messages
10,158
Country
us-arizona
Hey guys,

A quick question.

I am making a MFD with 3 pop-up engine windows/screens. Each will have repiticious readouts and analog gauges. My thoughts are that this thing will be eating up some memory 'if' these various Elements are running in the background.

So.. My first question is, are the gauges 'all' running via taxing the system, even when not being shown? or are these not running when not shown. For instance, if the engine EICAS windows are closed down, but the MFD is running, are the EICAS gauges still taxing the system?

If so..... Can one write an XML that will shut them down when the pop-up is not up? Another words, have the EICAS system 'sleep' until in their pop-up mode and visible.


I am worried this could become a frame rates frankenstein.... (Its running quiet efficiently right now, but its not fitted with the EIAC's yet).

Thanks and cheers.


Bill
 
If they aren't visible; they aren't running. It's the drawing on-screen that's the framerate killer...;)
 
Cool! Thanks for the info.

I knew that the GPS was not running when it wasnt visible, but wasnt sure about a gauge that had a ton of gauges in it, how that would work.


Bill
 
Cool! Thanks for the info.

I knew that the GPS was not running when it wasnt visible, but wasnt sure about a gauge that had a ton of gauges in it, how that would work.


Bill

Actually once a panel window is displayed -main or auxiliary-. their gauges' code is always "running" (processed), no matter the window is visible or not.

Now, there are different situations and different parts of a gauge are also processed in a different way depending on whether the gauge is "visible" or not.

Anyway, and to make things easier, the straight point is, as Bill (n4gix) stated, no image element (bitmap,customdraw) is drawn on panel if it is <Hidden> or not <Visible>. And indeed this saves a lot of fps in most complex cases.

Tom
 
Back
Top