mroschk
Members-
Posts
168 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by mroschk
-
Hello, no question, FSUIPC + SDK is amazing...and with the .Net functionality it is nice. But, as you wrote, it is started 20 years ago. Have you maybe plans to develop a new Object oriented dll?
-
Hello, i know this example from the SDK. But i think a Timer for such a Operation is not a really good and .Net conform Solution. I am very sensitive with timers in any .Net program. Matthias
-
Yep...thanks
-
Hello, thanks for the Answer. I understand..it is not working with FSUIPC at the Moment. But it Sounds very good that you think about including it. I see two way's here: 1. A Special class which the user can add Offsets to Monitor. This class provides the eventhandler like in c#: https://msdn.microsoft.com/de-de/library/system.eventhandler(v=vs.110).aspx 2. I dont know if it is possible, but it is the best way i think. If it is possible use the FSX or P3D to Trigger the update of an Offset. Then the user can just look at it and just do it like in a c# Event like: private Offset<int> airspeed = new Offset<int>(0x02BC); airspeedonChange().... That second way would be great! Matthias
-
Hello, just question if Events are possible with C#.Net FSUIPC Client? Like in the Windows programming .... as example onButtonPress()...for Offsets. So, if an Offset Change, i want that a procedure is autmatic called and the Offset chage can be handled. Matthias
-
very complicated. Just go to the Button & Switches Tab, press the Joy Button and select Keypress & Hold. Enter Number 17 ( vor the CTRL Key ) and check repeat while hold. So easy
-
by the Way...attached is a Picture of all files in the Modules Directory. In the File "FSUIPC4 User Guide.pdf" page 44 i found the attached second Picture. There should be a list of all Keys in the Advanced user Guide.pdf page 81 I have just a file called "FSUIPC4 for Advanced Users.pdf", but this has only 62 Pages and also nothing about keys. It seams not so easy as you describe
-
for sure, but i want to send ONLY STRG AND HOLD IT as a PTT key. and that is not in the user guide
-
Moved to Main Forum, Questions related to FSUIPC always post in Main Forum! Hello, i just want to use a Joistick as PTT Key for Teamspeak, which runs on the same PC then th FSX. How can i do that? I have set the LEFT STRG in Teamspeak. What else must i do to have the Joistick Button for the PTT key? Matthias
-
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
i am using the dll from your SDK and had a look in the example. But i did not find a example how to use this 2 Offsets. -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
I dont know what you mean with "What Library i use", i am using the FSUIPC.dll, if you mean that. What else can i use with C#?? But i got it working. Thanks Matthias -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
hmm, it seams not. How can i send as example a keypress "1" to P3D via c# in Connection with Offset 3110/3114 ?? Have you an example in c# or c++ ? Thanks -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
i have not tried yet...i will inform you -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
Hello, yes, SIOC can. The question is if P3D or the ATC window must have the Focus and what is the Name of the Window to find it and set the Focus to it. Matthias -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
Hello Pete, i can not use LUA for that because i Need to Control it via SIOC. Thats the only way i can use. ( i also never use the ATC from the Sim, it is for the users ) Matthias -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
He Pete, is it possible ( for a temporary Solution ) to send a KeyPress ( 0...9 for the ATC Window ) via FSUIPC Offset and without needed to give P3D the Focus? Matthias -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
Hi Pete, thats the same here. Open/Close the ATC Window works fine, but not able to select the Numbers. I will Report this also to LM. Matthias PS: http://www.prepar3d.com/forum/viewforum.php?f=6312 -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
Hi Pete, thanks for the Answer. So i know now this is not my issue ( and not really your's ). Where can i get FSUIPC 4.947C ? On the Website i see only v 4.946. Matthias -
Need Help with ATC commands via 3110
mroschk replied to mroschk's topic in FSUIPC Client DLL for .NET
Hello, thanks for the Answer. Before i have installed P3D v3 i had FSX and after that P3D v2.5. Also hee works the Code fine. So there is no Problem, which is the reason i did not post the other Code. I think there is maybe anything changed in V3. Can pls anyone test it in v3 ? Thanks Matthias -
Hi Volks, i must again ask for help with this Offset. Now it is the ATC Menu which makes Problems. With this Code i got now the Doors to work: sendControl.Value = TOGGLE_AIRCRAFT_EXIT; Fsuipc_Process(); Thread.Sleep(50); if(iDoorNumber == 0) sendControl.Value = SELECT_1; if(iDoorNumber == 1) sendControl.Value = SELECT_2; if(iDoorNumber == 2) sendControl.Value = SELECT_3; if(iDoorNumber == 3) sendControl.Value = SELECT_4; Fsuipc_Process(); Now i tried the ATC Menu and add this constants: private readonly int ATC = 65564; private readonly int ATC_MENU_0 = 66181; private readonly int ATC_MENU_1 = 66172; private readonly int ATC_MENU_2 = 66173; private readonly int ATC_MENU_3 = 66174; private readonly int ATC_MENU_4 = 66175; private readonly int ATC_MENU_5 = 66176; private readonly int ATC_MENU_6 = 66177; private readonly int ATC_MENU_7 = 66178; private readonly int ATC_MENU_8 = 66179; private readonly int ATC_MENU_9 = 66180; and created this Code to manage the ATC Window switch(msg) { case "O": sendControl.Value = ATC; break; case "0": sendControl.Value = ATC_MENU_0; break; case "1": sendControl.Value = ATC_MENU_1; break; case "2": sendControl.Value = ATC_MENU_2; break; case "3": sendControl.Value = ATC_MENU_3; break; case "4": sendControl.Value = ATC_MENU_4; break; case "5": sendControl.Value = ATC_MENU_5; break; case "6": sendControl.Value = ATC_MENU_6; break; case "7": sendControl.Value = ATC_MENU_7; break; case "8": sendControl.Value = ATC_MENU_8; break; case "9": sendControl.Value = ATC_MENU_9; break; } Fsuipc_Process(); When i now call this procedure and give the Variable "msg" the String "O" it opens the ATC Menu. When i call it again and the ATC Menu is still open , then the ATC Menu Closes ... Thats perfect ! But when i open the ATC Menu and give then "msg" the string "1" or "2" it dosent work. The other Problem is that same Code works in Prepar3d v2.5 but not in my actual Prepar3d v3. I also checked Offset 3110 in your FSI and it becomes the correct value. Have you any idea ? Matthias
-
Hi Volks, i must again ask for help with this Offset. Now it is the ATC Menu which makes Problems. With this Code i got now the Doors to work: sendControl.Value = TOGGLE_AIRCRAFT_EXIT; Fsuipc_Process(); Thread.Sleep(50); if(iDoorNumber == 0) sendControl.Value = SELECT_1; if(iDoorNumber == 1) sendControl.Value = SELECT_2; if(iDoorNumber == 2) sendControl.Value = SELECT_3; if(iDoorNumber == 3) sendControl.Value = SELECT_4; Fsuipc_Process(); Now i tried the ATC Menu and add this constants: private readonly int ATC = 65564; private readonly int ATC_MENU_0 = 66181; private readonly int ATC_MENU_1 = 66172; private readonly int ATC_MENU_2 = 66173; private readonly int ATC_MENU_3 = 66174; private readonly int ATC_MENU_4 = 66175; private readonly int ATC_MENU_5 = 66176; private readonly int ATC_MENU_6 = 66177; private readonly int ATC_MENU_7 = 66178; private readonly int ATC_MENU_8 = 66179; private readonly int ATC_MENU_9 = 66180; and created this Code to manage the ATC Window switch(msg) { case "O": sendControl.Value = ATC; break; case "0": sendControl.Value = ATC_MENU_0; break; case "1": sendControl.Value = ATC_MENU_1; break; case "2": sendControl.Value = ATC_MENU_2; break; case "3": sendControl.Value = ATC_MENU_3; break; case "4": sendControl.Value = ATC_MENU_4; break; case "5": sendControl.Value = ATC_MENU_5; break; case "6": sendControl.Value = ATC_MENU_6; break; case "7": sendControl.Value = ATC_MENU_7; break; case "8": sendControl.Value = ATC_MENU_8; break; case "9": sendControl.Value = ATC_MENU_9; break; } Fsuipc_Process(); When i now call this procedure and give the Variable "msg" the String "O" it opens the ATC Menu. When i call it again and the ATC Menu is still open , then the ATC Menu Closes ... Thats perfect ! But when i open the ATC Menu and give then "msg" the string "1" or "2" it dosent work. The other Problem is that same Code works in Prepar3d v2.5 but not in my actual Prepar3d v3. I also checked Offset 3110 in your FSI and it becomes the correct value. Have you any idea ? Matthias
-
Hello, thanks....but first i will wait if Pte knows a solution if he is back. Matthias
-
Hello again, i am sorry, but i was too early too happy. It is not working. I use the exactly same Code you provide here. It is not working since i changed to P3D v2.5. Could that be a Problem? I have installed the latest FSUIP for sure. The crazy Thing is that i also have a Code for the Air Stairs and this is working fine. Only the doors wont work. Maybe anyone has any Idea please ? Thanks Matthias
-
Maybe Pete has any idea?
-
Hi, ok, thanks anyway !! Matthias