# Features & Functions

Conditional Events and Local Variables are powerful for creating intelligent actions.  We may want to have multiple things on a single Button or Encoder.  We can use conditions to allow them to figure out which event to send on that click!  In this Video we use Multiple Conditions and a Local Variable to create our own Acceleration Events!!

{% embed url="<https://youtu.be/7U9YPcLAg7Y>" %}
Use a Local Variable and Multiple Conditions to create our own Encoder Acceleration!!
{% endembed %}

How to Remove the Warning about Trim Percent and Replace those actions using Trim Position instead!  This video shows you how to do that and explain why this warning is now appearing.  Also great example using the Event Monitor and Data Monitor Features!! &#x20;

{% embed url="<https://youtu.be/3JMpCkdZPkY>" %}
Resolve Trim PCT Warning with Trim Position!
{% endembed %}

From time to time the SDK can be updated or other developers like Fly By Wire may add their own sim events that SPAD.neXt is not aware of yet.  In those situations you can leverage the Client Events Tab in the Menu to add in any of these events that are missing..

{% embed url="<https://youtu.be/Tw53OCbGvQg>" %}
Client Event Tab: Add Missing Sim Events to SPAD.neXt
{% endembed %}

SPAD.neXt has a very useful Text to Speech Feature.  In this short Feature video we use it to setup button events and script events to have the Bravo and Multipanel tell us what their selectors are assigned to!

{% embed url="<https://youtu.be/v9cOmkwP1RE>" %}
Text to Speech: Devices Can Talk to you!
{% endembed %}

Another application where we needed to use Local Variables, Expressions and Conditions to make the Radio Panel operate in a different mode of operation for the transponder.  The operational result is a way to visualize how to leverage these SPAD.neXt features to enhance your sim experience!!

{% embed url="<https://youtu.be/TfgrF6RgwkI>" %}
Local Variable + Expression + Conditions = Alternate Operation!!
{% endembed %}

Use Local Variables and Conditional Events to put Multiple Functions onto a single Knob.  Here we use the example of toggling a Variable on the X-Touch by pushing the Knob to flip between Heading and Speed Controls.  We also setup a second Local Variable to make the Second Knob flip between Altitude adjustment in 100 Foot increments to 1000 Foot Increments.

{% embed url="<https://youtu.be/_hV32_FKfLA>" %}

This Video focuses on using a Local Variable that we Create to Allow us to assign conditions to what the Radio Panel will Display.  This example focuses on the Radio Panel and switching between displaying Baro in in/HG or MB but could be applied to anything!!

{% embed url="<https://youtu.be/uH3fGLts4Z4>" %}
Local Variable and Conditions = Multiple Display Options!
{% endembed %}

Using the "Import Device" feature.  Now you can Import a device from one of your other local profiles.  No longer need to switch profiles.. copy the device... switch back to Paste it!!

{% embed url="<https://youtu.be/R6_wmJeaYkk>" %}
Import Device Configuration From Another Local Profile
{% endembed %}

v0.9.12 introduced the Axis Range Feature to Standard Axis Configuration.  Now it is possible to create "zones" for the Full / Idle and Reverse ranges.  This will be really helpful for High resolution devices like the TCA throttles or Low Resolution where the end stops can sometimes mis a value or two..

{% embed url="<https://youtu.be/qa7k8X3UMZ8>" %}
Axis Ranges added in v0.9.12
{% endembed %}

Using an L:Var, an Expression and a Local Variable we will create a Script Panel Conditional Action to Pause the AAU2 WT 787 at the Top of Descent!

{% embed url="<https://youtu.be/_ctv-IoEcHA>" %}
Pause the AAU2 WT 787 at Top of Descent
{% endembed %}

Big Changes with Axis GUI and Capabilities!!  Much Desired Ability to bind Conditions with Axis is now here!!  v0.9.13.39 is released and we can finally directly manipulate Axis mappings without the need for scripts!

{% embed url="<https://youtu.be/uonqTuOlPLk>" %}
Apply Conditions To Axis Now.  Example Toggle Thrust Reverse Mode
{% endembed %}

How to use an Axis to control a Switch.  Using Custom Axis with Range Definitions we can apply Axis Value Ranges that will Trigger Sending Sim Events with Fixed Parameters.  The Example we use is the PMDG Fuel Cut Off Switches controlled by the Thrustmaster Boeing Yoke lower "throttle" axis.

{% embed url="<https://youtu.be/qqGaVncNerQ>" %}
Control the Fuel Cutoff Switches with the Boeing Yoke Lower Throttles
{% endembed %}

How to Best use the Button Held Mode along with a Button Pressed Mode to implement Repeat Events.  Adding a copy of the Button Pressed Event, Changing to HELD mode and Editing to get the best result for triggering repeat Events when the Button is Held.

{% embed url="<https://youtu.be/8Gfz7Kcqvi8>" %}
How To Repeat Events with Button HELD Mode! - Still use a Press though :smile:
{% endembed %}
