Jump to content
The simFlight Network Forums

achilleghilotti

new Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by achilleghilotti

  1. Good evening everyone,

    first of all thanks.
    I wanted to clarify that I bought the widefs and fsuipc licenses and I already use simconnect from the client.
    If I do the test with WASMClient everything works, I read Hvar.
    In code if I use FSUIPCConnection.WriteLVar ("L: A32NX_ECAM_SD_CURRENT_PAGE_INDEX", CDbl (4)), it works.

    I was implementing Hvar

            
    If FSUIPCConnection.IsOpen Then
                Me.btnToggleConnection.Text = "Disconnect"
                Me.lblConnectionStatus.Text = "Connected to " & FSUIPCConnection.FlightSimVersionConnected.ToString()
                Me.lblConnectionStatus.ForeColor = Color.Green

                Me.VS = New MSFSVariableServices()
                Me.VS.SimConfigConnection = 0

                ' Handle events
                AddHandler Me.VS.OnLogEntryReceived, AddressOf VS_OnLogEntryReceived ' Fired when the WASM module sends a log entry
                AddHandler Me.VS.OnVariableListChanged, AddressOf VS_VariableListChanged ' Fired when the list of available variables is changed

                Me.VS.Init(Me.Handle) ' Initialise by passing in the windows handle of this form
                Me.VS.Start()
                Me.started = Me.VS.IsRunning
                Me.VS.LogHVars()
                ' Tells the WASM module to rescan the aircraft for variables
                Me.VS.Reload()
    ...............

    but not working

    immagine.png.b6cf0288f688e9967185a452fd7c3b1a.png

  2. Good evening,
    
    i installed MSFSVariableServices_VB for testing. 
    If I install it on the computer running FS2020 it works if I install it on a Client it doesn't work. 
    I think it's about correctly configuring Me.VS.SimConfigConnection but I didn't understand how to do it.
    Can you advise me or direct me to some examples?
    
    Thank you
×
×
  • 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.