Hello,
This isn't a huge issue, I have it working well for my purposes and won't be a factor, but it is something I found strange.
I've been building a home cockpit and when I got to working on the FCU display for the Aerosoft A318-A321 series of planes I ran into this.
When monitoring the Offset for Heading Value which is 0x07CC I run into this issue. The FSUIPC monitor shows as I'm reducing the HDG setting when I hit 273deg it outputs the number 182, when I then continue and turn it to 272, it returns to output 272. When I then increase the value by one you see 273, but when I then turn to 274 it outputs a value of 364, and when I continue on the next value is 275.
The strange thing is the simulator is the simulator shows the correct values, and when I monitor the Lvars that are affected by the change they are also showing the correct information. Below I made a quick video of it happening, unfortunately when I filmed it I had the FSUIPC monitor covered up, but it also shows what the mobiflight program is showing, for the FSUIPC value. As I said before, since it's only the one heading and the sim seems to not see a problem I can work with it, just found it interesting. Also in the video apparently I scrolled to the wrong part of my Lua script before I hit record, sorry but the video is not showing the correct stuff, it is below.
https://www.youtube.com/watch?v=bB_gmUtw_nE
-- Reads autopilot heading setting
function AP_HDG_Setting()
Heading_Set=ipc.readLvar("L:AB_AP_HDG_Select")
ipc.writeUW(0x07CC, Heading_Set)
end
-- check to see if Lvars have changed then call up the proper function
event.Lvar("L:AB_AP_HDG_Select",100,"AP_HDG_Setting")
******** FSUIPC4, Version 4.974 (24th February 2018) by Pete Dowson *********
Windows 10 Enterprise 64 Bit reported as Build 18363, Release ID: 1909 (OS 10.0)
fsx.exe version = 10.0.62615.0
Reading options from "D:\Install games in here\Steam\steamapps\common\FSX\Modules\FSUIPC4.ini"
Running inside FSX Steam Edition on Windows 10
Module base=5EE10000
User Name="-------------"
User Addr="-------sm@hotmail.com"
FSUIPC4 Key is provided
4344 D:\Install games in here\Steam\steamapps\common\FSX\SimObjects\Airplanes\Aerosoft Airbus A319 CFM\A319.air
9687 Weather Mode now = Theme
17172 User Aircraft ID 1 supplied, now being used
17187 Aircraft loaded: running normally now ...
24453 System time = 07/06/2020 18:49:05, Simulator time = 18:48:50 (22:48Z)
24469 Aircraft="Airbus A319 American Airlines N8001N"