-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi Sir,
Thank you for the DLLs you made so that we can track different variables beyond what SimConnect allows.
However, I encountered an issue where I cannot listen to (A:PLANE LATITUDE, degrees) using saveDataRequest. It always returns 0 when I try to convert the data, but the value is correct when I use 'client.getVariable(new VariableRequest("PLANE LATITUDE", "degrees", 0), out double fResult)' to retrieve the latitude.
Could you please help me? The code is as follows and thank you for your support:
var hr = client.saveDataRequest( new DataRequest( requestId: (uint)Requests.Latitude, resultType: CalcResultType.Double, calculatorCode: $"(A:PLANE LATITUDE,degrees)", valueSize: 64, period: UpdatePeriod.Tick, interval: 0, deltaEpsilon: -1.0f ) ); if (hr != HR.OK) Log($"returned error result {hr}", "!!");