William Oliveira do Ó Posted Friday at 08:42 PM Report Posted Friday at 08:42 PM Hello, I have a crew announcement program. My program reads the seatbelt command to execute one of the announcements. This command works on Fenix, PMDG, FBW and other aircraft, but it does not work on the Inibuilds A350. I am using the latest version of FSIUPC7 7.5.2. line of code program developed in C# .NetFramework 4.7.2 private Offset<byte> fastenBeltsSelector = new Offset<byte>(0x341D); Does anyone have any idea how I can solve this?
John Dowson Posted Friday at 11:32 PM Report Posted Friday at 11:32 PM First, try logging the offset to see if it is actually being used. The aircraft model is probably not using the CABIN SEATBELTS ALERT SWITCH simvar which is what that offset holds. Check to see if there is anything else available - usually an lvar or input event. If so, you can use that, and also add it to a spare/free offset if required. You can even spoof the reading of offset 0x341D to the new offset if needed.
William Oliveira do Ó Posted 19 hours ago Author Report Posted 19 hours ago Hi @John Dowson, thanks for the help, I used the LVAR command and it worked. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now