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.

Script Q for fuel cond lever setting

Featured Replies

Hi! I was hoping you can help me sort out a script. I've been deep diving the internet for days and trying different things before asking here for help.

I'm trying to get the BKSQ Caravan to switch the condition lever depending on where the actual physical lever is set on my THQ6. I've found previous threads discussing this exact solution but it looks like it was from before the map LVars to Bvars Extras feature was depreciated so those are outdated. The setting the axis of my lever to 0 to 2 should still work given that's the variable being passed to set the position. 

I downloaded some various streamdeck setups when I set that up and have imported a BKSQ C208 xml which contains various vars for the condition level. I can test all the FUEL CondLever vars and they work as expected in the sim. I've tested the toggle High/Low and toggle Low/Off as well and they work too but I'm missing the last step to create a script that goes from High/Low/Off depending on the setting passed to it. 

What exactly does the script need to look like to solve this so I can run that script on the mixture axis with a range of 0 -2? Thanks for your help. This will will help me gain a little more understanding of how to work with other similar problems going forward. 

  • Commercial Member

You can do that on the Axis dialog itself, no need for a script.

Type the variable name "B:whatever" into the "Enter Variable" box, set Axis Min to 0, Axis Max to 2 and Rounding to int.

BVars-to-LVars is no longer needed, AAO can deal with BVars directly.

Edited by Lorby_SI

LORBY-SI

  • Author

Perfect! Thank you! I saw the old way was depreciated but I would have never guessed it was this easy. I didn't try this. For some reason on my THQ6 I have to set a range of -1 to 2 for it work right given that this throttle has a physical stop in the range that you click past to get to the bottom of the movement, in this case, where I wanted the cutoff. It all works and I'm a little smarter about this tool. Thanks! 

Edited by bazonkers

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.