Jump to content
The simFlight Network Forums

Frédéric-O DUCHEMIN

Members
  • Content Count

    108
  • Joined

  • Last visited

  • Days Won

    1

Frédéric-O DUCHEMIN last won the day on February 27 2018

Frédéric-O DUCHEMIN had the most liked content!

Community Reputation

1 Neutral

About Frédéric-O DUCHEMIN

  • Rank
    Advanced Member
  • Birthday 01/04/1977

Contact Methods

  • Website URL
    http://www.skydream-airlines.com
  • Skype
    dj.fred.d

Profile Information

  • Gender
    Male
  • Location
    : LFTW (FR)
  • Interests
    ATPL Training course

Recent Profile Visitors

2,196 profile views
  1. Frédéric-O DUCHEMIN

    Getting autopilot state from various add-ons

    Hi Noa, You can use L:Vars for AEROSOFT AIRBUS A3XX PRO FSUIPCConnection.ReadLVar("L:AB_AP_AP1").ToString("F0") = 1 'AP1 set on FSUIPCConnection.ReadLVar("L:AB_AP_AP1").ToString("F0") = 0 'AP1 set off FSUIPCConnection.ReadLVar("L:AB_AP_AP2").ToString("F0") = 1 'AP2 set on FSUIPCConnection.ReadLVar("L:AB_AP_AP2").ToString("F0") = 0 'AP1 set off You can find this L:VARS with Linda Modules https://www.avsim.com/forums/topic/539164-new-aerosoft-a3xx-professional-v06-beta-24-jul-18/ You can retrieve L:VARS using Paul's method (Thanks again Paul wasp your time to teach me that) Regards Fred
  2. Frédéric-O DUCHEMIN

    Lua Sockets with FSUIPC5 and P3Dv4

    I'm sorry for that. I have P3V4 (X64) and need Lua socket for Throttle Manager works. Seems working but I don't find files to give you. So Have you found version X64 ? Regards Fred
  3. Frédéric-O DUCHEMIN

    Lua Sockets with FSUIPC5 and P3Dv4

    You are Welcome ! Regards Fred
  4. Frédéric-O DUCHEMIN

    Lua Sockets with FSUIPC5 and P3Dv4

    Hello, http://luaforge.net/projects/luabinaries/ X64 & X86 http://files.luaforge.net/releases/luabinaries/aLua5.2-work2/WindowsLibraries Executables X86 http://files.luaforge.net/releases/luabinaries/aLua5.2-work2/Executables/lua5_2_work2_Win32_bin.zip X64 http://files.luaforge.net/releases/luabinaries/aLua5.2-work2/Executables/lua5_2_work2_Win64_bin.zip Regards Fred
  5. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Hi Paul, I don't think so here the code only call when I click on load *.pln Private Sub RefreshFlightPlans() Me.cbxFlightPlans.Items.Clear() FSUIPCConnection.Process("plnFolder") Dim folder As String = FSUIPCDATA.simDocsPath.Value Dim flightPlans As String() = IO.Directory.GetFiles(folder, "*.pln") For Each flightPlan As String In flightPlans Me.cbxFlightPlans.Items.Add(IO.Path.GetFileName(flightPlan)) Next End Sub Private Sub LoadplnToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles LoadplnToolStripMenuItem.Click RefreshFlightPlans() End Sub So I use PMDG aircraft's works fine with PMDG 737-X and ProATC/X and don't need to load pln, I think ProATC/X makes the job in flight planner in Sim But with PMDG 777-X works at the beginning return me good ID & Distance after a while return me ICAO & Distance, on approach give me current legs No idea why. Regards Fred
  6. Frédéric-O DUCHEMIN

    Hold PMDG Offsets

    Ok Paul Have you a concrete example with this example I can make my functions like mid-AIR refuel, PMDG Offsets, and remove timers Thanks Fred
  7. Frédéric-O DUCHEMIN

    Hold PMDG Offsets

    Hi, I think you don't have read the link bellow or here: So you would be read I have offsets & function for that And my purpose it's about holding value it's calling at every FSUIPCConnection.Process() Regards Fred
  8. Frédéric-O DUCHEMIN

    Hold PMDG Offsets

    Hi Paul and everyone can help me, I have started this thread here avoid the end of this post How I can old return offsets once the value is return ? Mean If strobe is 'ON' and nothing is changed the "FSUIPCConnection.Process()" doesn't need to return me value I have already. Thanks Regards Fred
  9. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Hi Paul, I have issues with GPS return. It's not the GPS the problem, it's how the waypoints are read. Even the plane is near the closest navaids after return me the good ID and distance seems it's doesn't where it is and take the first point of pln even this point are already passed. There is a way to look the ID index before and after to avoid this situation ? Here the code: Public gps_next_lat As Offset(Of Double) = New Offset(Of Double)(&H60AC) Public gps_next_lon As Offset(Of Double) = New Offset(Of Double)(&H60B4) Private Sub ShowDistanceToGPS() ' Setup info for GPS Dim lat As FsLatitude = New FsLatitude(gps_next_lat.Value) Dim lon As FsLongitude = New FsLongitude(gps_next_lon.Value) GPS = New FsLatLonPoint(lat, lon) ' get current plane position lon = New FsLongitude(playerLongitude.Value) lat = New FsLatitude(playerLatitude.Value) Dim currentPosition As FsLatLonPoint = New FsLatLonPoint(lat, lon) ' Get the distance between here and GPS Dim distanceNM = Math.Round(currentPosition.DistanceFromInNauticalMiles(GPS), 0) ' Get the bearing (True) 'Dim bearing As Double = currentPosition.BearingTo(GPS) ' Write the distance to the text box formatting to 2 decimal places ' FrmMain.gps_ident.Text = distance.ToString("N2") FrmMain.gps_ident.Text = gps_id.Value.ToString() & ": " & distanceNM.ToString() + "NM" ' Display the bearing in whole numbers and tag on a degree symbol 'FrmMain.txtBearing.Text = bearing.ToString("F0") & Chr(&HB0) End Sub FSUIPCConnection.Process() ShowDistanceToGPS() Regards Fred
  10. Frédéric-O DUCHEMIN

    FSUIPC Client DLL for .NET - Version 3 Released

    Hi Paul, Thanks you for all Regards Fred
  11. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Thanks for the dll yes I have correct my code give me ID and NM all it's OK. But need a flight plan loaded in p3DV4 to work Sad news I would like read for any aircraft using FMC or FMS and not only basic plane... There is a way with form to load flight plan ? I make a try with the latest version Regards Fred
  12. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Hi Paul, here my function Public gps_next_lat As Offset(Of Double) = New Offset(Of Double)(&H60AC) Public gps_next_lon As Offset(Of Double) = New Offset(Of Double)(&H60B4) Private Sub ShowDistanceToGPS() ' Setup info for GPS Dim lat As FsLatitude = New FsLatitude(gps_next_lat.Value) Dim lon As FsLongitude = New FsLongitude(gps_next_lon.Value) GPS = New FsLatLonPoint(lat, lon) ' get current plane position lon = New FsLongitude(playerLongitude.Value) lat = New FsLatitude(playerLatitude.Value) Dim currentPosition As FsLatLonPoint = New FsLatLonPoint(lat, lon) ' Get the distance between here and GPS Dim distanceNM = Math.Round(currentPosition.DistanceFromInNauticalMiles(GPS), 0) ' Get the bearing (True) 'Dim bearing As Double = currentPosition.BearingTo(GPS) ' Write the distance to the text box formatting to 2 decimal places ' FrmMain.gps_ident.Text = distance.ToString("N2") FrmMain.gps_ident.Text = gps_id.Value.ToString() & ": " & distanceNM.ToString() + "NM" ' Display the bearing in whole numbers and tag on a degree symbol 'FrmMain.txtBearing.Text = bearing.ToString("F0") & Chr(&HB0) End Sub FSUIPCConnection.Process() ShowDistanceToGPS() The code is good :) Thanks Regards Fred
  13. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Ok Thanks Have you a way to avoid negative number to distance ? Ok Distance not good maybe try an other offset? I will post pictures after Thanks
  14. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Nope I use GTN 750 & 650 return ID but 0NM Yes flight plan it's active into GTN P3DV4.zip
  15. Frédéric-O DUCHEMIN

    Vb.NET Closest NAVAIDS SQlite

    Shame on me FrmMain.txtSurface.Text = Math.Round(gps_distance.Value() / 1852, 0) return 0
×

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.