Hi,
Recently I ran into an issue with FSX.
I use XML variables for many of my internal variables so they can communicate with the VC and external model.
I have about 100 of them and they all worked fine until recently when I started working directly with SimConnect for some other stuff, now some (not all) variables will not update or update only after several tries!
I use:
To "create" the variable, read the current value and set a new value.
Is there a limit on the number of XML var's FSX can handle ? or nayone have other ideas what may be going on here ?
Björn
Recently I ran into an issue with FSX.
I use XML variables for many of my internal variables so they can communicate with the VC and external model.
I have about 100 of them and they all worked fine until recently when I started working directly with SimConnect for some other stuff, now some (not all) variables will not update or update only after several tries!
I use:
Code:
register_named_variable("MyVariable");
double ret = get_named_variable_value(check_named_variable("MyVariable"));
set_named_variable_value(check_named_variable("MyVariable"), 1.0);
To "create" the variable, read the current value and set a new value.
Is there a limit on the number of XML var's FSX can handle ? or nayone have other ideas what may be going on here ?
Björn

