These are the Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE

LvarOffsets on ini ...
 
Notifications
Clear all

[Solved] LvarOffsets on ini files

Posts: 4
Registered
Topic starter
(@max-liea)
Joined: 3 months ago

I inserted the following line into the ini file :

[LvarOffsets.maxA320]
1=L:S_OH_ELEC_BAT1=UB0xA000

the lvars is from the fenix a320 present in events, but if I write 1 inside A000 I don't get the set to 1 of the lvar Any idea?

Bye M Sarotto

 


5 Replies
Posts: 269
Admin
(@fsuipc)
Joined: 9 months ago

First check that the lvar is writeable: use the Add-ons->WASM->Set Lvar... to check this. If you can set the lvar using that, then please show me / attach your FSUIPC7.ini and FSUIPC7.log file showing yourissue. Set logging for Log->WAPI->Debug and add offset logging (Log->Offsets...) for A000, reproduce your issue and then exit FSUIPC7 before attaching files.

How are you updating the offset? Maybe also check that is working - if doing this on a button or key press, also set logging for Buttons & Keys.


Reply
Posts: 269
Admin
(@fsuipc)
Joined: 9 months ago

Presume this is for the Fenix A320, in which case that lvar is settable, so I need to see your files to determine why this is not working.


Reply
Posts: 4
Registered
Topic starter
(@max-liea)
Joined: 3 months ago

"First check that the lvar is writeable: use the Add-ons->WASM->Set Lvar," yes is writeable, in the fsupic log you can see that A000 goes from zero to 1 (Monitor) via SIOC program, but then the transition from the offset to the Lvar does not work

 


Reply
Posts: 269
Admin
(@fsuipc)
Joined: 9 months ago

First, please only set the requested logging - you also have Event logging set (as well as Extras), which is not needed for this issue and makes the information I need to see difficult to find. Please only ever set the requested logging for support issues.

But your problem is that you are not using profiles, but you are trying to add the lvar to an offset in a profile LvarOffsets section when the profile doesn't exist. Change

[LvarOffsets.maxA320]
1=L:S_OH_ELEC_BAT1=UB0xA000

to

[LvarOffsets]
1=L:S_OH_ELEC_BAT1=UB0xA000

But it is much better to create a profile for your Fenix, called 'maxA320' to match what you already have. If you do not understand profiles, please read the documentation. But as you don't seem to have any assignments in FSUIPC, you can solve this by adding the following to your FSUIPC7.ini file:

[Profile.maxA320]
1=FenixA320

John


Reply
Page 1 / 2