steve73
-
Posts
3 -
Joined
-
Last visited
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.
FSUIPC_Process takes a while to return????
in FSUIPC Support Pete Dowson Modules
Posted
I am using both FSUIPC and wide FS.
I am reading the lat lon and height of MSFS airplane and displaying/updating it on another PC/monitor.
FSUIPC_Read(0x5B0, 36, buf, &dwResult)
........
FSUIPC_Process(&dwResult)
The FSUIPC_Process seems to take up most of the time see below log file
it takes only less than 10ms to return. But sometimes it talkes more than 30 40 ms to return a value. Why is this so? I need to refresh the display every 20 or 30ms with the position so there is no jerkiness/pause in the display.Is it possible to read the values every 20 or 30 ms update?
Time reading FSUIPC = 0.01 ms
Time processing FSUIPC = 9.15 ms
Time reading FSUIPC = 0.00 ms
Time processing FSUIPC = 0.39 ms
Time reading FSUIPC = 0.00 ms
Time processing FSUIPC = 0.46 ms
Time reading FSUIPC = 0.01 ms
Time processing FSUIPC = 0.23 ms
Time reading FSUIPC = 0.00 ms
Time processing FSUIPC = 52.92 ms <----------------------takes a while
Time reading FSUIPC = 0.00 ms
Time processing FSUIPC = 157.71 ms <----------------------takes a while
Time reading FSUIPC = 0.00 ms
Time processing FSUIPC = 0.30 ms
Time reading FSUIPC = 0.00 ms
Time processing FSUIPC = 0.39 ms