Jump to content
The simFlight Network Forums

skino

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by skino

  1. The thread is already old but my question goes in the same direction. How can I read the content of the CDU screen?
    In the FSUIPC documents stands
     

    "This is the raw matrix provided by PMDG, in offsets 0x5400-0x57FF (for CDU 0) and 0x5800-0x5BFF (for CDU1). "

    But I get no or meaningless data. How can I do that in VB?
    I'm grateful for any help.

  2. I want to play in VB NET over the offset 4200 five sound files, but have no idea how I can realize this.

    The trigger should be a joystick button or a key.

    The file should only be played once. How can I call the WAV file?

    Is it also possible directly via the FSUIPC module in the simulator?

    Am grateful for any help.

  3. Hello Paul,
    If I use this code I always get an error message

     

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
    
            Dim ps As PayloadServices = FSUIPCConnection.PayloadServices
    
    
            If ps.FuelTanks(FSFuelTanks.Centre_Main).CapacityUSGallons = 0 Then
                CheckBox6.Checked = True
            End If
    
            Label3.Text = ps.FuelTanks(FSFuelTanks.Centre_Main).LevelUSGallons & " Gal"
    
            If ps.FuelTanks(FSFuelTanks.Centre_2).CapacityUSGallons = 0 Then
                CheckBox7.Checked = True
            End If
    
            If ps.FuelTanks(FSFuelTanks.Centre_3).CapacityUSGallons = 0 Then
                CheckBox8.Checked = True
            End If
    
            If ps.FuelTanks(FSFuelTanks.Left_Aux).CapacityUSGallons = 0 Then
                CheckBox11.Checked = True
            End If
    
            If ps.FuelTanks(FSFuelTanks.Left_Main).CapacityUSGallons = 0 Then
                CheckBox10.Checked = True
            End If
    
            If ps.FuelTanks(FSFuelTanks.Left_Tip).CapacityUSGallons = 0 Then
                CheckBox9.Checked = True
            End If
    
            If ps.FuelTanks(FSFuelTanks.Right_Aux).CapacityUSGallons = 0 Then
                CheckBox13.Checked = True
            End If
            If ps.FuelTanks(FSFuelTanks.Right_Main).CapacityUSGallons = 0 Then
                CheckBox12.Checked = True
            End If
            If ps.FuelTanks(FSFuelTanks.Right_Tip).CapacityUSGallons = 0 Then
                CheckBox3.Checked = True
            End If
            ps.RefreshData()
    
            If My.Settings.NoPanel = 1 Then
                Form1.Hide()
                Tank34.Hide()
            Else
                Form1.Show()
                Tank34.Show()
            End If
    
            FSUIPCConnection.Process("AircraftInfo")
            Label2.Text = aircraftType.Value
          
    
        End Sub

    29039238es.jpg

    Screenshot 2017-04-28 14.40.47.png

  4. I want to fill the standard aircraft in the FSX and P3D with a small VB tool. A value is to be written into a text field and transferred as gallons into the simulator.

    The necessary functions and declarations, I have not found in the client Dll.
    How exactly do I get the tanks filled?
    I am grateful for every note. Of course also for VB code examples.

  5. I'm trying the status of the LEDs on PM MCP read. Programming language is VB-2013. 

    I have the offset declared as SHORT because it has 2 bytes.

    Public LED As Offset(Of Short) = New FSUIPC.Offset(Of Short)(&H4F0)
    

    How do I get the status of each LED in VB?

    04F0         2 MCP/FCU Lights (Read Only)
    
    Bit Light 
    0  A/P Master L (1)  
    1  A/P Master C (2)  
    2  VS  
    3   ALT HLD  
    4   APP  
    5   LOC  
    6   LNAV  
    7   HDG  
    8   FLCH  
    9   SPD  
    10 THR  
    11 A/T  
    12 F/D  
    13 A/P Master R  
    14 VNAV 
    

    I am grateful for any help :)

  6. "...Of course, writing to a "free" offset does nothing at all unless something else is reading it!..."

     

    Yes, good idea :mrgreen:

     

    I have written with the PMDG 777 SDK a programme which read the data of the PMDG 777 MCP.  These data should be read with the ArcazeFsuipcConnector. 

     

    screenshot2014qmakehbtc7.png

     

    There is no Preset for it.  My programme should write the values in a free offset and the Connector she should process.

     

    Is there an example in VB.NET/VB2010 to write a value in a free offset?  For example, the number 300 in offset 0x66C0?

     

    Peter

×
×
  • 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.