Jump to content
The simFlight Network Forums

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


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 post
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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • 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.