Metall4You
-
Posts
28 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Metall4You
-
-
Hello Paul
together with prosim737, SIOC Direct and WideClient is probably one connection too many. The keyboard of the CDU which is connected to SIOC Direct and ProSim737 freezes.
How can I establish a FSUIPC connection without WideClient?thanks for the notice
kind regards
Ramon
-
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
-
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
-
Hello John
I found out that SCPascal cannot read this Float64 offset as a double.
Kind Regards
ramon
-
Hello
would like to display the volt number from the offset 2834 8 bits. I get a value that I want to convert so that I get the volts displayed as in the IRS display / DC volts. what is the formula?
I didn't find anything in FSUIPC for Programmers. thank you for your decision.Greetings Ramon
-
Hi John
Many thanks for your Answer.
Can I check when the pushback is finished and then wait with a sleep for ca. 10 sec. and then play the wav file?
Kind Regards
Ramon
-
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")
endfunction checkPushback()
if checkiftrue==0 then
event.control(66483,"vlc")
end
endcheckiftrue=0
checkPushback()
kind regards
Ramon
-
Hi Pete
thank you for the great support. humberto has updated PSU to 1.8.2
Kind Regards
Ramon
-
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
-
Hello Pete
May I ask you, I cannot open the GSX Window via ProsimUtils. I noticed in the prosimutils error log that the commands
from the CDU (WideClient PC) arrive, see picture, but they are not executed on the Prepar3d v5 PC. Does it have
something to do with Fsuipc or SimConnect?Thanks for your feedback
Kind Regards
Ramon
-
It's work great. Thank you Pete.
Nice Sunday
Ramon
-
Hi John
I have the buttons active in FSUIPC. I activated the buttons with fscontrol and assigned the simconnect windows 0-9, but they are not executed when
i press the respective button. how can I assign the simconnect menus standard key presses (to select the appropriate menu entry) to a keypress?Cheers,
Ramon
-
Thank you John
-
Hi John
Thanky you for your Answer.
I thought I posted it in the wrong forum, sorry. Yes, I loaded the DLL yesterday but to no avail. Yes i use the latest (v6.0.8) Version.
the buttons do not respond.Kind Regards
Ramon
-
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
-
Hi Pete
Many thanks for your Answer. Now works with Offset 29f0...
Nice Sunnday
Kind Regards
Ramon
-
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
-
pete, found it
So, for example, you can send 0x00014016 to offset 29F0 to "press" button 22 (hex 16) on joy 64 (hex 40)
with Decimal to Hexadecimal Converter
kind regards Ramon
-
// initialize static integer array via array literal
Numbers : array [3] of byte= [16, 64, 1, 0];it would be much easier to write it as one 32-bit value, as suggested in the documentation. For example, your values would be:
$00014010
pete, how can calculate them or where i can found the documentation?
-
-
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
-
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
-
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
-
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
FSUIPC. DLL for .NET with SIOC Direct and WideClient
in FSUIPC Client DLL for .NET
Posted
Hello Paul
Should i have to install this modul's:
FSUIPC WASM Module 1.0.3 + WAPI 1.0.4
Kind regards
Ramon