Jump to content
The simFlight Network Forums

gianpy.it

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by gianpy.it

  1. OK!!!!!!!! I can do it!!! The problem is the late...!The program is good, I think! It works, but I have to wait 5 seconds before read updated data! 5 SECONDS...too much! WeatherSet2 need 0.5 SECONDS!!!! There is a problem!!! HELP ME!!!!!!!!!!!!!!!!!!!
  2. Hi, my name is Gianpaolo! I'm trying to create a program like WeatherSet2 in visual basic .NET F2. I'm using the Client DLL module! It's very easy for me read data, but very difficult find weather using Area3. I can read Lat,Lon,Icao,Signature,Wind,Temp... from this area, but only after I insert ICAO by WeatherSet2! This is a cedo part: ... ... Dim Signature As Offset(Of UInt32) = New FSUIPC.Offset(Of UInt32)(&HCC04) Dim ICAO As Offset(Of String) = New FSUIPC.Offset(Of String)("Icao_Code", &HCC08, 4) Dim Dynamic As Offset(Of UInt16) = New FSUIPC.Offset(Of UInt16)(&HCC0C) ... ... ... ... Me.ICAO.Value = Me.TextBox2.Text 'Insert ICAO in &HCC08 Me.Signature.Value = CType(Me.TextBox1.Text, UInt32) 'Insert Signature in &HCC04 FSUIPCConnection.Process() .... .... FSUIPCConnection.Process() Me.TextBox4.Text = Me.Dynamic.Value Me.TextBox3.Text = Me.WeatherLati.Value Me.TextBox8.Text = Me.WeatherLongi.Value Me.TextBox7.Text = Me.TimeStamp.Value Me.TextBox6.Text = ((Me.QNH.Value) / 16).ToString("#.#") ... ... ... But it read only the last searched by WeatherSet2. If I insert LIBR in WeatherSet2, it will return LIRF weather. Then when I open my program (which works with signature=0) and I insert KJFK, the output is the LIRF weather!!! HELP ME PLEASE!!!!!!!
  3. I have a problem!!! I'm creating a new add-on that works out from flight simulator 2004!It's a flight planner in particular!!! But I need an information! How can I read weather data using NWI and Visual Basic .NET?????I'm a Mechanical Engineer, I write only mathematical algo, I don't study connections between programs, this is my first experience! Can you give me an example code in VB? Something really easy such: A little program that reads wind speed and direction using Area 3 by longitude and latitude or by ICAO code!!! I don't understand notes for programmers (FSUIPC SDK) because I'm not a real programmer!!!!!!!! I'm a dummy in programs connections.......I need examples!!!Please, please!!!! Thankyou!!!
×
×
  • 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.