Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Looking in the "FSUIPC4 Status of IPC Offsets for FSX" list you state that the offset 088C for TQ Lever position is a
"Ok-SimC works okay using SimVars".

Does this means that it is a variable that is defined and can be used directly with SimConnect without FSUIPC?

If so, can you tell med the name of the SimConnect variable you are using to get the value to the FSUIPC offset 088C?

I can't find it in the SimConnect documentation, that's the reason for my question. 

Posted
13 minutes ago, roarkr said:

Looking in the "FSUIPC4 Status of IPC Offsets for FSX" list you state that the offset 088C for TQ Lever position is a
"Ok-SimC works okay using SimVars".

Does this means that it is a variable that is defined and can be used directly with SimConnect without FSUIPC?

If so, can you tell med the name of the SimConnect variable you are using to get the value to the FSUIPC offset 088C?

I can't find it in the SimConnect documentation, that's the reason for my question. 

It is "GENERAL ENG THROTTLE LEVER POSITION:1" (the 1 being for Engine 1).

It works both ways, reading and writing.

Pete

 

Posted

Thanks,

I have tried with this SimConnect variable, but can't get any values when moving the throttle lever.

 

In FSUIPC the offset is S16 type, shouldn't it then in SImConnect be a INT32 datatype?

It also says unit is Precent over 100.

 

Are you doing any calculation of the SImConnect variable from precent to the -4096 tp 16384 value range before adding to the offset 088C?

Posted
28 minutes ago, roarkr said:

I have tried with this SimConnect variable, but can't get any values when moving the throttle lever.

You have something wrong, then, as that is certainly what FSUIPC reads and writes with no problems.

29 minutes ago, roarkr said:

In FSUIPC the offset is S16 type, shouldn't it then in SImConnect be a INT32 datatype?

It also says unit is Precent over 100.

The FSUIPC offsets, since FS98 days, are intended to maintain compatibility over all versions of FS since then. That's why there is a "U" in the name "FSUIPC". It stands for Universal. Values from SimConnect are converted to the same units as those originally provided in FS98, FS2000, FS2002 and FS2004 (also CFS1 and CFS2 for a subset).

Added offsets since FS98 days carry extra information -- those can be added without causing application program incompatibility. Look in offset 3AE8 for the original value, in floating point 'double' (64=bit) format, which is what FSUIPC receives from SimConnect when specifying "percent" as the unit. The 16-bit fixed point value is derived from that.

Pete

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.