Jump to content
The simFlight Network Forums

grigna

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by grigna

  1. I see that there are many possibilities and I'm getting a little lost.

    Given that I don't want to install Visual Studio on the PC where FS2020 runs with FSUIPC7, I would like to understand if, using WideFS7 on the notebook connected to the same LAN, I have the same interface (forgetting WASM for the moment) and/or I can use FSUIPC Client for .NET as if I were developing with Visual Studio installed on the PC where FS2020 runs.
    Thanks for your patience. 😀

  2. Hi,
    by personal choice, on the PC on which FS2020 runs I do not install anything that is not strictly necessary such as FSUIPC7 which I use with a registered license.

    I would be interested in developing software with Visual Studio that is already installed on a notebook that I use for that purpose.
    The question is the following: If I purchase a license for WideFS7 and register it on FSUIPC7 then run WideClient from the notebook while FS2020 is running on the PC, what do I see on the notebook? With WideClient, does the notebook see FSUIPC7 as if it were running on itself?

    Thanks in advance!

  3. hi,

    I followed this post carefully and tried to follow the suggested settings carefully.
    I am using the same files relative to the 320neo FBW (.hvar and .evt) and I have inserted the references in the FUIPC7.INI.

    I have really tried them all but the Hvar "A32NX FCU HDG PUSH" & "A32NX FCU HDG PULL" do not appear in the dropdownlist as below.
    Can you help me understand why? Thanks

    ddl.jpg.32e1ca029bbb544d45eb525131831866.jpg

     

  4. 1 hour ago, John Dowson said:

    or the aircraft name has changed and no longer matches the name of the aircraft you are loading

    Thanks John, I simply changed the livery but was enough to create issues.

    Here, FSUIPC7 list Hvars from C:\FS2020\Community\fsuipc-lvar-module\modules\A320.hvar

         8266 SimObjects\Airplanes\FlyByWire_A320_NEO\aircraft.CFG
         8281 User Aircraft ID 1 supplied, now being used
         8344 Aircraft loaded: running normally now ...
         8953 System time = 02/10/2021 17:49:44, Simulator time = 12:49:44 (15:49Z)
         8953 Aircraft="Airbus A320neo Easyjet NEO c/s"
         9531 Lvars/Hvars received - checking aircraft autos....

    With same aircraft but other livery, Hvars from C:\FS2020\Community\fsuipc-lvar-module\modules\A320.hvar are not listed

         8281 SimObjects\Airplanes\FlyByWire_A320_NEO\aircraft.CFG
         8313 User Aircraft ID 1 supplied, now being used
         8375 Aircraft loaded: running normally now ...
         9031 System time = 02/10/2021 17:42:44, Simulator time = 12:42:43 (15:42Z)
         9047 Aircraft="FWB TAM"
         9594 Lvars/Hvars received - checking aircraft autos....

     

    I solved updating Aircraft.cfg of the livery from: Aircraft="FWB TAM" to Aircraft="A320 NEO FWB TAM" and now FSUIPC7 list Hvars again.
    Thank you so much, a very important thing to know.

    In case I need to create two files:
    A320.hvar
    A320FWB.hvar
    How should I go about getting FSUIPC7 to distinguish them?
    Thanks

     

  5. The last few days I tried to "play" with the Hvars with the options offered by FSUIPC7 (7.2.10 registered) to be able to have a list on the screen and be able to test them using the menu option "Activate Hvar ...", something very useful.
    Today, after updating the A320 FBW with its installer, I wanted to do more tests but FSUIPC7 does not list any Hvars.

    What may have happened?
    Thanks

    PS: the Lvars are still listed
     

  6. 1 hour ago, Pete Dowson said:

    Please don't post code "snippets" and talk about them as if they show everything!

    My apologize, maybe I was unclear. Below you can see the only code I put in the user.lua file and as you can see I haven't declared the value of 'dev' anywhere.
    But I can guarantee you that the two functions combined with two buttons work correctly.
    For this reason I thought that there is a global variable 'dev' declared by some other code that is not mine.

    immagine.thumb.png.a5b1bfdd3ee7d15b4273d76b6f52b971.png

  7. 43 minutes ago, Pete Dowson said:

    That will be a number assigned by Windows for the opened device link. Next time it might be different.

    Thank Pete, but my question is another: If 'dev' is already valued somewhere, what are the other already declared valued global variables that can be used?


    For example, the code snippet below works even though I've never declared the variable 'dev'
    How can my function know the value of 'dev'?  Somewhere else it must have been declared!


    function  Engage_Managed_Heading_Mode ()
        -- PUSH HDG  KNOB
         ipc.control("68065", 2)
        com.write(dev, "HDG" .. "---", 8    )
        DspShow("mngd", "HDG")
    end

     

  8. Hi all,

    looking at some lua script samples regarding VRInsight MCP you can see that there is a handle named 'dev' which is used in the com.xxx functions to read or write data to the device.
    Since the constant or variable 'dev' can be used as it is already valued, where is it possible to find a list of any other global variables related to VRInsight MCP device?

    Thanks

  9. Hi All,

    after starting MSFS, I run manually "LogiMicrosoftFlightSimulator.exe" to manage some SAITEK devices (Radio Panel, ProFlight Panel etc.).
    Then, I proceed by choosing the CESSNA 152 or 172 in cold & dark and start preparing for the flight.
    The SAITEK devices are all working correctly and the NAV frequencies shown on the Radio Panel are correct.
    If I start FSUIPC7 (registered version) to manage another peripheral as soon as FSUIPC7 is running on the display of the SAITEK Radio Panel, the NAV frequencies are replaced by the COMs and if I try to change them by hand the Radio Panel seems crazy, as if it received the frequencies from FSUIPC7 to show.
    Is it possible to set FSUIPC7 to totally ignore SAITEK devices?

    Another question, in case I decide to purchase a Spad.Next license, is it fully compatible with FSUIPC7?

    Thanks in advance

  10. Hi,

    I'm trying to customize my MCP Combi.

    I taken a look at FSUIPC7 documentation regarding the COM library to write a message on MCP display.

    By default, pushing KNOB (SPD or HDG or ALT) a character '*' is displayed on right side the KNOB pushed. How can I control this output?

    How can I to change char from '*' to another char?

    Have I to use com.write (the port is already opened by FSUIPC) or is there another way?

    Thank in advance.

  11. Hi John, I'm starting to understand how FSUIPC7 works with Linda and VRI MCP Combi.
    For those who use MCP Combi with FS2020 & A320neo, binding these Functions to the three Knobs and to three Buttons can simulate Push & Pull

    function  Engage_Managed_Speed_Mode ()
       -- PUSH SPEED KNOB
         ipc.control("68066", 2)
    end

    function  Engage_Selected_Air_Speed_Mode ()
        -- PULL SPEED  KNOB
         ipc.control("68066", 1)
    end

    function  Engage_Managed_Altitude_Mode ()
        -- PUSH ALT  KNOB
         ipc.control("68067", 2)
    end

    function Engage_Selected_Altitude_Mode ()
        -- PULL ALT  KNOB
         ipc.control("68067", 1)
    end

    function  Engage_Managed_Heading_Mode ()
        -- PUSH HDG  KNOB
         ipc.control("68065", 2)
    end

    function Engage_Selected_Heading_Mode ()
        -- PULL HDG  KNOB
         ipc.control("68065", 1)
    end

     

    • Like 1
  12. This is what happens by VRI MCP Combi, taken from FSUIPC's LOG:

    "ALT" knob:
    1st push:
      6255015 14148 Button changed: bRef=0, Joy=257, Btn=31, Released
    2nd push:
      6257968 14148 Button changed: bRef=0, Joy=257, Btn=31, Pressed
      6257968 14148 [Buttons] 3=P257,31,C68067,2
      6257968 14148 FS Control Sent: Ctrl=68067, Param=2 ALTITUDE_SLOT_INDEX_SET
      6257968 14148 *** EVENT: Cntrl= 68067 (0x000109e3), Param= 2 (0x00000002) ALTITUDE_SLOT_INDEX_SET
     
    "ALTHLD" button:
    1st push:
      6263843 14148 Button changed: bRef=0, Joy=257, Btn=3, Released
    2nd push:
      6265375 14148 Button changed: bRef=0, Joy=257, Btn=3, Pressed
      6265375 14148 [Buttons] 4=P257,3,C68067,1
      6265375 14148 FS Control Sent: Ctrl=68067, Param=1 ALTITUDE_SLOT_INDEX_SET
      6265390 14148 *** EVENT: Cntrl= 68067 (0x000109e3), Param= 1 (0x00000001) ALTITUDE_SLOT_INDEX_SET

  13. I tested also sending the command in the button release event but it seems to enter in a loop.

    What I have noted in Button & Switch Assignements popUp is any buttons I push on MCP Combi is ignored first push but I need to push it a second time because appears the values in the "Joy#" and "Btn#"  field. Is it correct?

    Many thanks for your attention

  14. Hi John,

    thanks a lot for your answer. Reading that post I done a big step forward.

    Testing on my registered version of FSUIPC7 i found that variables in dropdownList and assigned to one kob and to one button on MCP this values for A320nx:

    Altitude Slot Index Set = 2 -> MANAGED

    Altitude Slot Index Set = 1 -> SELECTED

    It seem that they change correctly from Managed to Selected but both require a double push. Is possible to remove the double push?

    Many thanks

     

     

    Selected.jpg

    Managed.jpg

  15. Hi,

    on A320neo (same A320nx)  the knobs ALT, HDG and SPD can be pushed or pulled using mouse.

    Using FSUIPC7 log, I see an event related to these knobs is raised:

    HEADING_SLOT_INDEX_SET
    SPEED_SLOT_INDEX_SET
    ALTITUDE_SLOT_INDEX_SET

    trying to set a value to those variables using LINDA, Lua encounters an error (nil value).

    The questions are: "Are some  kind of variable the three voice above?  How can I set the value using a button on a VRI MCP Combi?"

    Thanks a lot

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