Jump to content
The simFlight Network Forums

Is it possible to switch on or off seatbelt signs using FSUIPC?


sniperfull

Recommended Posts

The seatbelt offset is 0x341D. Only available on FSUIPC4 & FSUIPC5. You can read and write to this offset.

Dim seatbelts As Offset(Of Byte) = New Offset(Of Byte)("Seatbelts", &H341D)

This will work with default aircraft but may not work with some 3rd party aircraft because they sometimes implement their own systems.

Paul

Link to comment
Share on other sites

All the offsets are documented in "FSUIPC4 Offset Status.pdf". This can be found in the "FSUIPC Documents" folder under the Modules folder.

FSinterrogate isn't kept up-to-date so always use this document to find offsets. It also has useful information and comments about each offset which is missing from FSInterrogate.

 

Quote

is it like 0 = off 1= on ?

Yes, 0 and 1. (Check the PDF)

Paul

Link to comment
Share on other sites

It depends on the aircraft. Each will be different. Most are likely to hook into the FS control and act the same as the default aircraft, so those will work fine.

However, if they don't then you need to research that particular aircraft and see what external access they provide, if any.

Sometimes the manufacturer will provide 'custom controls' (aka Events) that can be sent to FS (e.g. PMDG's 737). Other times manufacturers will provide key presses to operate certain systems. Some use Local Panel Variables (aka L:VARs). Some provide no external access at all.

All of these techniques can be accessed via FSUIPC, but the specifics (e.g. which control number, key and L:VAR) are different for each aircraft.

You'll need to look at the documentation for the aircraft, research the forums if they have any or ask the developers directly.

Paul

Link to comment
Share on other sites

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.