Replies: 1 comment 3 replies
-
Hi, I think the negative If you do want to use Is there any particular reason you want to use RPN to subscribe to this value? It is more efficient to request the 'A' variable type directly. I maybe don't quite understand what you mean by
Do I understand that your Cheers, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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}", "!!");
Beta Was this translation helpful? Give feedback.
All reactions