- Messages
- 28
- Country

I have a C++ client connecting to SimConnect and have inconsistent result on getting data returned.
When I try to get the light data returned, I never got data sent for "LIGHT TAXI ON", which should return the state of the taxi light, but did get data for "LIGHT TAXI", which is the taxi lights switch. This holds for all light types. I also tried to get the "GENERAL ENG COMBUSTION:1" variable, but that didn't do anything either. Same for "GENERAL ENG THROTTLE LEVER POSITION:1" and "RUDDER PEDAL POSITION". (and all other levers and yokes)
Anyone has a hint on what to do here?
PS
Tried both:
Bert Laverman
When I try to get the light data returned, I never got data sent for "LIGHT TAXI ON", which should return the state of the taxi light, but did get data for "LIGHT TAXI", which is the taxi lights switch. This holds for all light types. I also tried to get the "GENERAL ENG COMBUSTION:1" variable, but that didn't do anything either. Same for "GENERAL ENG THROTTLE LEVER POSITION:1" and "RUDDER PEDAL POSITION". (and all other levers and yokes)
Anyone has a hint on what to do here?
PS
Tried both:
HRESULT hr = SimConnect_RequestDataOnSimObject(fsxHdl, reqId, defId, SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_PERIOD_ONCE);
andHRESULT hr = SimConnect_RequestDataOnSimObject(fsxHdl, reqId, defId, SIMCONNECT_OBJECT_ID_USER, SIMCONNECT_PERIOD_VISUAL_FRAME, SIMCONNECT_DATA_REQUEST_FLAG_CHANGED);
the excact same code for the lights and location data which does come through.Bert Laverman
