Hello,
I'm starting out with programming using Simconnect and VB.net.
What I started doing is working.
But when I write this line of code:
I don't know why "knots" is of type "Float64".
Regarding the Simvar "GROUND VELOCITY", the SDK documentation only indicates the description and the unit.
How do you know which VB data type corresponds to which Simconnect Unit?
I'm starting out with programming using Simconnect and VB.net.
What I started doing is working.
But when I write this line of code:
Code:
Structure Struct1
Public Speed As Double
End Structure
MSFSobj.SimObjet.AddToDataDefinition(StructDefinitions.Struct1, "Ground Velocity", "knots", Microsoft.FlightSimulator.SimConnect.SIMCONNECT_DATATYPE.FLOAT64, 0, 0)
I don't know why "knots" is of type "Float64".
Regarding the Simvar "GROUND VELOCITY", the SDK documentation only indicates the description and the unit.
How do you know which VB data type corresponds to which Simconnect Unit?



