Jump to content

Recommended Posts

11 hours ago, MarkDH said:

You seemed to be saying that the FSUIPC suggestion I posted was the same as the FSUIPC code you had posted. I was pointing out that it isn't the same.

Thanks.  My bad, I wasn't clear that my "Yes" was to concur with your statement that there are many ways in FSUIPC to achieve the desired result.


[CPL]  I9-9900K @5.0GHz HT ON, Maximus XI Hero, ASUS TUF RTX4080 OC, 32GB DDR4 3200 14, 1TB NVMe SSD, 500GB SSD, 1TB HDD, 40" Samsung 4K TV, Honeycomb Alpha & Bravo, Logitech Rudder Pedals, WIN11

Share this post


Link to post
Share on other sites
On 10. 11. 2017 at 2:27 AM, ark said:

As you can see from the picture below from the FSUIPC Offsets Status document, FSUIPC offset 0BC0 is the elevator trim offset with values that range from -16383 (full down) to +16383 (full up). Then under the FSUIPC Buttons and Switches tab the Offset Sword Increment and Offset Sword Decrement controls are used to change the trim value. Increment increases nose up trim and Decrement does the opposite. The 16 in the parameter 16/16383 means each push (or repeat) of the trim button represents a change (increment) of 16 out of the total range from -16383 to +16383. Or said another way, you dividing the -16383 to 16383 range into 32766/16=2048 steps (one step per trim button push or repeat). Increasing the number of steps by decreasing the 16 value gives you finer (slower) trim control, and decreasing the number of steps by increasing the 16 value speeds up the trim action. The same idea holds for the down trim step size, and note the negative sign on the Decrement parameter 16/-16383. By making these values profile specific (specific to particular a/c), you can have different trim rates for different a/c. Note the box "Control to repeat while held" needs to be checked.

The text below is from the box on pg 31 of the FSUIPC Users Guide:

Al

Offset Increment/Decrement Controls
The increment/decrement controls operate on signed (Sbyte, Sword) or unsigned values (Ubyte, Uword), and have a more complex
parameter that specifies both the increment/decrement (always positive) and a limit, thus:
<increment value> / <limit>
This allows things like Trim adjustments to be programmed to be whatever speed you like, or even multiple speed if you have
enough buttons or levers to spare. Taking Trim as the example:
The elevator trim is a signed WORD at offset x0BC0. For this sort of information you'd need the Programmer's Guide in the
FSUIPC4 SDK. Its range is –16383 (full trim down) to 16383 (full trim up). So, when programming your button/levers:
1. Select the "Offset SWord Increment" control to program the nose up trim.
2. Enter x0BC0, or just xBC0 into the offset edit box.
3. Enter 256/16383 in the parameter box. The 256 is the increment and 16383 is the limit. This will give 128 steps between –
16383 and +16383 inclusive (32768 / 256 = 128). If you want a faster, coarser trim adjustment specify a larger increment, and
of course vice versa for a slower, finer adjustment.
4. You'll probably want it repeating whilst held, so check that too (but never set repeat for rotary switches which can be left in
an ‘on’ position, nor latching switches).
5. Do the same for the decrement, with a parameter of 256/–16383 (–16383 being the lower limit). Note that the decrement is
still positive—you can only provide positive numbers for this part. It is the definition of increment or decrement which
controls the addition or subtraction.
6. When reviewing such assignments you may see the parameters showing in hexadecimal (preceded by ‘x’). This is an optional
way of inputting these in the first place, just as with the offsets.
Note: This tmethod can also be applied to the rudder & aileron trims. Select "Offsets sword increment" with 256/16383 as the
parameter to trim to the right, and select "Offset sword decrement" with256/-16383 as the parameter to trim to the left. Enter
x0C04 for rudder trim or x0C02 for aileron trim into the offset edit box, and then proceed as 3 to 5 above

 

 

5540f9e4f8.JPG

I really appreciate the time that you took to explain this. Thank you so much! FSUIPC is even more complex than I thought :-)


Tomáš Pokorný

sign.php?call=160   signature-dark.png

SYSTEM -> CPU: Intel Core i7-8700K @ 5.0 GHz | GPU: Gigabyte GeForce GTX 1080 Ti @ 2027 MHz | RAM: 2x8 GB G.Skill Trident RGB 3200 MHz | MOBO: AsRock Z370 Extreme 4 | SSD: Kingston 256 GB, Samsung 860 EVO 1 TB | HDD: Western Digital 1 TB | CPU COOLER: Corsair H115i | CASE: Corsair Obsidian Series 750D | PSU: Seasonic Focus Gold 750W 

EQUIPMENT -> YOKE: Saitek Pro Flight Yoke System + Throttle Quadrant, Saitek X52 | RUDDER PEDALS: Saitek Pedals | CAMERA: TrackIR 5

Share this post


Link to post
Share on other sites
3 hours ago, ThomassoCZ said:

I really appreciate the time that you took to explain this. Thank you so much! FSUIPC is even more complex than I thought :-)

You are most welcome -- glad to be of some help.  Yes, while FSUIPC does have a learning curve, in my opinion it is a wonderful addon program the provides the user with many options that otherwise would not be easily available.

Al

Share this post


Link to post
Share on other sites
On 11/9/2017 at 3:05 AM, gboz said:

For me definitely, but I'm more GA than airliner.
It's quite a solid, well made product. Also just big enough to be taken seriously.

gb.

" Also just big enough to be taken seriously"

That, is one amazingly accurate description. I own the wheel and know exactly what that means.

It struck me enough to comment on it.

Well put, gb

 

jime

  • Upvote 1

Banner_MJC5.png

James D. Edwards

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...