Matthew Twomey Posted November 17, 2020 Report Posted November 17, 2020 Is it currently possible to get Airspeed Hold status from 0x07DC in MSFS? I'm trying to read this to detect the status of FLC autopilot mode, however it just always reads zero when testing?
John Dowson Posted November 17, 2020 Report Posted November 17, 2020 Which aircraft/autopilot are you using? You really need to specify the aircraft for all queries on offsets or controls.
Matthew Twomey Posted November 17, 2020 Author Report Posted November 17, 2020 I've been working with the c208 / g1000 on this project.
John Dowson Posted November 17, 2020 Report Posted November 17, 2020 Ok. 12 hours ago, Matthew Twomey said: however it just always reads zero when testing? So it reads 0 when A/S hold is active? how about 07E2, is that correctly populated with the speed set? How about the other A/P Hold/lock variables/offsets? There are various known issues with the G1000, with various key events having no affect and simvars not being populated correctly. I'll take a look at this in more detail, but I suspect that it is another G1000/SDK issue.
John Dowson Posted November 17, 2020 Report Posted November 17, 2020 Btw, have you tried writing to this offset? If so, does that change the A/S hold state?
John Dowson Posted November 17, 2020 Report Posted November 17, 2020 You could try offset 0x0B49 instead - Autopilot Flight Level Change. See the following previous posts which may be relevant:
Matthew Twomey Posted November 18, 2020 Author Report Posted November 18, 2020 Thanks John. I read those those threads and did some more testing tonight. A 1 byte read to 0x0B49 is exactly what I needed!! Thanks - this reads 1 when FLC mode is engaged on the G1k/C208 (just pointing that out for anyone else that comes along). By the way, is there a "live" document somewhere out there of offsets / controls for FSUIPC 7? I realize as the SDK gets refined on the MSFS side, these might be getting updates, changes, additions as we go along.
John Dowson Posted November 18, 2020 Report Posted November 18, 2020 4 hours ago, Matthew Twomey said: By the way, is there a "live" document somewhere out there of offsets / controls for FSUIPC 7? I realize as the SDK gets refined on the MSFS side, these might be getting updates, changes, additions as we go along. There's the offset status spreadsheet, included in the downloadable zip file. Currently at version 11. The controls list is generated at runtime and will be in your FSUIPC7 Documents folder. However, this is just a list and many are not currently working, and some work in some aircraft but not in others.
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