DragonflightDesign
Resource contributor
- Messages
- 1,096
- Country
As a follow-on from my previous question, can anyone confirm if the above is another non-working variable?
I'm getting an exception 7 followed by an exception 3, which is what I'd expect if the variable is defective.
Code:
' Create the definition
p3d_simconnect.AddToDataDefinition(P3Data.DefinePayloadStations, "PAYLOAD STATION NAME:1", "string", SIMCONNECT_DATATYPE.FLOAT64, 0, 600)
' Request the payload station name
p3d_simconnect.RequestDataOnSimObject(P3Data.RequestPayloadStations, P3Data.DefinePayloadStations, SIMCONNECT_SIMOBJECT_TYPE.USER, SIMCONNECT_PERIOD.SECOND, SIMCONNECT_DATA_REQUEST_FLAG.DEFAULT, 0, 0, 0)