• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

I need you help

Messages
15
Country
china
I 'm attemp to use SimConnect_SetDataOnSimObject function to send 8 varibles(such as altitude,latitude,longitude,pitch,bank,heading,vertial speed,airspeed) togrther to fsx pre-frame?

I have seen SDK manual at SimConnect_SetDataOnSimObject.

I am confused here the The last three parameters of SimConnect_SetDataOnSimObject function :

ArrayCount
[in] Specifies the number of elements in the data array. A count of zero is interpreted as one element. Ensure that the data array has been initialized completely before transmitting it to Flight Simulator. Failure to properly initialize all array elements may result in unexpected behavior.
cbUnitSize
[in] Specifies the size of each element in the data array in bytes.

pDataSet
[in] Pointer to the data that is to be written. If the data is not in tagged format, this should point to the block of data. If the data is in tagged format this should point to the first tag name (datumID), which is always four bytes long, which should be followed by the data itself. Any number of tag name/value pairs can be specified this way, the server will use the cbUnitSize parameter to determine how much data has been sent.


So
How to achieve this function for prevent aircraft flashing when these varible being sent pre-frame?

thanks a lot

Sandwind
 
the Problems remain here

So I record data in my dat file,When I replay my record from dat file,the aircraft have a very formidable jitter in fsx.

I want know how to record the data in per-frame.Somebody give me some tips.thank a lot for you

Sandwind
 
Last edited:
Back
Top