Jump to content
The simFlight Network Forums

forstmeier

Members
  • Posts

    112
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by forstmeier

  1. The new ATIasHold program with a Image Gallery is here: https://www.intrasystem.it/ATIas/ATIasHold.html Raimund .
      • 1
      • Like
  2. The new ATIasHold program with a Image Gallery is here: https://www.intrasystem.it/ATIas/ATIasHold.html Raimund .
  3. FSUIPC7 Mainly the Autopilot commands via external software. I note that several MSFS default airplanes either do not respond or only receive or transmit. The Boeing 747-8 example. Before the last recent update the commands were responding, now some are not. In FSX no problem. With x-Plane it is not different. A native FSX airplane suited for MSFS or X-Plane is working well. The Simulator default aircrafts should be checked for use of FSUIPC7. It takes little to create a program that verifies the necessary Offsets and other manual commands that are not always responding as they should. Maybe they focus too much on graphics. Raimund .
  4. Yes please. copy the part you think is useful. Thanks Raimund .
  5. Pete said: "would you like to re-post this data to the "User Contributions" ------------------------- Yes i will copy it there. By the way. Tomorrow i will upload to my website the corrected ATIasHold Software. Before doing the last 1.8.3 upload I saw a point in the program that seemed easy to change. Mea culpa. (maybe the age) I made a glamorous mistake as this small change affected at least 4 procedures and functions. In detail, the radar view of Adf + Vor in relation to the Flight Plan which can be divided and precisely, the Flight Plan can be interrupted for a free flight Adf, Vor Instrument flight. Tomorrow i will upload the corrected program. Raimund Nota regarding Runway Identities. There are several differences between the various simulators. If FSX + MSFS indicates Rwy 33 at LJMB, xplane is indicating 32. With RwyLength and AddAirports the user manages it. This program is reading any text database cvs ecc... dividing Headers single or multiple, SubRecords with different initial digits, extracting in any sequence. The user must have a very good knowledge of the various structures of a dBase text. It's amazing how many variations there are. I wrote it several years ago to create my personal dbase. In fact the program name is: AiracStructure Only 1 user, a german company is using it for extracting and translating Frequency dBases for the Radio Amateur world in different forms. To help i just need 1 complete Record and what should be the result for creating a configuration file. The program is Freeware. I'm a Radio Amateur. An expert like you notes the presence of R-Set and R-Align which are 2 different things. In this example we have a Header Record with all SubRecords in 1 Line only. A delimiter "_" is used only for the Header in order to read the Apt names without the "_" digit. While the following Runway subfields are read "by position". The space digit divides the SubRec Runways. This is a simple example. .
  6. Years ago I wrote the program "RwyLength" This program extracts the fields from MakeRunway: Icao, Nation, Town, Apt-Name, Rwy-ID, Rwy-Length. Rwy Length is converted to: feet, meter, nm The program includes the original MakeRunway dBase file with 100MB and the extracted file with 4MB. It is possible to load both files. Using the original file the conversion is immediate. This means that a new MakeRunway.txt file can also be converted. I remember that I immediately noticed the extra "0" and my code recognizes it and does not consider it. In order not to confuse, regardless of the use of other programs, my software that uses the dBase of RwyLength only uses the Rwy-Coordinates of a different dBase which includes Apt's coordinates and Runway coordinates. In Sept 2021 i added a Editor to create and edit Apt's and Runways. In fact some users extract data from "Rwy-Length" and coordinates from a different dBase. The AddAirports program is including the Apt's and Rwy-Data. This program is connected to the Simulator and the Rwy-coordinates are precise because you are placing the aircraft at the Lat / Lon position. The Apt Lat / Lon and the Rwy Lat / Lon are different. Add Airports is including a Editor for deleting, creating and changing each Record and Field. A distance test is present. ATIasHold is only working with internal real world Mathematic-Formulas based on Coordinates. Credits to the work of Ed Williams and his Aviation Page: Here These programs are included in the "ATIasHold" (Freeware) program If interested, it is possible to download individual applications on request by email only. Pls. refer to my Web-Page and indicate the program to download. The Radar image Takeoff and Landing graphic is only opening on Ground or Touch Down indicating the exact Aircraft Runway position. Raimund http://www.intrasystem.it/ATIas/ATIasHold.html .
  7. ATIasHold includes the "RwyLength" program. RwyLength extracts 6 data from Pete Dowson's "MakeRunways". Icao, Nation, Town, Apt-Name (the Header) and Runway ID, Rwy-Lenght in feet as Sub-Records. The File "rwylength.txt" is created and used by ATIasHold. Contains length in feet, meters and nautic miles. Upon request, a Record Editor has been added to change data and add new Airports. Intrasystem Raimund .
  8. ATIasHold final update is ready for download. Uploaded 29/AGO/2021 Pls. read the extended ATIasHld.pdf File. ATIasHld.pdf Description Intrasystem . ATIasHld.pdf
  9. ATIasHold is including now the MSFS Simulator. ATIasHold ist 100% Freeware. ATIasHld.pdf File ATIasHold Download Page Intrasystem .
  10. There is a interesting "Simvars.exe" in the MSFS SDK > Samples > SimvarWatcher > bin > x64 > Release. Start the MSFS Simulator. [ Connect ] It can be a help and test for developers. I'm adapting my Software "ATIasHold" for use with the MSFS. So far no problem. Raimund .
  11. ATIasHold since 2011. A lot has changed in the last few years. ATIasHold is now adapted to the development. Version 1.7.0 update 08/2021 - Now freeware ATIasHld.pdf Introduction: http://www.intrasystem.it/ATIas/ATIasHld.pdf http://www.intrasystem.it/ATIas/ATIasHold.html Please read the download condition. Intrasystem does not allow a download without a request by e-mail. (security + avoid Web-Scanning) Intrasystem Raimund Forstmeier - Padova / Italy . ATIasHld.pdf
  12. > Settings/Realism page. (Messages) < i mean then 'Realism' configuration you find p.e. within the FSX configuration menu. I don't know if it is including the Door messages. If you follow the Link above you can exclude it. Not easy but possible with a Hex-Editor or dll-debugger. Maybe you find someone near to you that can help you. Always make a Backup of the original file. Raimund .
  13. Settings/Realism page. (Messages) Didn't Try it. Not sure if it is possible. You should search with the word "disable ....." http://www.flightsim.com/vbfs/showthread.php?212169-Hide-exit-closing-opening-text&p=1450099#post1450099 Raimund .
  14. Maybe it can be of help. My post is here and explaning in details how read and set data with the PMDG 737 + 777 using Simconnect and a transformed .h file x VB.net. Raimund .
  15. You must copy the original "Runways.txt" file that is created when you run "MakeRunways" > "makerwys.exe" (by Pete Dowson) into your actual working Folder where RwyLength is installed. (this Runways.txt file is about 100Mb) Install / unzip where you like. Create a separate Folder. This program is extracting: ICAO, country, City, Apt-name ..... Rwy-ID, length in ft, le in meter, le in nautic miles. Click on [ Start ] (creating a new txt-file you can use and extract data in case you need this data for your own applications) Later on, selecting the new created (shorter) File, the program start is faster. You could use this program (with your own application) p.e. for creating a precise Runway-Length graphic display. (when the APL passed 70% of rwy-Le the graphic could change color or a sound is advicing you) What you need is the position Lat/Lon where your Runway is starting. If the Aircraft is ready for take-off you can calculate the precise Rwy-Distance left based on: Lat/Lon Pos Start-Rwy - Distance to any next or destination lat/lon position - considering the RywLenght and your actual Apl-Position lat/lon. Input a ICAO into the Search-Field > click [ S ]earch button > select the List-Item-Airport. Input a ICAO into the Search-Field > direkt connection to Charts and Airport Information. The Charts [ Charts and Airport Data ] Button is connecting you directly to: L-click >" flightaware" world airport information R-click >" SkyVector" world aiports + Charts [ Help ] x avoiding Web-Scanning: User: Runway Pwd: 12345 Free Download here: http://www.intrasystem.it/FSX/RwyLength/RwyLength.rar Raimund . Credits to Pete Dowson the Author of MakeRunways. .
  16. Try this one: Dim FsVersion As Offset(Of Short) = New FSUIPC.Offset(Of Short)(&H3308) Dim iShort As Short = FsVersion.Value Select Case iShort Case 1 Me.txtFsVersion.Text = "FS98" Case 2 Me.txtFsVersion.Text = "FS2000" Case 3 Me.txtFsVersion.Text = "CFS2" Case 4 Me.txtFsVersion.Text = "CFS1" Case 5 Me.txtFsVersion.Text = "Fly!" Case 6 Me.txtFsVersion.Text = "FS2002" Case 7 Me.txtFsVersion.Text = "FS2004" Case 8 Me.txtFsVersion.Text = "FSX" Case Else Me.txtFsVersion.Text = "FS ?" End Select
  17. You can read and write offsets for the PMDG-777 with the Pmdg777 SDK. When coding with VB.net you can include the translated SDK (x VB.net) for the Pmdg777. You read and set all those values. You need the Microsoft.FlightSimulator.Simconnect.dll and the PMDG_777X_SDK.h > in your VB.net "Release" Folder. Just read this Post > By the way: you can use the FSX Simconnect.dll for reading and setting the Spoiler "Tick number" and the "Spoiler position value". There is no problem with using different sistems together. The route distance "from" > "to" can be calculated in this way: (this is the real nautical mathe formula) Dim LatitudeAircraft As Offset(Of Long) = New FSUIPC.Offset(Of Long)(&H560) 'Latitude Dim LongitudeAircraft As Offset(Of Long) = New FSUIPC.Offset(Of Long)(&H568) 'Longitude Lat1 = LatitudeAircraft.value Lon1 = LongitudeAircraft.value lat1 = lat1 * 90 / (10001750D * 65536D * 65536D) lon1 = lon1 * 360 / (65536D * 65536D * 65536D * 65536D) 'Dim d As Double 'lat2, lon2 = destination coordinates that could be the runway center Start position d = distance(lat1, lon1, lat2, lon2, "N") 'distance between 2 Pos 'Function calculate lat, lot between 2 points in distance Function distance(ByVal lat1, ByVal lon1, ByVal lat2, ByVal lon2, ByVal unit) As Double Dim theta, dist theta = lon1 - lon2 dist = Math.Sin(deg2rad(lat1)) * Math.Sin(deg2rad(lat2)) + Math.Cos(deg2rad(lat1)) * Math.Cos(deg2rad(lat2)) * Math.Cos(deg2rad(theta)) 'Dim dist As Double 'read distance result with 1 or 2 decimals .ToString("f2") dist = acos(dist) ' used if theta in calculation is used dist = rad2deg(dist) distance = dist * 60 * 1.1515 Select Case UCase(unit) Case "K" 'Kilometer distance = distance * 1.609344 Case "N" 'Nautic miles distance = distance * 0.8684 End Select End Function 'convert decimal degreees to radians Function deg2rad(ByVal Deg) deg2rad = CDbl(Deg * pi / 180) End Function 'convert radians to decimal degrees Function rad2deg(ByVal Rad) rad2deg = CDbl(Rad * 180 / pi) End Function 'get arccos using the arctan function Function acos(ByVal rad) Dim pi As Double = 3.14159265358979 acos = 0 If Math.Abs(rad) <> 1 Then acos = pi / 2 - Math.Atan(rad / Math.Sqrt(1 - rad * rad)) ElseIf rad = -1 Then acos = pi End If End Function Public Function Atan2(ByVal y As Double, ByVal x As Double) As Double Dim Pi As Double = 3.14159265358979 If y > 0 Then If x >= y Then Atan2 = Math.Atan(y / x) ElseIf x <= -y Then Atan2 = Math.Atan(y / x) + Pi Else Atan2 = Pi / 2 - Math.Atan(x / y) End If Else If x >= -y Then Atan2 = Math.Atan(y / x) ElseIf x <= y Then Atan2 = Math.Atan(y / x) - Pi Else Atan2 = -Math.Atan(x / y) - Pi / 2 End If End If End Function Always specify when referring to a PMDG aircraft You would need a similare calculation approach when using the pmdg / VB.net SDK. Raimund .
  18. """ calculate the distance from a aircraft position and track to a runway """ What do you mean exactly ? Just on Ground or also from Aircraft-Air position to any Rwy Center-Start-Position. Maybe i can help you. Given Lat/Lon it is easy to calculate. Raimund .
  19. Hi Fred, "At Landing" or "at/during Landing Approach". There is a difference. You get the V/S data while approaching and Landing via FSUIPC as well as the ALT value and Speed. What you are looking for is your personal idea i don't think you will find a ready code for it. You need V/S, ALT and Speed values as well as the distance to the runway and the Rwy-ALT for a acceptable result to save. The sequence of your Data within your DB is important. Raimund .
  20. For creating a RAAS system maybe this small program i enclose could be of help. Program "RwyLength.rar" enclosed. You must copy the original "Runways.txt" file that is created when you run "MakeRunways" > "makerwys.ex" (by Pete Dowson) into your actual working Folder where RwyLength is installed. (Runway.txt file is 100MB) This program is extracting: ICAO, country, City, Apt-name ..... Rwy-ID, length in ft, le in meter, le in nautic miles. creating a new txt-file you can use and extract data. regards Raimund RwyLength.rar
  21. Hi, there are 2 posts within this page. PMDG offsets + Offsets PMDG. I think there you find the solution. The Pmdg SDK is including the over head panel so you can access any Button + Switches. You can use Simconnect together with FSUipc. Raimund .
  22. The NGX_SDK including the CDU data will be translated like the previous NGX_SDK for direct access. You can't modify the enclosed SDK Class vor VB.net; It must be rewritten including the CDU data. The CDU part is a different structure using: 14 lines with 24 characters. Symbol, Color and Attributes. Total data is 1008 bites. The CDU Text can then be extracted. Raimund .
  23. I don't have this latest Pmdg SDK file. My Sdk file i translated for Vb.net with a copy of the Ngx-Sdk and then included within a program. I'm not using the NGX but the Pmdg_777. Read my message about it. Pls. just state/write the SDK lines you are interested in. Raimund
  24. Hi, i think what you are look for is a bit more complicated. the right approach is quite different. 1) you need a Class containing the PMDG SDK "translation" for VB.net (Form5.vb + SDK2.vb x NGX) (Form6.vb. + SDK.vb x 777) 2) you need a Class/Form connecting to FSX "Microsoft.FlightSimulator.SimConnect" reading all VAR 3)the Form is including Sub proc's you can call from any other Form. (return val by global var is better then a Function) I'm using this forms with my Programs. You can even fly the PMD-NGX in automatic with your program. With your Main-Form you are still using a normal Simconnect connection. The Form5/6 is using a separate Simconnect connection. Carefully read the files included with then attached "PMDG_VB_Code.rar" file. Form5 + Form6 (not visible) are plain Form's including a VB "DataGridView" used for reading in the PMDG/SDK.vb class and extracting single Index-Data. I can't go deeper into details here. Hope it can be of help to you. Nota: In case of Compile problems you must check your "app.config" file. Maybe you need to change the supported Runtime to <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> A 2 byte value is reading: newValue = fields(224).GetValue(da) Dim sb As New StringBuilder() For Each j As Object In DirectCast(newValue, IEnumerable) sb.AppendFormat("{0} ", j) 'ON = '1 Next B777_APON = sb.ToString.Contains("1") The NGX SDK is a bit different and reading the value directly. Raimund . PMDG_VB_Code.rar
  25. Your first post is quite different and anyone can read it. If english is your mother Language please improve. Language is the only mean for comunicating. http://forum.simflight.com/forum/173-intrasystems-support-forum/ Try this one and revert. http://forum.simflight.com/topic/79834-mouseclicks-keyboard-keys-automatic-execution/#entry483607 Raimund .
×
×
  • 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.