Jump to content
The simFlight Network Forums

rigidigital

Members
  • Posts

    6
  • Joined

  • Last visited

About rigidigital

  • Birthday 01/01/1970

Contact Methods

  • Website URL
    http://

Profile Information

  • Interests
    c# electronics

rigidigital's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Pete, Ive had a great time playing with your module and extracting data and writing my own C# code. I just got back from the Expo at the Gold Coast. It was fantastic. There were no motion base platforms but I found the experience of a decent cockpit does not require a motion base :) regards, Mike.
  2. Your help was great. I'll go and do some more research, where you've suggested! for now this works well and makes a lot more sense. pitch is declared as an int in the Offset. long thePitch = (long)(((((double)pitch.Value) * 360d) / 65536d) / 65536d); this.textBox1.Text = thePitch.ToString(); My casting there is still a bit wrong due to me not looking, but it is good. Staying within nice easy double digits. I tried doing a loop de loop, to see what would happen but I was in a Cessna 182 :) thx both.
  3. I am getting some numbers that dont quite look right. Offset pitch = new Offset(0x0578); double thePitch = ((long)pitch.Value; even on taxi going left and right I get big numbers negative and positive. pitching up on stall 20427319324205325 sitting on runway 4249380562 not sure how to determine datatype for an Offset ? Below this probably means I am needing to get up to speed with C#... the code below generates compile errors, for "divide by zero" or buffer overun ? double thePitch = ((long)pitch.Value * 360 /(65536 * 65536));
  4. Hi, for reasons of misplacement I think I am going to load up MSFS98 to try out some experiment. I will need to buy a newer version, I tried FSX sometime ago and thought it pretty woefull on my new PC. will the method below work with FS98(which I still have). I want to read pitch and bank for the moment. Will the values be the same(offsets , i think) for 98 and 2004 ? result = fsuipc.FSUIPC_Read(dwOffset, dwSize, ref token, ref dwResult); regards, Michael. Actually I had to edit, I don't think as a 1st Poster I should be trying to qualify my statement using 'new PC' or having a go at any product. My guess is those using FSX would not think much of my PC anyhow :) but if you can help, I dont even know what the offset i need is yet, too busy just downloaded the new Dot Net dll client and docs.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.