Jump to content
The simFlight Network Forums

Metall4You

Members
  • Posts

    28
  • Joined

  • Last visited

Posts posted by Metall4You

  1. Hello Paul

    Thanks for your answer. I use my 2 Opencockpits CDU's via SIOC Direct in ProSim737. They are connected with USB 2.0. Unfortunately, I don't know whether 
    the CDU hardware is only considered a keyboard. The CDU buttons don't work when the CDU has the focus. My software runs with a timer and, among 
    other things, queries the position of the flaps for the speed of the trim wheels. I set the timer interval to 50. fsuipc.dll doesn't need the focus to work, I get 
    the offset values even if the CDU has the focus. should I switch to the FSUIPC client version? 

    Thank you for your efforts

    kind regards

    Ramon

  2. Hello

    I have the following setup on the client PC: I use my 2 Opencockpits CDU's via SIOC Direct in ProSim737. 
    I start SIOC and the CDU software from Prosim737 with the Wideclient software. This worked perfectly. When I now start my program, which I programmed in Visual Studio 2022, it connects 
    to WideClient. The connection is OK. Now my problem. Now when I want to operate the CDU, the button presses no longer work. If I close my program it works again. 

    My question: Is there a command that I have to insert or should I change the config (FSUIPC as client?) without Widelient?

    thank you for your message

    kind regards

    Ramon

  3. Hello

    i would like to start a wav file after i got the taxi clearance. is there an offset that i can query for the status? I found the following script for the pusback. 
    can I change that with the appropriate offset?

    i found the following: STATE_TAXI_FOR_TAKEOFF

    Thank you for your answers

    function vlc()
        checkiftrue=1
        sound.path("G:\\Sound\\Briefings")
        sound.play("737_Crew_Taxi.wav")
        event.cancel("vlc")
    end

    function checkPushback()
        if checkiftrue==0 then
            event.control(66483,"vlc")
        end
    end

    checkiftrue=0

    checkPushback()

     

    kind regards

    Ramon

  4. Hello Pete

    Many thanks for your Answer. Thats the Answer from Humberto:

    ********************************************************************************

    It should be automatic. PSU is sending it via FSUIPC, so nothing else needed

    if fsuipc is connected. Make sure FSUIPC is registered and P3D has the

    focus.

    ********************************************************************************

    but I can't get it to work. I sent you the FSUIPC log file. I meant the keystrokes are recognized by FSUIPC but the GSX window doesn't work, doesn't respond via the CDU. The window is called once but not after that.

    Thank you for your message

     

    Kind Regards

    Ramon

    FSUIPC6.log

  5. Hi Pete

    i have the following entries in the ini active to address the simconnect window. in prepar3d v4.5 it worked wonderfully but no longer 
    worked in v5.0. has anything changed in fsuipc 6.0? how can I get this working again?

    4=P64,1,C67145,1     -{SIMCONNECT_MENU_0}-
    5=U64,1,C67145,0     -{SIMCONNECT_MENU_0}-
    6=P64,2,C67136,1     -{SIMCONNECT_MENU_1}-
    7=U64,2,C67136,0     -{SIMCONNECT_MENU_1}-
    8=P64,3,C67137,1     -{SIMCONNECT_MENU_2}-
    9=U64,3,C67137,0     -{SIMCONNECT_MENU_2}-
    10=P64,4,C67138,1     -{SIMCONNECT_MENU_3}-
    11=U64,4,C67138,0     -{SIMCONNECT_MENU_3}-
    12=P64,5,C67139,1     -{SIMCONNECT_MENU_4}-
    13=U64,5,C67139,0     -{SIMCONNECT_MENU_4}-
    14=P64,6,C67140,1     -{SIMCONNECT_MENU_5}-
    15=U64,6,C67140,0     -{SIMCONNECT_MENU_5}-
    16=P64,7,C67141,1     -{SIMCONNECT_MENU_6}-
    17=U64,7,C67141,0     -{SIMCONNECT_MENU_6}-
    18=P64,8,C67142,1     -{SIMCONNECT_MENU_7}-
    19=U64,8,C67142,0     -{SIMCONNECT_MENU_7}-
    20=P64,9,C67143,1     -{SIMCONNECT_MENU_8}-
    21=U64,9,C67143,0     -{SIMCONNECT_MENU_8}-
    22=P64,10,C67144,1     -{SIMCONNECT_MENU_9}-
    23=U64,10,C67144,0     -{SIMCONNECT_MENU_9}-

     

    Kind Regards

    Ramon

     

    
     

     

  6. Hi Pete

    It works with this Lines of Code in SCPascal7:

    WriteFSUIPC($3340,4,$0001400); if Value =1 of the Button Press-Function in SCPascal7

    WriteFSUIPC($3340,4,$0002400); if Value =0

    The i can assigne the KeyPress for the ProATCx Window and this goes open, but when i use the Offset 29F0 with the same, nothing happens. The Button is not show in FSUIPC.

    What is the differens between this?

     

    kind regards Ramon

  7. I try to use a Virtaul Button with my SimioBoard-USB-Main Card, the Input has the Number 16.

    Here my Code:

    Var
       // initialize static integer array via array literal
       Numbers : array [4] of Integer = [16, 64, 1, 0];  

     InitOffsetFSUIPC($29F0,4);           
                          
     WriteFSUIPC($29F0,4,Numbers); 

    Is now this Button visible in Fsuipc? Need to define any Entry in the [Buttons] Section?

    Kind Regards

    Ramon

  8. Hello Pete

    Now it works with this Lines but i need 2 times to press the button to show the Window... What i need to doe for only one press?

    WriteFSUIPC($3110,4,1070);               
    WriteFSUIPC($3114,4,331);

    My other Question, i have the the LUA File 'AllTexts.lua' loaded on my ClientPC with WideClient. How can i hide the 'ProATCX - Inflight-Menu' on the 

    Main Screen?

    Many thanks for your Answer, you make my Day.

    Ramon

  9. Hello Pete

    I would like to use the following:

    1070 Key Press and Release (param is Keycode + 256*Shift code, or JsBk)

    now i use 'shift + k' to open the ProATCx 'inFlight-Menu'

    75 + (256 x 1) = 75 + 256 = 331 is this correct?

    What now i have to do with this Number?

    WriteFSUIPC($3114,8,331);               
    WriteFSUIPC($3110,8,1070);

    i tryed with this Entry's, but the Window not show... What make i wrong?

    Many thanks

    Ramon

     

     

     

  10. Hello Pete

    Thank you for your Answer. I use a SimioBoard USB Main Card with Inputs, but i can't assign a keypress to a Button. When i press a Button, fsuipc don't

    see the input, this card has no joystick option. I use the scpascal7 programing with following lines and works with SIMCONNECT_MENU_0 to SIMCONNECT_MENU_9:

    scpascal7

    Debug('KeyPressed 0'); 
                    
    WriteFSUIPC($3114,4,value);               
    WriteFSUIPC($3110,4,67145);

    fsuipc.ini

    12=N48,8,67145,1,67145,0     -{0: Press=SIMCONNECT_MENU_0, Release=SIMCONNECT_MENU_0 }-

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

    i would like to use the same for the 'ProATCX Inflight-Menu' to open with keypress 'CTRL 9'... but witch Number is this like 67145?

    Many thanks and kind regards

    Ramon

     

     

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