- Messages
- 3
- Country

Hi Guys
I am trying to use the simconnect function 'RequestDataOnSimObject' to retrieve data on the following 2 variables:
PLANE_HEADING_DEGREES_TRUE
GPS_WP_TRACK_ANGLE_ERROR
Both variables return data as expected when the PERIOD member for the request data function is set to PERIOD_SECOND, however, I want the data rate to be much faster.
I changed the period to PERIOD_VISUAL_FRAME which worked OK for the plane heading variable, but the GPS variable still only refreshes at the rate of 1 second. The code is the same for handling both variables, so I am wondering if there is a limitation on calling GPS_WP_TRACK_ANGLE_ERROR?
Here is the function call code that I am using:
hr = SimConnect_RequestDataOnSimObject(hSimConnect, REQUEST_PDR, DEFINITION_PDR, SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_PERIOD_VISUAL_FRAME, SIMCONNECT_DATA_REQUEST_FLAG_CHANGED | SIMCONNECT_DATA_REQUEST_FLAG_TAGGED);
I then just print the data to a command window.
Thanks
John.
I am trying to use the simconnect function 'RequestDataOnSimObject' to retrieve data on the following 2 variables:
PLANE_HEADING_DEGREES_TRUE
GPS_WP_TRACK_ANGLE_ERROR
Both variables return data as expected when the PERIOD member for the request data function is set to PERIOD_SECOND, however, I want the data rate to be much faster.
I changed the period to PERIOD_VISUAL_FRAME which worked OK for the plane heading variable, but the GPS variable still only refreshes at the rate of 1 second. The code is the same for handling both variables, so I am wondering if there is a limitation on calling GPS_WP_TRACK_ANGLE_ERROR?
Here is the function call code that I am using:
hr = SimConnect_RequestDataOnSimObject(hSimConnect, REQUEST_PDR, DEFINITION_PDR, SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_PERIOD_VISUAL_FRAME, SIMCONNECT_DATA_REQUEST_FLAG_CHANGED | SIMCONNECT_DATA_REQUEST_FLAG_TAGGED);
I then just print the data to a command window.
Thanks
John.
