Forum Navigation
Please or Register to create posts and topics.

Offset Usage -

Am starting to program in Lua. Would like to know the usage of release.

Most Offsets 1=Pressed, 0=Released

With a momentary switch, is the pressed set and then released?

Or, with another pressed, release all bits in the byte?

Some of my buttons don't detect a release, just the push.

Searched the documentation for pushed, release and offset. There is no discussion. Please elaborate.

May I make a suggestion? Could you put an explanation in FSUIPC OFFSET USAGE?

Dave,

In all cases press=1. You need to set the corresponding bit number per the offset listing. The software will clear it, you only need to set it when the switch or button is pressed.

Jason Hite FlightDeckSoft

Happy New Year everyone. Hope everyone is well.

Have a question about DU and Reversion setup.

If I use the same DU (MFD) for two MFDs (each in their own folder), one would be set as MFD and the other as ECIAS? I assume to switch between the two, one would set the Reversion switch (offset 73FB) to 0 to view MDF and 1 to view EICAS. And one must use the Reversion switch to determine which offsets to use for each (0 = MFD1 switches/rotary, 1 = MFD2 switches rotary).

Thanks for your input.

Dave,

You don't need 2 instances of the software running to do reversion.  As long as you have the button and offset setup correctly, 1 instance of the MFD will revert between the ND and EICAS displays on a button press.  Here's a short clip showing it in action.  Note this is with V2 beta software and may work better than V1.5 using FSUIPC offsets. This is one reason I moved away from using offsets in V2.

https://youtu.be/s1tCx9sI6P0

Jason Hite FlightDeckSoft

Thanks Jason,

Must be offset 73FB. A 1 with every push to change.