Jump to content
The simFlight Network Forums

Missing LVAR after 3066 Lvars loaded (since SU11)


Recommended Posts

Posted
  On 2/8/2023 at 9:56 AM, Clamb said:

Apparently the iniBuilds A310 uses more than 3066 LVARs.

Expand  

Ok, yes it does. I will update to allow more lvars by default in the next release, up to 4088. I will also look into adding a new WASM (and maybe WAPI) ini parameter so that the max number of lvats available can be set by the user, up to a hard-coded maximum of 9198 - but maybe not in the next release, I will see...

  On 2/8/2023 at 9:56 AM, Clamb said:

I also noticed that PMDG does not create all LVARs when the aircraft is loaded, but some are only created when they are not 0 anymore.
For example, all EGPWS Callout Lvars in the PMDG 737 only come into existence when the event is trigger. Like "egpws_baba" for the bank angle voice alert.
Of course, this is not a bug by your WASM module, but has to be taken into account when working with them.

Expand  

Yes, some lvars are created only once used for the first time. currently you have to issue a reload command when this happens, so that the lvar scan is done again. I have been thinking of doing this automatically in the WASM, so that new lvars are automatically pushed to clients (including FSUIPC) when they are detected. I will look into this as well.

John

Posted
  On 2/8/2023 at 9:56 AM, Clamb said:

Apparently the iniBuilds A310 uses more than 3066 LVARs.

Expand  

Yes - it has 4684 lvars on first load - maybe more are created later...

I have updated now to handle up to 9198 lvars. I don't think there is a need for an ini parameter to specify the number of lvars used.
I will release this as a beta in a few days (next week sometime) - I will post here again when available.

John

Posted
  On 2/8/2023 at 3:21 PM, John Dowson said:

I have updated now to handle up to 9198 lvars. I don't think there is a need for an ini parameter to specify the number of lvars used.

Expand  

Excellent, thanks. That should hopefully be enough.

  On 2/8/2023 at 12:13 PM, John Dowson said:

Yes, some lvars are created only once used for the first time. currently you have to issue a reload command when this happens, so that the lvar scan is done again. I have been thinking of doing this automatically in the WASM, so that new lvars are automatically pushed to clients (including FSUIPC) when they are detected. I will look into this as well.

Expand  

I have worked around this by creating the LVARs I want to monitor, but don't exist yet, myself. Works just fine.

 

Posted
  On 2/8/2023 at 3:21 PM, John Dowson said:

I have updated now to handle up to 9198 lvars. I don't think there is a need for an ini parameter to specify the number of lvars used.
I will release this as a beta in a few days (next week sometime) - I will post here again when available.

John

Expand  

Excellent news. Thank you very much for that.

  • 2 weeks later...
Posted
  On 2/25/2023 at 3:23 PM, Fragtality said:

Maybe that enables another way of accessing L-Vars in the future? 

Expand  

Yes, I have also seen this. I need to think about whether to use this or not....

Btw, I have just released FSUIPC7 v7.3.17 (as well as WASM/WAPI v1.0.0), which has support for > 10,000 lvars, as well as automatic scanning for new lvars (i.e. no need to issue a WASM reload command anymore).

John

  • Thanks 1
  • 2 weeks later...

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.