![](https://forum.simflight.com/uploads/theme_resources/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
mroschk
-
Posts
168 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by mroschk
-
-
just my cent: check the offset size
private Offset<int> Flapscontrol = new Offset<int>(0x0BDC); private Offset<double> agl = new Offset<double>(0x0020);
as of the Fsuipc documentation both are 4 bytes long
-
Hello,
that works ... thanks a lot !!
-
Hello,
is it possible to load a Flightplan ( *.PLN ) via FSUIPC ??
I searched a offset, but did not found.
Thx
-
Hello,
thanks for your Answers.
I "think" i had it bevor like you proposed, but i am not really sure.
I am at work, so i will test it this afternoon and come back.
Thanks
Matthias
-
Hello Pete,
i need your help with offset 3110 to open/close the doors.
Since i have installed Prepar3D v2.5 i have this problem:
I use this c# code to control the doors:
private Offset<int> sendControl = new Offset<int>(0x3110, true); private readonly int TOGGLE_JETWAY = 66695; private readonly int TOGGLE_WINGFOLD = 66390; // AirStairs for JS800 private readonly int TOGGLE_AIRCRAFT_EXIT = 66389; // private readonly int SELECT_1 = 65538; private readonly int SELECT_2 = 65539; private readonly int SELECT_3 = 65540; private readonly int SELECT_4 = 65541; void Process_FS_Doors(int iDoorNumber) { Fsuipc_Process(); sendControl.Value = TOGGLE_AIRCRAFT_EXIT; 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(); }
I am sure, even if you did not speak c#, you understand this code.
Now, the problem, since P3D v2.5 , is that bevore this works i must first open the Main Exit via Shift + E on the Keyboard.
Thats crazy...then the code works fine for all doors.
Why the hell must i first use the keyboard one times ?
Have you any idea ?
Thanks
Mattias
-
Hi Pete,
thanks a lot...that works.
Thanks
Matthias
-
Hello,
i try to set up a self build throttle for the A2A Cessna 172.
The Lever is controlled by SIOC which is not the Problem because it works fine with
all other aircrafts.
I use the Offset 0x088C and set here Values from 0 - 16384, but nothing happens in the A2A Cessna.
I have also installed the Flight One Cessna.Here all works fine.
Has anyone a Idea what i can do?
Thanks
M
-
i am in the forum "FSUIPC Client DLL for .NET" which is from Peter or not ??
-
Hello,
a litle question/problem:
The Offset 3362 Length=1 controls the doors.
I have written a litle program which display the actul value of this offset.
Now, in Prepar3D v1.4 it works perfect. When i set these values to the offset:
1 - controls Door 1 - Main Exit
2 - controls Door 2 - Service Door
but in FSX it is not working.
The crazy thing is that, if i press Shift + E + 1 or Shift + E + 2 the offset shows the correct values 1 or 2.
But when i set the value 1 in the offset the Main Door opens/closes. But the Door 2 did not work.
Is there any different between FSX and Prepar3D ??
Thanks
Matthias
-
Hello,
i want to reset the Flightsim ( Prepar3d v1.4 ) via FSUIPC to System Time.
Under World -> Time and Season i have button "Reset to System Time".
Is there a Offset which i can set to one or some other easy way to do that via FSUIPC ?
Thanks
Matthias
-
-
Hello Pete,
is it possible to have a "onChange" EventHandler for an offset?
Brgds
-
Will try that out
Thanks a lot
MR
-
Hello,
a short question: What is the correct/best Offset to create a Google Earth KML File?
I want to display the correct alt based on the QNH Settings of the Altimeter.
Thanks
MR
-
Oh sorry, i thought it was only a example, but it was the offset ..
So thanks .. i will try it next time at home.
MR
-
Hi Pete,
sorry for the late answer...and thanks for yours.
I know about the tiller offset and need the visaversa for the 2 Lever Axis.
SIOC is easy, makes no different if you know or not, the outcome of sioc is easy.
I change my Lever Position which changes the Potentiometer and this movement changes the Offset.
The question is what Offset i must use for the Lever left and right to make that the
FSUIPC Axisassignment Tab can see these changes?
Thanks
MR
-
Hello,
via this SIOC Code i can set up the Tiller.
The tiller is conncected to a OC servo Card via a potentiometer.
Var 001, name tiller_pot, Link USB_ANALOGIC, Device 2, Input 1, posL 55, posC 128, posR 203
{
&tiller_offset = &tiller_pot
}
Var 002, name tiller_offset, Link FSUIPC_OUT, Offset $3BC4, Length 2
Ok, but is that same possible for the Throttle Levers ?
I tried different Offsets for Var 002, the Tiller Offset
Var 5064, name FS_THRPOS, Link FSUIPC_INOUT, Offset $0924, Length 2 // FS Right Lever Position 0932
Var 5065, name FS_THRPOS1, Link FSUIPC_INOUT, Offset $0932, Length 2 // FS Right Lever Position 0932
Var 5066, name FS_THRN1, Link FSUIPC_INOUT, Offset $0930, Length 2 // FS Right Engine N1%
, but without success.
Thanks
MR
-
Oh man ...i am on since 2 day's sorry.
I thinkk to set 635 into 3114 and 1072 into 3110 is right
Matthias
-
Ok, thanks a lot again.
So i have to set
STRG = 17 into 3114 and then 1072 into 3110 right?
Matthias
-
Hello,
hmm....i tried this, but it dosent work first time.
But then i tried 1071 for the 3110 Offset and now it works.
My calculator gives me first time for 123 + 256*2 = 758.
I think he miss the () around 256*2.
But now it works and i want to say Thanks you for the help again !
Matthias
-
Last Question because i can not really nderstand what you want to explain in the advanced user guide.
I did a test with the "Q" key to see how and if it works.
For that i puut now first 81 in Offset 3114 and then 1070 in 3110.
Ok, that works.
But how can i sen the combinationof CTRL+F12?
The document says
1070 Key Press and Release (param is Keycode + 256*Shift code, or JsBk)
Hmm...and i fond this in the document:
The <shifts> value is a combination (add them) of the following values, as needed:
1 Shift
2 Control
4 Tab
8 Norm
Add them where ??
I am very sorry, but i can really not understand what you here mean.
Please help for this a last time
Matthias
-
Hello,
ahh, now i got it .. i am sorry for asking
Matthias
-
Hello,
hmm, so ok i will try the other way via Offset 3110.
When i understand it correct i have first to set up the Offset like
private Offset<int> o_keys = new Offset<int>(0x3110);
then i found the 1070 control in the user guide
1070 Key Press and Release (param is Keycode + 256*Shift code, or JsBk)
so..if i want to send a "1" to the FSX which have the KeyCode 31.
What have i to set for the Offset 3110??
Is there maybe a example?
Matthias
-
Have you an example for Offset 3200 in any language?
Thx
Matthias
Loading a *.PLN via FSUIP
in FSUIPC Client DLL for .NET
Posted
Hello,
i had a test ... GREAT, THAT WORKS.
I also found this Offset, but did not know that it is th right one.
So Thanks
One Question... did you also know a way to clear the flightplan?
I tried to set a empty string in the Offset, but it did not work.
Matthias