Results 1 to 3 of 3
  1. #1
    New Member
    Join Date
    Mar 2012
    Location
    Boston
    Posts
    2
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Newbie question - Simconnect Stall Warning in VB

    I am ready to admit that I don't know enough about programing and therefore I am begging for help.
    I cant seam to be able to extract stall warning state from FSX
    Or anything with a Boolean value for that matter.
    Is my code correct?

    fsx_simconnect.AddToDataDefinition(DEFINITIONS.Struct1, "Stall Warning", "Bool", SIMCONNECT_DATATYPE.FLOAT32, 1, 11)

    Please help !!!!!!

  2. #2
    500+ This must be a daytime job Jim NZ's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    764
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Newbie question - Simconnect Stall Warning in VB

    Have a look at the various "demo" source code examples in ,,,
    http://www.jimspage.co.nz/fsxfs9inouts.htm
    The VB.net one has a bool in it.

    Also do a google using,,
    FSX simconnect "source code"
    Happy reading.


    Note:
    As this thread has nothing to do with what we chat about in here, it will be deleted shortly.
    Jim NZ
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  3. #3
    New Member
    Join Date
    Mar 2012
    Location
    Boston
    Posts
    2
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Newbie question - Simconnect Stall Warning in VB

    Thank you
    I figured it out today, It wasn't the code but the airplane.
    It worked on Cessna but not on LJ45.....