• 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.

Recent content by Norbyx

  1. N

    MSFS Simvars quantity

    I have put all the SimVar names in a separate class, so the main code does'nt look too full. Although you can also put the SimVar names in the main part of your code... Class called "SimVarNames". Within that class I created some read only string arrays with the variable names. I have them in...
  2. N

    MSFS Simvars quantity

    I now know what I did wrong I didn't know you had to put [MarshalAs(UnmanagedType.ByValTStr, SizeConst = XXX)] before EACH and EVERY string variable. I thought putting this at the beginning of the struct would be sufficient... It wasnt xD
  3. N

    MSFS Simvars quantity

    I've been trying to get some strings from MSFS and put them on a separate struct. If I try to get only one string it kind of works but I don't get any text (string is empty). As soon as I try to get more strings i get a System.AccessViolationException. I don't know what else I can do to make it...
  4. N

    MSFS Simvars quantity

    Well I don't know if this hellps, but I found a workaround: For all numeric datatypes (e.g. bool, int, float, etc...) use "SIMCONNECT_DATATYPE.FLOAT64" and declare the vars as "public double " But I haven't figured out how to declate a second struct...
  5. N

    MSFS Simvars quantity

    I've been trying to programm a windows form project, for myself, much line Link2FS. I managed to read around 26 varables from MSFS2020 but as soon as I try to read more those extra variables dont change at all... Is there a limit to the amount of vars a struct can hold? If so how do I create a...
  6. N

    MSFS Simconnect BCD16 and BCO16

    I swear the last time I tried i got a jumbled mess of numbers, but now I've tried again( with MHz) and it worked xD But anyway can someone help me with my other problem or is there already a thread explaining how to deal with that issue?
  7. N

    MSFS Simconnect BCD16 and BCO16

    I've managed to solve the problem with the frequencies by reading them as KHz and then multiplying that value by 0.001 to get MHz But now I've run into another problem: As soon as I try to read more than 27 variables, the value of those extra vars doesn't change. Even if I set them to be a...
  8. N

    MSFS Simconnect BCD16 and BCO16

    I managed to get the correct Transponder code. my_simconnect.AddToDataDefinition(DEFINITIONS.Struct1, "TRANSPONDER CODE:1", "enum", SIMCONNECT_DATATYPE.INT64, 0.0f, SimConnect.SIMCONNECT_UNUSED); I'm now trying to make sense of the COM readings I'm getting...
  9. N

    MSFS Simconnect BCD16 and BCO16

    Yes I have But I havent been able to understand where and how to add those lines of code... char[] xpdrS; string.Format(xpdrS, "%d%d%d%d", (xpdr >> 12) & 0x000f, (xpdr >> 8) & 0x000f, (xpdr >> 4) & 0x000f, xpdr & 0x000f)...
  10. N

    MSFS Simconnect BCD16 and BCO16

    I'm programming a Windows Form C# to read and write some parameters into the new MSFS2020. Im trying to read the frequencies from the simulator with the help of SimConnect, but I can't get any number that makes sense... (At least not for the frequencies and the Transponder code, literally all...
Top