Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trim wheel for trim axis, possible with NGX? Other hardware?

Featured Replies

I wonderif pausing the sim after the AP is disengaged, then moving the manual trim to get the trim indicator in the aircraft to read what it did while the AP was engaged before unpausing the sim would work?
It works. Just tried it and as soon as the sim is un-paused, the trim jumps to where you set it while paused
  • Replies 46
  • Views 6.3k
  • Created
  • Last Reply

Top Posters In This Topic

Hi BruceI only have one throttle quadrant at a time plugged into a USB port at the front of my computer. Just a thought; if you do buy the Saitek trim wheel and have a USB socket that you can easily get at, then you could unplug it when flying the NGX and use the pickle switch on your yolk to adjust the trim.

Regards

Nixon Thomas

  • Author

Hi Dario and Nixon,Thanks for confirming that the Saitek trim wheel can be reset during a pause in FSX to the correct value as set by the AP, and the idea of removing the USB plug if required to ensure that the trim wheel is out of circuit when it wouldn't function correctly (such as when using the NGX).Thanks, Bruce.

ASEL, Instrument.

KBJC, Colorado.

Do you want to try the other version of the script Jim?
Sure, I'll test it for you.
...it works just like the throttle, once you switch off the AP the trim will remain where the AP left it until there's an input from the pilot.
That is exactly what it does. I don't used this trim wheel on the NGX but this is the main problem with my GA aircraft.

Jim Cranford

Sure, I'll test it for you.
Ok, I'll need to tweak it cause as it stands, it keeps triming the A/C with the AP on. Shouldn't take long to fix. Hold on
Sure, I'll test it for you.
HereYou'll need to calibrate the script for your hardware:1.- Fire up FSX ,then open FSUIPC and click in the Axis Assignment tab.Now move your axis all the way to it's minimum detent and notetrimMinDetent.pngNote down the minimum axis output for your device. Mine is -163842.- Repeat for the max axis detent. Move it all the way to it's maximum and note down the max output:trimMaxDetent.png3.- Open the trimNGXTimer.lua with a text editor and edit the MIN_AXIS and MAX_AXIS constants to match your hardware output. Note that I have them inverted, do so too if you need to invert the axis.trimSettingDetents.png4.- Save the trimNGXTimer.lua to the Modules folder5.- Restart FSX and assign your axis to the "Lua Value trimNGXTimer" controlRight now it will ignore axis inputs with AP on, which I guess is not correct, since you could have no pitch mode active and then you should be able to trim the plane even with AP on, but I have no way to read the active modes. Maybe when the SDK is released there will be a way to access it from Lua

Looks good! I will try it out this weekend and get back to you.

Jim Cranford

Dazz, first of all I would like to report that your first LUA was not at fault for what was going on with my sim.It was indeed the other script causing the issues and for some reason it decided to wait until that moment to go haywire.With that said, I am unable to get either of yours to work with the Saitek TW.Like I said before I'm still a little green when it comes to LUA so it may be something I'm doing wrong.Both seems to have no effect on the trim wheel after being assigned per your instructions.

Jim Cranford

Dazz, first of all I would like to report that your first LUA was not at fault for what was going on with my sim.It was indeed the other script causing the issues and for some reason it decided to wait until that moment to go haywire.With that said, I am unable to get either of yours to work with the Saitek TW.Like I said before I'm still a little green when it comes to LUA so it may be something I'm doing wrong.Both seems to have no effect on the trim wheel after being assigned per your instructions.
Is your FSUIPC4.dll up to date? you need V4.6 or later to run Lua scriptsThis is the last versionhttp://fsuipc.simflight.com/beta/FSUIPC4751a.zipas found in Pete's forum here: http://forum.simflight.com/topic/66139-updated-modules/If it's up to date, is there some error logged in your FSUIPC4.log?
  • Author

Is there an option to display a textual value of what the trim is set to in FSX? I think that some of the variables are available to be displayed in the text window, I could be wrong- but if it's possible I'm wondering if the trim value can be displayed (so that I could synchronize a hardware trim wheel to the same value as the AP has set it to, after disconnecting the AP and pausing the sim).Thanks, Bruce.

ASEL, Instrument.

KBJC, Colorado.

Is there an option to display a textual value of what the trim is set to in FSX? I think that some of the variables are available to be displayed in the text window, I could be wrong- but if it's possible I'm wondering if the trim value can be displayed (so that I could synchronize a hardware trim wheel to the same value as the AP has set it to, after disconnecting the AP and pausing the sim).Thanks, Bruce.
This should display the trim on-screenJust assign a key or button to it in FSUIPC using the Lua displayElvTrim control. If you have buttons to map to the trim, you can use Dan's method to map them to the trim via FSX's Controls, and then this script in FSUIPC so that you can see the actual value while you trim the plane
Is your FSUIPC4.dll up to date? you need V4.6 or later to run Lua scriptsIf it's up to date, is there some error logged in your FSUIPC4.log?
Sorry Dazz for not answering your question.Yes I'm using the lastest version 4.749f of FSUIPC and honestly, I never checked the log.It's all good because I never intend to use the TW with the NGX.

Jim Cranford

  • Author

Hi dazz,Thanks, you sure do have some programming abilities :)So, just to make sure I understand. Assigning a key/button to it will toggle the trim text on and off, which while toggled on will show me the value of "trim" for the a/c, whether controlled manually or by an AP. So, if the sequence is1 Trim controlled by AP2 Toggle the trim text on, note the value3 APturned off, but since the manual trim is not yet touched, it has no effect4 Pause the dim5 Manually adjust trim, trim text now shows a/c trim controlled by the manual trim6 Adjust manual trim to show trim text as the reference value as shown above in 27 Toggle trim text off8 Continue flying with seamless transition to manual trim (other than pausing the sim, which is not too realistic :)Do I have that right?Thanks again,Bruce.

ASEL, Instrument.

KBJC, Colorado.

Hi dazz,Thanks, you sure do have some programming abilities :)So, just to make sure I understand. Assigning a key/button to it will toggle the trim text on and off, which while toggled on will show me the value of "trim" for the a/c, whether controlled manually or by an AP. So, if the sequence is1 Trim controlled by AP2 Toggle the trim text on, note the value3 APturned off, but since the manual trim is not yet touched, it has no effect4 Pause the dim5 Manually adjust trim, trim text now shows a/c trim controlled by the manual trim6 Adjust manual trim to show trim text as the reference value as shown above in 27 Toggle trim text off8 Continue flying with seamless transition to manual trim (other than pausing the sim, which is not too realistic :)Do I have that right?Thanks again,Bruce.
The displayElvTrim script shows the current value of the trim for 5 seconds. But I think I got confused. You wanted the FSX trim for your GA p`lanes? because that only shows the NGX trim
Sorry Dazz for not answering your question.Yes I'm using the lastest version 4.749f of FSUIPC and honestly, I never checked the log.It's all good because I never intend to use the TW with the NGX.
Ok, I know why it was not working. I forgot a step in the installation:Add the Auto section in the FSUIPC4.ini for the A/C or profile:I use a profile called NGX:
[Auto.NGX]0=Lua trimNGXTimer

for a particular model, for example the 738 in AA livery:

[Auto.Boeing 737-823NGX American Airlines Winglets]0=Lua trimNGXTimer

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.