Jump to content
The simFlight Network Forums

Thomas321

Members
  • Posts

    49
  • Joined

  • Last visited

Posts posted by Thomas321

  1. indeed, the error only occured on the PC where the GoFlight-Modules are installed.

    The PCs are the same, same hardware, same software (Project Magenta),

    the only difference is the GoFlight-Equipment.

     

    I now try with the GFDev.dll you adviced: 2.2.2.1

     

    I found out immediately, this version [2.2.2.1] does response way faster on my inputs
    (especially at the GF-P8) than my recent version [2.2.4.3].

     

    as supplement here the 2 logs(both logs from the "problem-PC"):

     

     

    This one with GFDev.dll 2.2.4.3

     

    ********* WideClient Log [version 6.999m] Class=FS98MAIN *********
    Date (dmy): 01/06/15, Time 17:35:25.142: Client name is GIA63-2
         1436 Attempting to connect now
         1436 LUA: "C:\Modules\WIDECLIENT\Initial.LUA": not found
         1482 Trying TCP/IP host "IG01" port 8002 ...
         1482 ... Okay, IP Address = 10.0.0.6
        22511 Error on client pre-Connection Select() [Error=10060] Connection timed out
        22511 Ready to try connection again
        23572 Attempting to connect now
        67689 Trying TCP/IP host "IG01" port 8002 ...
        67689 ... Okay, IP Address = 10.0.0.6
       133958 Trying TCP/IP host "IG01" port 8002 ...
       133958 ... Okay, IP Address = 10.0.0.6
       200228 Trying TCP/IP host "IG01" port 8002 ...
       200228 ... Okay, IP Address = 10.0.0.6
       247418 Connection made okay!
       247761 Using "C:\Modules\WIDECLIENT\GFDEV.DLL", version 2.2.4.3
       247761 GoFlight GFP8 detected: 1 device
       247761 GoFlight GFT8 detected: 1 device
       247761 GoFlight GFRP48 detected: 1 device
       294218 c:\modules\pm\gagc
       294218 C:\Modules\PM\GAGC\gagc.exe
       324030 New Client Application: "gagc" (Id=1240)
       413637 c:\modules\pm\gagc
       413637 C:\Modules\PM\GAGC\gagc.exe
       663098 Received shutdown offset code = ADBC
       663098 FS closing down (param=ADBC), disconnecting

       663098 ********* Interim performance summary *********
       663098 Total time connected so far = 415 seconds
       663098 Reception maximum so far:  72 frames/sec, 3298 bytes/sec
       663098 Reception average whilst connected so far:  25 frames/sec, 1654 bytes/sec
       663098 Transmission maximum so far:  3 frames/sec, 754 bytes/sec
       663098 Transmission average whilst connected so far:  0 frames/sec, 28 bytes/sec
       663098 Max receive buffer = 2214, Max send depth = 3, Send frames lost = 0

       663098 **************** Individual client application activity ****************
       663098 Client 1240 requests: 4664 (Ave 11/sec), Data: 10973004 bytes (26440/sec), Average 2352 bytes/Process
       663098 ***********************************************
       663207 Received shutdown offset code = ADBC
       670805 Connection closed by server!
       670805 Attempting to connect now
       670805 Trying TCP/IP host "IG01" port 8002 ...
       670805 ... Okay, IP Address = 10.0.0.6

     

    This one with GFDev.dll 2.2.2.1

     

    ********* WideClient Log [version 6.999m] Class=FS98MAIN *********
    Date (dmy): 01/06/15, Time 18:42:42.691: Client name is GIA63-2
         1029 LUA: "C:\Modules\WIDECLIENT\Initial.LUA": not found
         1029 Attempting to connect now
         1060 Trying TCP/IP host "IG01" port 8002 ...
         1060 ... Okay, IP Address = 10.0.0.6
        22074 Error on client pre-Connection Select() [Error=10060] Connection timed out
        22074 Ready to try connection again
        23119 Attempting to connect now
        67236 Trying TCP/IP host "IG01" port 8002 ...
        67236 ... Okay, IP Address = 10.0.0.6
       133443 Trying TCP/IP host "IG01" port 8002 ...
       133443 ... Okay, IP Address = 10.0.0.6
       199650 Trying TCP/IP host "IG01" port 8002 ...
       199650 ... Okay, IP Address = 10.0.0.6
       252784 Connection made okay!
       252955 Using "C:\Modules\WIDECLIENT\GFDEV.DLL", version 2.2.2.0
       252955 GoFlight GFP8 detected: 1 device
       252955 GoFlight GFT8 detected: 1 device
       252955 GoFlight GFRP48 detected: 1 device
       310426 c:\modules\pm\gagc
       310426 C:\Modules\PM\GAGC\gagc.exe
       340659 New Client Application: "gagc" (Id=800)
       451763 Received shutdown offset code = ADBC
       451763 FS closing down (param=ADBC), disconnecting

       451763 ********* Interim performance summary *********
       451763 Total time connected so far = 198 seconds
       451763 Reception maximum so far:  75 frames/sec, 3358 bytes/sec
       451763 Reception average whilst connected so far:  29 frames/sec, 1657 bytes/sec
       451763 Transmission maximum so far:  4 frames/sec, 949 bytes/sec
       451763 Transmission average whilst connected so far:  1 frames/sec, 56 bytes/sec
       451763 Max receive buffer = 2232, Max send depth = 3, Send frames lost = 0

       451763 **************** Individual client application activity ****************
       451763 Client 800 requests: 1330 (Ave 6/sec), Data: 3119011 bytes (15752/sec), Average 2345 bytes/Process
       451763 ***********************************************
       451856 Received shutdown offset code = ADBC
       459469 Connection closed by server!
       459469 Attempting to connect now
       459469 Trying TCP/IP host "IG01" port 8002 ...
       459469 ... Okay, IP Address = 10.0.0.6

     

    I will try with the GFDev.dll 2.2.2.1, and will post again the logfile, when (eventually) the

    error next time arises.

     

    Thank you.
    Kind Regards, Thomas

     

  2. Hello,

     

    Latest versions installed from Thread: Updated modules
     
    FSUIPC 4.939n
    WideFS 6.999m

     

    Prepar3D v2_Academic_2.5.12945.0

     

     

    I´m using two of the same PCs, running WideClient.exe.

    At startup of one of the 2 PCs an error window occured (this happens not every startup):

    WIDECLIENT ERROR TRAP

    Please see Log.
    WideClient is now terminating

     

     

     

    Here is the full log:

    ********* WideClient Log [version 6.999m] Class=FS98MAIN *********
    Date (dmy): 31/05/15, Time 13:41:44.987: Client name is GIA63-2
          437 Attempting to connect now
          437 LUA: "C:\Modules\WIDECLIENT\Initial.LUA": not found
          484 Trying TCP/IP host "IG01" port 8002 ...
          484 ... Okay, IP Address = 10.0.0.6
        21528 Error on client pre-Connection Select() [Error=10060] Connection timed out
        21528 Ready to try connection again
        22542 Attempting to connect now
        66722 Trying TCP/IP host "IG01" port 8002 ...
        66722 ... Okay, IP Address = 10.0.0.6
       132991 Trying TCP/IP host "IG01" port 8002 ...
       132991 ... Okay, IP Address = 10.0.0.6
       199260 Trying TCP/IP host "IG01" port 8002 ...
       199260 ... Okay, IP Address = 10.0.0.6
       246451 Connection made okay!
       246763 Connection closed by server!
       246794 ***ERROR C0000005 at 70B57D42 Main WM_MYTIMER(0x00000000, 0x00000000, 0x00000000)
       246794 ***      Access violation trying to read address 70B57D42
       246794 ***      EAX 00CA65D8  EBX 00000000  ECX 7EFDD000  EDX 00000000  EDI 00000000  ESI 00000000
       246794 ***      EIP 70B57D42  EBP 0018E0D0  ESP 0018E038
       246794 ********** Modules List ***********
       246794 00400000-00B4E000 WideClient.exe
       246794 735F0000-735F9000 VERSION.dll
       246794 73AD0000-73B50000 uxtheme.dll
       246794 74E10000-74E16000 rasadhlp.dll
       246794 74E20000-74E58000 fwpuclnt.dll
       246794 74E60000-74E67000 WINNSI.DLL
       246794 74E70000-74E8C000 IPHLPAPI.DLL
       246794 74E90000-74E98000 winrnr.dll
       246794 74EA0000-74EE4000 DNSAPI.dll
       246794 74EF0000-74F02000 pnrpnsp.dll
       246794 74F10000-74F15000 wshtcpip.dll
       246794 74F20000-74F30000 napinsp.dll
       246794 74F30000-74F40000 NLAapi.dll
       246794 74F40000-74F7C000 mswsock.dll
       246794 74F80000-74F93000 dwmapi.dll
       246794 74FA0000-74FB4000 MSACM32.dll
       246794 74FC0000-74FC9000 HID.DLL
       246794 74FD0000-74FF5000 POWRPROF.dll
       246794 75000000-75032000 WINMM.dll
       246794 75040000-750B2000 DSOUND.dll
       246794 75140000-7514C000 CRYPTBASE.dll
       246794 75150000-751B0000 SspiCli.dll
       246794 751E0000-751E6000 NSI.dll
       246794 75270000-7530D000 USP10.dll
       246794 75600000-75635000 WS2_32.dll
       246794 75850000-758B0000 IMM32.DLL
       246794 758E0000-75970000 GDI32.dll
       246794 75970000-75B0D000 SETUPAPI.dll
       246794 75B10000-75B29000 sechost.dll
       246794 75B30000-75C40000 kernel32.dll
       246794 75C40000-75D9C000 ole32.dll
       246794 75DB0000-75E3F000 OLEAUT32.dll
       246794 75E50000-75E97000 KERNELBASE.dll
       246794 75EA0000-75EC7000 CFGMGR32.dll
       246794 76050000-76140000 RPCRT4.dll
       246794 761D0000-762D0000 USER32.dll
       246794 76360000-76401000 ADVAPI32.dll
       246794 76560000-7662C000 MSCTF.dll
       246794 76630000-7727B000 SHELL32.dll
       246794 77280000-7732C000 msvcrt.dll
       246794 77330000-77387000 SHLWAPI.dll
       246794 77390000-773A2000 DEVOBJ.dll
       246794 777A0000-777AA000 LPK.dll
       246794 777D0000-77950000 ntdll.dll
       246794 ***********************************
       246794 EIP 70B57D42 is in , Base=00000000
       246794 Stack EBP 0018E0D0->004148F1, which is WideClient.exe (Base=00400000)
       246794 Stack EBP 0018EC10->00000000, which is  (BAD) (Base=00000000)
       246794 Stack EBP 0043D6FC->5F4D5720, which is  (BAD) (Base=00000000)
       246965 Attempting to connect now
       246965 Error on client post-Connection Select() [Error=10053] Software caused connection abort
       246965 Connection closed by server!
       246965 The connection was terminated due to a time-out or other failure!
       246965 Attempting to connect now
       246965 Connection made okay!
       247075 Using "C:\Modules\WIDECLIENT\GFDEV.DLL", version 2.2.4.3
       247075 GoFlight GFP8 detected: 1 device
       247075 GoFlight GFT8 detected: 1 device
       247075 GoFlight GFRP48 detected: 1 device

       343359 ****** End of session performance summary ******
       343359 Total time connected = 96 seconds
       343359 Reception maximum:  0 frames/sec, 0 bytes/sec
       343359 Reception average whilst connected:  0 frames/sec, 0 bytes/sec
       343359 Transmission maximum:  0 frames/sec, 1 bytes/sec
       343359 Transmission average whilst connected:  0 frames/sec, 3 bytes/sec
       343359 Max receive buffer = 0, Max send depth = 1, Send frames lost = 296

       343359 ********* Log file closed (Buffers: MaxUsed 1, Alloc 297 Freed 297 Refused 0) *********

     

     

    Kind regards,Thomas

  3. Hello,

     

    If i press the ALT-Key on the Keyboard, the Menu appears in FSX/P3D,

    if i press ALT-Key longer, the Menu disappears,

    that´s the way I know and do.

     

    I use the Button Screen Facility in WideFS, press the ALT-Key (programmed as described in the WideFS USer Guide.pdf) 

    and the menu in P3D appears, as it should.

     

    Is there any way to let it press "longer" , resulting the menu in P3D disappearing ?

     

     

    Kind Regards,

    Thomas

  4. Finally, i´m glad got it to work. :idea:

    Thank you for your effort and patience.

    Investigated the log, and gone slightly deeper into the documentations and recent forum posts for examples and scripting techniques.

    I put the script herein, maybe someone finds it helpful...

    (hope there are no errors anymore...it gets loaded and it is working as i expect)



    function gpsled(offset, value)
    if
    ipc.readUW(0x281C) == 1 -- IF BATTERY=ON
    and
    ipc.readUW(0x2E80) == 1 then -- IF AVIONICS=ON
    if value ~= 0 then -- not equal ZERO
    gfd.SetLight(GFP8, 0, 0)
    else
    gfd.ClearLight(GFP8, 0, 0)
    end
    end
    end
    event.offset(0x132C, "UD", "gpsled") -- NAV/GPS

    [/CODE]

    Kind Regards,

    Thomas

  5. Have you really got 102 GF-P8 units connected to your system? GF numbers the units 0 for the first, 1 for the 2nd and so on.

    102 was the Number of the device in FSUIPC.ini, as i programmed the button(GF-P8 Button), so i thought this number(102) is also the "Unit" Number which is used by Lua.

    Have an event.offset on offset 132C and use the value passed to the function to set or clear the light accordingly. You can have the Lua loaded automatically using the [Auto] facility in the FSUIPC INI file.

    According to your advice and the "FSUIPC Lua Library.pdf", i tried as follows:

    You should know, my programming skills are really, really poor...

    Loaded via FSUIPC.ini

    [Auto]

    1=Lua Gps


    function gpsledon(132C,1)
    function gpsledoff(132C,0)
    end
    event.offset(132C, "UD", "gpsledon")
    gfd.SetLight(GFP8, 0, 0) -- (Model GFP8, Unit 0, Led 0)
    end
    event.offset(132C, "UD", "gpsledoff")
    gfd.ClearLight(GFP8, 0, 0) -- (Model GFP8, Unit 0, Led 0)
    end
    [/CODE]

    Doesn´t work.

    Tried something other... :

    [CODE]
    if
    ipc.readUW(132C) == 1
    then
    gfd.SetLight(GFP8, 0, 0)
    end
    if
    ipc.readUW(132C) == 0
    then
    gfd.ClearLight(GFP8, 0, 0)
    end
    [/CODE]

    Also doesn´t work.

    Sorry i can´t get rid of this...

    Please give me another hint/example to sort my errors out.

    Thank you!

    Kind Regards, Thomas

  6. Thanks for the hint.

    Now i have researched, coming to this result as follows:

    Created "gps.lua" , assigning the first Button of the GF-P8 Module

    using drop down menu in FSUIPC-Buttons Facility as "Lua Gps"


    -- Goflight Module GF-P8
    --
    -- Button 01
    -- Button function(Offset:66375,0 TOGGLE GPS DRIVES NAV1)
    -- LED function(132C 4 NAV/GPS switch, in FS2000 & FS2002. 0=NAV, 1=GPS)
    -- Model: GFP8
    -- Unit: 101
    -- Button: 0
    if
    ipc.readUW(0x281C) == 1
    then
    ipc.control(66375, 0)
    end
    if
    ipc.readUW(0x132C) == 1
    then
    gfd.SetLight(GFP8, 101, 0)
    end
    --
    -- Button 02
    -- Button function()
    -- LED function
    -- Model: GFP8
    -- Unit: 101
    -- Button: 1

    --
    -- Button 03
    -- Button function()
    -- LED function
    -- Model: GFP8
    -- Unit: 101
    -- Button: 2
    [/CODE]

    Toggle GPS DRIVES NAV1 is working, but no lights on the GF-P8 Module.

    ATT no Button of the GF-P8 Module is controlled via gfconfig.

    gfconfig is installed in its standard way.

    Please give me another hint, whats wrong in my code, what did i miss out?

    Kind Regards,

    Thomas

  7. I have read GFDisplay is not supported anymore, so i don´t use it(and don´t read the manual)

    Now i don´t know which function/programm i should use, to solve my needs:

    Using FSX and a Goflight P8 Pushbutton Module.

    I have programmed a Button of the GF-P8 to GPS DRIVES NAV1.

    Offset:132C 4 NAV/GPS switch, in FS2000 & FS2002. 0=NAV, 1=GPS

    (I can also use gfconfig to do exactly this, but GF-P8 doesnt recognize the state

    so when "GPS Drives NAV1"=ON, there is no active green LED.(I think gfconfig doesn´t support this.))

    I want the LED light up when using the FSX-internal GPS (GPS Drives NAV1)

    Please can you help me, what can i do ?

    Thomas

  8. Hello,

    is it possible to add a second,third,.. "rule"(offset condition) to execute an action assigned to the button?

    i want(for example):

    if BATT=ON+AC ON GROUND then PM ELEC ND OFF

    i tried as follows, but doesn´t work this way:

    24=W281C=1 P109,3,C2984,0 ;GF-IGN-LEFT PRESS-PM Elec ND OFF(IF BATT=ON)

    25=W0366=1 P109,3,C2984,0 ;GF-IGN-LEFT PRESS-PM Elec ND OFF(IF ON GROUND)

    tried also:

    24=W281C=1,W0366=1 P109,3,C2984,0 ;GF-IGN-LEFT PRESS-PM Elec ND OFF(IF BATT=ON)

    Regards,

    Thomas

  9. an "on" signal represents a change, and changes are signalled. The GoFlight interface does not do that.

    Ok, I didn´t know that.That´s the point.

    use the "InitialButton" option in the INI file (see Advanced Users guide)

    That´s the solution for me, and it works,

    but how can i add 2 Initial Buttons?

    Now i have programmed 2 rocker switches of the GF-T8 as follows:

    PM Elec ND ON (Control sent when button pressed)

    PM Elec ND OFF (Control sent when button released)

    PM Elec EICAS ON (Control sent when button pressed)

    PM Elec EICAS OFF (Control sent when button released)

    I tried using numbering 1....2.

    But this doesnt seem to work.

    [buttons]

    ButtonRepeat=20,10

    InitialButton1=109,0

    InitialButton2=109,1

    1=P109,0,C2968,0

    3=P109,1,C2969,0

    4=U109,1,C2985,0

    6=U109,0,C2984,0

    Thank you !

    Kind Regards, Thomas

  10. Hello,

    The PM Glass Cockpit lights up all his screens, when FSX-BAT MASTER is ON.

    That´s ok, but I want to bypass this,

    because i want to switch on the displays separately after FSX-BAT MASTER switched "on".

    For this i programmed a Goflight T8 Module as follows:

    In the fsuip facility "Buttons + Switches" i configure the rocker switch from the Goflight T8 as follows:

    PM Elec ND Off (Control sent when button pressed)

    PM Elec ND On (Control sent when button released)

    I decided to configure the rocker switch(from the Goflight T8) in the ON-State

    to an OFF command(PM Elec ND Off),

    because i thought FSUIPC scans at startup all connected devices for their states of their buttons(pressed or released)...

    But it seems, FSUIPC doesn´t scan the (Goflight)devices at startup.

    I have to switch the rocker switch from the Goflight T8 one time, than the state is recognized and it works.

    On the other hand, FSUIPC well recognizes a "Button in pressed state" immediately after FSX start,

    when i use a simple HID Device(Joystick Controller).

    What can i do here ?

    Thomas

  11. Sorry, I'm confused. The "ShutDownHotkey" sends a shutdown notification. What's that got to do with starting apps?

    I use this Hotkey to shutdown the apps on the client, if there are errors occuring. After 12 seconds the apps start again, so this is ok.

    What is the problem you want to solve? 30 seconds at the start of each day? I don't understand.

    There's a delay in the starting up of WideServer in the Server end, which is there deliberately to ensure everything is correct.

    I didn´t know this. That´s the answer. I thought there is a setting in the .ini file which i didn´t figure out.

    Thank you,

    Regards,

    Thomas

  12. Hello Pete,

    *FSX SP2*

    *FSUIPC 4.80*

    *WideFS 6.94*

    *Windows7 64bit*(FSX-PC)

    *Windows7 32bit*(Clients)

    attached WideClient.ini+FSUIPC.ini

    If FSX is fully up and loaded, it takes approx. 30 sec to start the App on the clients.

    If I use the "ShutdownHotKey=83,11" than it takes approx 12 sec. to start the App on the clients.

    I did not program any delay in the Wideclients [user] Section,

    nor did i change something in the Wideclients [Config] Section.

    Is there a setting in any .ini file, to reduce/set this time to start Applications on the Clients?

    Kind Regards,

    Thomas

    Wideclient.ini.zip

  13. I have many Applications which uses FSUIPC/WideFS.

    How many Applications can ONE WideCLIENT handle until Performance decreases ?

    And how many the Server ?

    for example : on the Client there are 4 Programs which swap

    Data with the Server.

    Better to install 2 Apps on the Server ?

    What is the better way ?

    Hope you can find out what i mean... :oops:

    Best Regards,

    Thomas

  14. Hello,

    Is it possible for FSUIPC 3.xx or WideFs 6.xx to CLOSE a program,which i had startet MANUALLY ?

    A application named "AlertPro" needs configuration at EVERY run-up (dont´t ask mey why...:?) using the Mouse ,so i used a so called "Mouse Recorder" which does the work for me(starting,configuration,hiding of "AlertPro").This Program drives and klicks the Mouse for me...

    If i close FS ,then this "AlertPro" should also close.

    (The Mouse Recorder closes itself, after work done)

    Regards,

    Thomas

  15. Hello,

    Is it possible to define a keystroke,which,when pressed reloads me the MSFS-internal (all 15 minutes updated) global Weather ?

    Actually i define a Default-Flight with MS-internal global weather,

    but the weather is always the same at startup,so i want to reload the weather,

    but I dont want to go into the Menu,and press this buttons, because i don´t see me taking the Mouse into my Homecockpit :shock:

    Regards,

    Thomas

  16. Hello Pete,

    At this time , i have no PFC-Stuff.

    I want to know this, for planning purposes.

    I would not connect 2 RICs.

    One RIC is in the Pro Console INTEGRATED.

    The other RIC comes with the Digital Avionics.

    Now i want to left all the Functions predestined for a RIC on the Pro Console(ADF,ALT,CRS,HDG,OBS), and program the (2nd)RIC on the Digital Avionics with other Functions using FSUIPCs Button Facilities...

    Regards,

    Thomas

  17. Hello,

    If i have one RIC on the ProConsole and the other RIC is connected to the Digital Avionics,can i configure this 2 RICS independetly from each other without loosing the Functions on the other RIC?

    So i want to configure one RIC using PFC.dll and the other RIC using FSUIPC-Buttons Facility.

    Possible ?

    Regards,

    Thomas

  18. Hi,

    It seems,the MCP Kcodes (by Param) - Facility is not working.

    Maybe i understand it wrong... Kcodes means KEY-Codes...?

    whatever...

    I select it,and enter "70" as the Parameter- 70 = "F"

    "F" is on the PM-FCU ->Flight Director Button

    But it doesn´t work.

    ---

    Controlling the GlassCockpit with "PM GC Keys" works normal.

    but there is also a Problem.

    I have to press the Button 2 times to enable a Function...

    ...but i think this is PM-related...

    Thank you

    Best Regards,

    Thomas

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