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.

Assign shortcut key to TBM930 PFD using FSUIPC7

Featured Replies

I'm trying to figure out how I define a hotkey to select or trigger the PFD/MFD/COM on the TBM930 panel. I tried with the tutorials I have, but I don't think how, this function does not appear to define in FSUIPC7. Thanks.spacer.png

59 minutes ago, isnpms said:

I'm trying to figure out how I define a hotkey to select or trigger the PFD/MFD/COM on the TBM930 panel. I tried with the tutorials I have, but I don't think how, this function does not appear to define in FSUIPC7. Thanks.

You would have to know what variables get set when these buttons are activated.  Once you know that, you can use FSUIPC to set that variable.  That is assuming that the code is not buried in a Javascript file that you cannot access... which may well be the case here..

Edited by Bert Pieke

Bert

  • Author
On 4/28/2023 at 5:07 PM, Bert Pieke said:

You would have to know what variables get set when these buttons are activated.  Once you know that, you can use FSUIPC to set that variable.  That is assuming that the code is not buried in a Javascript file that you cannot access... which may well be the case here..

I've found this, but I don't know if it is useful: through the menu WASM > Activate Hvar... There I find the identifications of these functions. For example, in this menu, when I click on "H:AS3000_TSC_Horizontal_1_Softkey_2 - 0025, the button that changes to MFD is activated and the screen changes to MFD. As with the other three buttons, each one like "...Softkey_1... " (for PFD) and "...Softkey_3..." (for NAV/COM).

spacer.png

In FSUIPC these functions only appear, in the Key Assignments menu, when I check "Select for Preset". But even so, assigning a key to this command, it doesn't work. In Spad .next these commands do not appear.

spacer.png

1 hour ago, Bert Pieke said:

I will try to replicate..

There a couple of options here that work to activate the MFD select button for the Garmin TSC screen.

1. You can define a one line (or more if necessary) Lua script like this: ipc.activateHvar("H:AS3000_TSC_Horizontal_1_Softkey_2"),  give the script a name, e.g., TBM930_MFD_SEL.lua, put the script in the same folder as your FSUIPC7.ini file, restart FSUIPC7 and then assign a key or button as usual to call the script.

2. Or, you can define a Preset that goes in your myevents.txt file that is in the same folder as your FSUIPC7.ini file (create the file if it doesn't exist). You can define the Preset like this:

TBM930_MFD_SEL#(>H:AS3000_TSC_Horizontal_1_Softkey_2) 

where the part before (left of) the # is a name that you make up. After putting this preset in your myevents.txt file  start FSUIPC7 and the preset name (TBM930_MFD_SEL) will appear in the drop down list for a key or button assignment. To make it show up in the list you have to check the "Select for Preset" check box which is somewhere in the FSUIPC7 window you are you are using to make a key or button assignment.

BTW, note there are a lot of predefined TBM presets in the drop down list (look for "TBM") . These predefined presets are in another file just called event.txt.

Al

 

Edited by ark

13 minutes ago, Bert Pieke said:

Thanks, Al ! 🙂

You are most welcome. Note I originally had a typo above (now fixed) -- the myevents.txt file did not have the "s" at the end of the name.  🤕

Also note you need to have the FSUIPC7 WASM module installed, and the WASM interface active in FSUIPC7

Al

Edited by ark

  • 4 weeks later...
  • Author
On 4/30/2023 at 12:59 PM, ark said:

There a couple of options here that work to activate the MFD select button for the Garmin TSC screen.

1. You can define a one line (or more if necessary) Lua script like this: ipc.activateHvar("H:AS3000_TSC_Horizontal_1_Softkey_2"),  give the script a name, e.g., TBM930_MFD_SEL.lua, put the script in the same folder as your FSUIPC7.ini file, restart FSUIPC7 and then assign a key or button as usual to call the script.

2. Or, you can define a Preset that goes in your myevents.txt file that is in the same folder as your FSUIPC7.ini file (create the file if it doesn't exist). You can define the Preset like this:

TBM930_MFD_SEL#(>H:AS3000_TSC_Horizontal_1_Softkey_2) 

where the part before (left of) the # is a name that you make up. After putting this preset in your myevents.txt file  start FSUIPC7 and the preset name (TBM930_MFD_SEL) will appear in the drop down list for a key or button assignment. To make it show up in the list you have to check the "Select for Preset" check box which is somewhere in the FSUIPC7 window you are you are using to make a key or button assignment.

BTW, note there are a lot of predefined TBM presets in the drop down list (look for "TBM") . These predefined presets are in another file just called event.txt.

Al

 

Thank you very much for your help. I've tried option 2 and worked perfectly. I don't know why using the original event.txt presets it didn't worked, but creating myevents.txt doing all you suggested It worked fine.

Archived

This topic is now archived and is closed to further replies.

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.