<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005, 2006, 2007 All rights reserved -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->
<decoder-config xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
  <version author="Michael Mosher" version="1" lastUpdated="20100605"/>
  <version author="Michael Mosher" version="2" lastUpdated="20100828"/>
  <version author="Michael Mosher" version="3" lastUpdated="20130308"/>
  <version author="Michael Mosher" version="4" lastUpdated="20130703"/>
  <version author="Dave Heap" version="5" lastUpdated="20140401"/>
  <version author="Alain Le Marchand" version="6" lastUpdated="20140530"/>
  <version author="Alain Le Marchand" version="7" lastUpdated="20180103"/>
  <!-- This file contains the Tsunami definitions for Genesis OEM steam locomotives	-->
  <!-- version 1	Based on the "SoundTraxx_Tsu_Steam.xml" Ver 5 file.						-->
  <!-- version 2	Add Rule 17 bit to CV51 & 52 -->
  <!-- version 3	Add FEF 4-8-4 and greater use of external includes -->
  <!-- version 4	Add HO Challenger -->
  <!-- version 5	Implement live function group exchange -->
  <!-- version 6        Function labels according to Genesis mapping, Output names normalized with other TSU Steam -->
  <!--                  Default values updated for N Challenger -->
  <!-- version 7  Specific UserID with tooltip indicating version number,
                  from SoundTraxx Product Identification guide Rev.B                                -->
  <!-- Note:    Output number for "named" outputs (i.e. when name is not an integer) starts at numOuts+1.
                Numbering is then incremental in the order of declaration of the named outputs.
                For these decoders, convention is taken that FX5=output 3, FX6=output 4, Whistle=output 5, etc.
                FX5 or FX6 are either physical or logical outputs (for TSU-750) used for "Rule 17 mode"         -->
  <!-- Decoder Model information follows -->
  <decoder>
    <family name="Tsunami Steam Genesis OEM" mfg="SoundTraxx (Throttle-Up)" comment="These are OEM for Athearn Genesis Tsunami steam decoders">
      <model model="Bigboy 4-8-8-4" numOuts="4" numFns="14" connector="other" productID="BB">
        <versionCV lowVersionID="64"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="3" label="  FX5  "/>
        <output name="4" label="  FX6  "/>
        <output name="Dynamo"/>
        <output name="Short" label="Whistle">
           <label xml:lang="it">Fischio corto</label>
        </output>
        <output name="Steam" label="Release">
           <label xml:lang="it">Rilascio Vap</label>
        </output>
        <output name="Water" label="Stop"/>
        <output name="Dimming"/>
        <output name="Mute"/>
        <output name="Injector"/>
        <output name="Brake" label="Squeal">
           <label xml:lang="it">Stridio Freni</label>
        </output>
        <output name="Coupler"/>
      </model>
      <model model="Challenger 4-6-6-4" numOuts="4" numFns="14" connector="other" productID="chal">
        <versionCV lowVersionID="64"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="3" label="  FX5  "/>
        <output name="4" label="  FX6  "/>
        <output name="Dynamo"/>
        <output name="Short" label="Whistle">
           <label xml:lang="it">Fischio corto</label>
        </output>
        <output name="Steam" label="Release">
           <label xml:lang="it">Rilascio Vap</label>
        </output>
        <output name="Water" label="Stop"/>
        <output name="Dimming"/>
        <output name="Mute"/>
        <output name="Injector"/>
        <output name="Brake" label="Squeal">
           <label xml:lang="it">Stridio Freni</label>
        </output>
        <output name="Coupler"/>
      </model>
      <model model="FEF-3 4-8-4" numOuts="4" numFns="14" connector="other" productID="FEF">
        <versionCV lowVersionID="64"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="3" label="  FX5  "/>
        <output name="4" label="  FX6  "/>
        <output name="Dynamo"/>
        <output name="Short" label="Whistle">
           <label xml:lang="it">Fischio corto</label>
        </output>
        <output name="Steam" label="Release">
           <label xml:lang="it">Rilascio Vap</label>
        </output>
        <output name="Water" label="Stop"/>
        <output name="Dimming"/>
        <output name="Mute"/>
        <output name="Injector"/>
        <output name="Brake" label="Squeal">
           <label xml:lang="it">Stridio Freni</label>
        </output>
        <output name="Coupler"/>
      </model>
      <model model="MT-4 4-8-2" numOuts="4" numFns="14" connector="other" productID="MT4">
        <versionCV lowVersionID="64"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="3" label="  FX5  "/>
        <output name="4" label="  FX6  "/>
        <output name="Dynamo"/>
        <output name="Short" label="Whistle">
           <label xml:lang="it">Fischio corto</label>
        </output>
        <output name="Steam" label="Release">
           <label xml:lang="it">Rilascio Vap</label>
        </output>
        <output name="Water" label="Stop"/>
        <output name="Dimming"/>
        <output name="Mute"/>
        <output name="Injector"/>
        <output name="Brake" label="Squeal">
           <label xml:lang="it">Stridio Freni</label>
        </output>
        <output name="Coupler"/>
      </model>
      <model model="N Challenger" numOuts="4" numFns="14" connector="other" productID="N_Chal">
        <versionCV lowVersionID="64"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="3" label="  FX5  "/>
        <output name="4" label="  FX6  "/>
        <output name="Dynamo"/>
        <output name="Short" label="Whistle">
           <label xml:lang="it">Fischio corto</label>
        </output>
        <output name="Steam" label="Release">
           <label xml:lang="it">Rilascio Vap</label>
        </output>
        <output name="Water" label="Stop"/>
        <output name="Dimming"/>
        <output name="Mute"/>
        <output name="Injector"/>
        <output name="Brake" label="Squeal">
           <label xml:lang="it">Stridio Freni</label>
        </output>
        <output name="Coupler"/>
      </model>
      <functionlabels>
        <functionlabel num="0" lockable="true">Headlight</functionlabel>
        <functionlabel num="1" lockable="true">Bell</functionlabel>
        <functionlabel num="2" lockable="false">Whistle</functionlabel>
        <functionlabel num="3" lockable="true">Short Whistle</functionlabel>
        <functionlabel num="4" lockable="true">Steam Release</functionlabel>
        <functionlabel num="5" lockable="true">FX5 Light</functionlabel>
        <functionlabel num="6" lockable="true">FX6/# Board Light</functionlabel>
        <functionlabel num="7" lockable="true">Dimmer</functionlabel>
        <functionlabel num="8" lockable="true">Mute</functionlabel>
        <functionlabel num="9" lockable="true">Brake Squeal</functionlabel>
        <functionlabel num="10" lockable="true">Coupler</functionlabel>
        <functionlabel num="11" lockable="true">Injectors</functionlabel>
        <functionlabel num="12" lockable="true">Water Stop</functionlabel>
      </functionlabels>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <!-- Configuration Variable (CV) information follows -->
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable CV="2" item="Vstart" default="0" comment="A value of 255 corresponds to full voltage available" tooltip="Sets the starting voltage at throttle speed step 1">
        <decVal/>
        <label>Start Voltage (0-255)</label>
        <label xml:lang="it">Volt Partenza</label>
        <label xml:lang="fr">V démarr.</label>
        <label xml:lang="de">Startspannung</label>
        <comment>A value of 255 corresponds to full voltage available</comment>
      </variable>
      <variable CV="3" item="Accel" default="0" exclude="chal,FEF" tooltip="Sets the acceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Acceleration Rate (0-255)</label>
        <label xml:lang="it">Accellerazione (0-255)</label>
        <label xml:lang="fr">Accelération (0-255)</label>
        <label xml:lang="de">Anfahrverzögerung (0-255)</label>
      </variable>
      <variable CV="3" item="Accel" default="25" include="chal,FEF" tooltip="Sets the acceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Acceleration Rate (0-255)</label>
        <label xml:lang="it">Accellerazione (0-255)</label>
        <label xml:lang="fr">Accelération (0-255)</label>
        <label xml:lang="de">Anfahrverzögerung (0-255)</label>
      </variable>
      <variable CV="4" item="Decel" default="0" exclude="chal,FEF" tooltip="Sets the deceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Braking Rate (0-255)</label>
        <label xml:lang="it">Decellerazione (1-255)</label>
        <label xml:lang="fr">Décélération (1-255)</label>
        <label xml:lang="de">Bremszeit (1-255)</label>
      </variable>
      <variable CV="4" item="Decel" default="25" include="chal,FEF" tooltip="Sets the deceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Braking Rate (0-255)</label>
        <label xml:lang="it">Decellerazione (1-255)</label>
        <label xml:lang="fr">Décélération (1-255)</label>
        <label xml:lang="de">Bremszeit (1-255)</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/mfgVersionId.xml"/>
      <variable CV="10" item="EMF Feedback Cutout" default="0" tooltip="&lt;html&gt;Up to 127, this sets the speed step above which the intensity of BEMF control will be reduced&lt;br&gt;     to zero.  Values over 127 cause the BEMF to decrease as a percentage (up to 50%).&lt;/html&gt;">
        <decVal/>
        <label>BEMF Cutout (0-127 or 128-255)</label>
      </variable>
      <variable CV="11" item="Packet Time-out Value" default="0" tooltip="&lt;html&gt;Sets the time period that is allowed to elapse between receipts of a valid packet&lt;br&gt;     addressed to the decoder before a throttle shutdown occurs.  Enter zero to disable.&lt;/html&gt;">
        <decVal/>
        <label>Packet Time Out Value (0-255)</label>
      </variable>
      <variable CV="12" mask="XXXXXXXV" item="Analog Power Conversion" default="1" tooltip="&lt;html&gt;Defines the type of power source the decoder should&lt;br&gt;     switch to whenever a DCC signal is not present.&lt;br&gt;     (Tip: Alternate Power Source must be enabled)&lt;/html&gt;">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumPower.xml"/>
        <label>Power Source Conversion Type</label>
      </variable>
      <variable item="Analog Mode Function Status - F1" CV="13" mask="XXXXXXXV" default="0" tooltip="Check to enable function F1 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F1</label>
      </variable>
      <variable item="Analog Mode Function Status - F2" CV="13" mask="XXXXXXVX" default="0" tooltip="Check to enable function F2 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F2</label>
      </variable>
      <variable item="Analog Mode Function Status - F3" CV="13" mask="XXXXXVXX" default="0" tooltip="Check to enable function F3 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F3</label>
      </variable>
      <variable item="Analog Mode Function Status - F4" CV="13" mask="XXXXVXXX" default="0" tooltip="Check to enable function F4 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F4</label>
      </variable>
      <variable item="Analog Mode Function Status - F5" CV="13" mask="XXXVXXXX" default="0" tooltip="Check to enable function F5 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F5</label>
      </variable>
      <variable item="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX" default="0" include="BB,chal,FEF" tooltip="Check to enable function F6 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F6</label>
      </variable>
      <variable item="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX" default="1" include="MT4,N_Chal" tooltip="Check to enable function F6 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F6</label>
      </variable>
      <variable item="Analog Mode Function Status - F7" CV="13" mask="XVXXXXXX" default="0" tooltip="Check to enable function F7 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F7</label>
      </variable>
      <variable item="Analog Mode Function Status - F8" CV="13" mask="VXXXXXXX" default="0" tooltip="Check to enable function F8 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F8</label>
      </variable>
      <variable item="Analog Mode Function Status - F0(f)" CV="14" mask="XXXXXXXV" default="0" tooltip="Check to enable function F0(f) when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F0(f)</label>
      </variable>
      <variable item="Analog Mode Function Status - F0(r)" CV="14" mask="XXXXXXVX" default="0" tooltip="Check to enable function F0(r) when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F0(r)</label>
      </variable>
      <variable item="Analog Mode Function Status - F9" CV="14" mask="XXXXXVXX" default="0" tooltip="Check to enable function F9 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F9</label>
      </variable>
      <variable item="Analog Mode Function Status - F10" CV="14" mask="XXXXVXXX" default="0" tooltip="Check to enable function F10 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F10</label>
      </variable>
      <variable item="Analog Mode Function Status - F11" CV="14" mask="XXXVXXXX" default="0" tooltip="Check to enable function F11 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F11</label>
      </variable>
      <variable item="Analog Mode Function Status - F12" CV="14" mask="XXVXXXXX" default="0" tooltip="Check to enable function F12 when the unit is operating in analog power mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Analog Mode Function Status - F12</label>
      </variable>
      <variable CV="15" mask="XXXXXVVV" item="Advanced Group 1 Option 1" default="0" tooltip="&lt;html&gt;Enter the Lock ID Code to unlock access to the decoder CVs.&lt;br&gt;     (Tip: Establish the unlock code with CV Lock ID Code)&lt;/html&gt;">
        <decVal/>
        <label>CV Unlock Register (0-7)</label>
      </variable>
      <variable CV="16" mask="XXXXXVVV" item="Advanced Group 1 Option 2" default="0" tooltip="Sets the unlock code that must be entered into the CV Unlock Register in order to access the decoder CVs">
        <decVal/>
        <label>CV Lock ID Code (0-7)</label>
      </variable>
      <!-- Consisting Information follows -->
      <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
      <variable CV="21" mask="XXXXXXXV" item="Consist Address Active For F1" default="0" minFn="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F1</label>
      </variable>
      <variable CV="21" mask="XXXXXXVX" item="Consist Address Active For F2" default="0" minFn="2">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F2</label>
      </variable>
      <variable CV="21" mask="XXXXXVXX" item="Consist Address Active For F3" default="0" minFn="3">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F3</label>
      </variable>
      <variable CV="21" mask="XXXXVXXX" item="Consist Address Active For F4" default="0" minFn="4">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F4</label>
      </variable>
      <variable CV="21" mask="XXXVXXXX" item="Consist Address Active For F5" default="0" minFn="5">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F5</label>
      </variable>
      <variable CV="21" mask="XXVXXXXX" item="Consist Address Active For F6" default="0" minFn="6">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F6</label>
      </variable>
      <variable CV="21" mask="XVXXXXXX" item="Consist Address Active For F7" default="0" minFn="7">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F7</label>
      </variable>
      <variable CV="21" mask="VXXXXXXX" item="Consist Address Active For F8" default="0" minFn="8">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F8</label>
      </variable>
      <variable CV="22" mask="XXXXXXXV" item="Consist Address Active For FL in Forward" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F0(f) in Forward</label>
      </variable>
      <variable CV="22" mask="XXXXXXVX" item="Consist Address Active For FL in Reverse" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F0(r) in Reverse</label>
      </variable>
      <variable CV="22" mask="XXXXXVXX" item="Consist Address Active For F9" default="0" minFn="9">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F9</label>
      </variable>
      <variable CV="22" mask="XXXXVXXX" item="Consist Address Active For F10" default="0" minFn="10">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F10</label>
      </variable>
      <variable CV="22" mask="XXXVXXXX" item="Consist Address Active For F11" default="0" minFn="11">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F11</label>
      </variable>
      <variable CV="22" mask="XXVXXXXX" item="Consist Address Active For F12" default="0" minFn="12">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-LocoAddrConsistAddr.xml"/>
        <label>Consist Address Activation for F12</label>
      </variable>
      <variable CV="23" mask="XVVVVVVV" item="Consist Acceleration Adjustment" default="0" comment="Additional consist acceleration (combined with CV3)" tooltip="When loco is in a consist, it's base acceleration rate is modified by this amount">
        <decVal max="127"/>
        <label>Consist Acceleration Rate (0-127)</label>
        <comment>Additional consist acceleration (combined with CV3)</comment>
      </variable>
      <variable CV="23" mask="VXXXXXXX" item="Consist Acceleration Adjustment Sign" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-AddSubtract.xml"/>
        <label>Consist Acceleration Sign</label>
      </variable>
      <variable CV="24" mask="XVVVVVVV" item="Consist Deceleration Adjustment" default="0" comment="Additional consist braking (combined with CV4)" tooltip="When loco is in a consist, it's baseline braking rate is modified by this amount">
        <decVal max="127"/>
        <label>Consist Braking Rate (0-127)</label>
        <comment>Additional consist braking (combined with CV4)</comment>
      </variable>
      <variable CV="24" mask="VXXXXXXX" item="Consist Deceleration Adjustment Sign" default="0" tooltip="Determines whether value is added to or subtracted from loco baseline braking rate">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-AddSubtract2.xml"/>
        <label>Consist Braking Sign</label>
      </variable>
      <variable item="Speed Table Selection" CV="25" mask="XXXVVVVV" default="0" tooltip="Select a manufacturers speed curve, or use a curve you define yourself">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumCurve.xml"/>
        <label>Speed Table Selection</label>
      </variable>
      <!-- CV=29 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table1-28.xml"/>
      <variable CV="30" mask="XXXXXXXV" item="Advanced Group 1 Option 3" default="0" tooltip="Enable locking of CVs when decoder is used in a multi-decoder installation">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLock.xml"/>
        <label>CV Lock Enable</label>
      </variable>
      <variable CV="30" mask="XXXXXXVX" item="Advanced Group 1 Option 4" default="0" tooltip="Tip: To do a one-time decoder reset, use the menu [Reset] selection">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumReset.xml"/>
        <label>CV Clear (CVCLR)</label>
      </variable>
      <variable CV="30" mask="XXXXXVXX" item="Function Map Option 1" default="0" tooltip="Function Group 2 (F5-F8) assignments are swapped with Function Group 3 (F9-F12)" exclude="N_Chal">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumSwap.xml"/>
        <label>Function Group 2 and 3 Exchange</label>
      </variable>
      <variable CV="30" mask="XXXXXVXX" item="Function Map Option 1" default="1" tooltip="Function Group 2 (F5-F8) assignments are swapped with Function Group 3 (F9-F12)" include="N_Chal">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumSwap.xml"/>
        <label>Function Group 2 and 3 Exchange</label>
      </variable>
      <!-- Function Mapping follows -->
      <variable CV="33" mask="XXXXXXXV" item="FL(f) controls output 1" minOut="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls Headlight</label>
      </variable>
      <variable CV="33" mask="XXXXXXVX" item="FL(f) controls output 2" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls Backup Light</label>
      </variable>
      <variable item="FL(f) controls output 5" CV="33" mask="XXXXXVXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls output 5</label>
      </variable>
      <variable item="FL(f) controls output 6" CV="33" mask="XXXXVXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls output 6</label>
      </variable>
      <variable item="FL(f) controls output 3" CV="33" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls output 3</label>
      </variable>
      <variable item="FL(f) controls output 4" CV="33" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls output 4</label>
      </variable>
      <variable item="FL(f) controls output 7" CV="33" mask="XVXXXXXX" minOut="1" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls output 7</label>
      </variable>
      <variable item="FL(f) controls output 8" CV="33" mask="VXXXXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(f) controls output 8</label>
      </variable>
      <variable CV="34" mask="XXXXXXXV" item="FL(r) controls output 1" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls Headlight</label>
      </variable>
      <variable CV="34" mask="XXXXXXVX" item="FL(r) controls output 2" minOut="2" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls Backup Light</label>
      </variable>
      <variable item="FL(r) controls output 5" CV="34" mask="XXXXXVXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls output 5</label>
      </variable>
      <variable item="FL(r) controls output 6" CV="34" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls output 6</label>
      </variable>
      <variable item="FL(r) controls output 3" CV="34" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls output 3</label>
      </variable>
      <variable item="FL(r) controls output 4" CV="34" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls output 4</label>
      </variable>
      <variable item="FL(r) controls output 7" CV="34" mask="XVXXXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls output 7</label>
      </variable>
      <variable item="FL(r) controls output 8" CV="34" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>FL(r) controls output 8</label>
      </variable>
      <variable CV="35" mask="XXXXXXXV" item="F1 controls output 1" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls Headlight</label>
      </variable>
      <variable CV="35" mask="XXXXXXVX" item="F1 controls output 2" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls Backup Light</label>
      </variable>
      <variable item="F1 controls output 5" CV="35" mask="XXXXXVXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls output 5</label>
      </variable>
      <variable item="F1 controls output 6" CV="35" mask="XXXXVXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls output 6</label>
      </variable>
      <variable item="F1 controls output 3" CV="35" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls output 3</label>
      </variable>
      <variable item="F1 controls output 4" CV="35" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls output 4</label>
      </variable>
      <variable item="F1 controls output 7" CV="35" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls output 7</label>
      </variable>
      <variable item="F1 controls output 8" CV="35" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F1 controls output 8</label>
      </variable>
      <variable CV="36" mask="XXXXXXXV" item="F2 controls output 1" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls Headlight</label>
      </variable>
      <variable CV="36" mask="XXXXXXVX" item="F2 controls output 2" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls Backup Light</label>
      </variable>
      <variable item="F2 controls output 5" CV="36" mask="XXXXXVXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls output 5</label>
      </variable>
      <variable item="F2 controls output 6" CV="36" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls output 6</label>
      </variable>
      <variable item="F2 controls output 3" CV="36" mask="XXXVXXXX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls output 3</label>
      </variable>
      <variable item="F2 controls output 4" CV="36" mask="XXVXXXXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls output 4</label>
      </variable>
      <variable item="F2 controls output 7" CV="36" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls output 7</label>
      </variable>
      <variable item="F2 controls output 8" CV="36" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F2 controls output 8</label>
      </variable>
      <variable item="F3 controls output 6" CV="37" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 6</label>
      </variable>
      <variable item="F3 controls output 3" CV="37" mask="XXXXXXVX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 3</label>
      </variable>
      <variable item="F3 controls output 4" CV="37" mask="XXXXXVXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 4</label>
      </variable>
      <variable item="F3 controls output 7" CV="37" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 7</label>
      </variable>
      <variable item="F3 controls output 8" CV="37" mask="XXXVXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 8</label>
      </variable>
      <variable item="F3 controls output 9" CV="37" mask="XXVXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 9</label>
      </variable>
      <variable item="F3 controls output 10" CV="37" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 10</label>
      </variable>
      <variable item="F3 controls output 11" CV="37" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F3 controls output 11</label>
      </variable>
      <variable item="F4 controls output 6" CV="38" mask="XXXXXXXV" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 6</label>
      </variable>
      <variable item="F4 controls output 3" CV="38" mask="XXXXXXVX" minOut="1" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 3</label>
      </variable>
      <variable item="F4 controls output 4" CV="38" mask="XXXXXVXX" minOut="2" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 4</label>
      </variable>
      <variable item="F4 controls output 7" CV="38" mask="XXXXVXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 7</label>
      </variable>
      <variable item="F4 controls output 8" CV="38" mask="XXXVXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 8</label>
      </variable>
      <variable item="F4 controls output 9" CV="38" mask="XXVXXXXX" default="1">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 9</label>
      </variable>
      <variable item="F4 controls output 10" CV="38" mask="XVXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 10</label>
      </variable>
      <variable item="F4 controls output 11" CV="38" mask="VXXXXXXX" default="0">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>F4 controls output 11</label>
      </variable>
      <!-- begin exchangeable function groups -->
      <variables>
        <qualifier>
          <variableref>Function Map Option 1</variableref>
          <relation>eq</relation>
          <value>0</value>
        </qualifier>
        <!-- begin normal function group 2 -->
        <variable item="F5 controls output 6" CV="39" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 6</label>
        </variable>
        <variable item="F5 controls output 3" CV="39" mask="XXXXXXVX" minOut="1" default="1">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 3</label>
        </variable>
        <variable item="F5 controls output 4" CV="39" mask="XXXXXVXX" minOut="2" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 4</label>
        </variable>
        <variable item="F5 controls output 7" CV="39" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 7</label>
        </variable>
        <variable item="F5 controls output 8" CV="39" mask="XXXVXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 8</label>
        </variable>
        <variable item="F5 controls output 9" CV="39" mask="XXVXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 9</label>
        </variable>
        <variable item="F5 controls output 10" CV="39" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 10</label>
        </variable>
        <variable item="F5 controls output 11" CV="39" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 11</label>
        </variable>
        <variable item="F6 controls output 6" CV="40" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 6</label>
        </variable>
        <variable item="F6 controls output 3" CV="40" mask="XXXXXXVX" minOut="1" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 3</label>
        </variable>
        <variable item="F6 controls output 4" CV="40" mask="XXXXXVXX" minOut="2" default="1">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 4</label>
        </variable>
        <variable item="F6 controls output 7" CV="40" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 7</label>
        </variable>
        <variable item="F6 controls output 8" CV="40" mask="XXXVXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 8</label>
        </variable>
        <variable item="F6 controls output 9" CV="40" mask="XXVXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 9</label>
        </variable>
        <variable item="F6 controls output 10" CV="40" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 10</label>
        </variable>
        <variable item="F6 controls output 11" CV="40" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 11</label>
        </variable>
        <variable item="F7 controls output 7" CV="41" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 7</label>
        </variable>
        <variable item="F7 controls output 8" CV="41" mask="XXXXXXVX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 8</label>
        </variable>
        <variable item="F7 controls output 9" CV="41" mask="XXXXXVXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 9</label>
        </variable>
        <variable item="F7 controls output 10" CV="41" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 10</label>
        </variable>
        <variable item="F7 controls output 11" CV="41" mask="XXXVXXXX" default="1">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 11</label>
        </variable>
        <variable item="F7 controls output 12" CV="41" mask="XXVXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 12</label>
        </variable>
        <variable item="F7 controls output 13" CV="41" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 13</label>
        </variable>
        <variable item="F7 controls output 14" CV="41" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 14</label>
        </variable>
        <variable item="F8 controls output 7" CV="42" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 7</label>
        </variable>
        <variable item="F8 controls output 8" CV="42" mask="XXXXXXVX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 8</label>
        </variable>
        <variable item="F8 controls output 9" CV="42" mask="XXXXXVXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 9</label>
        </variable>
        <variable item="F8 controls output 10" CV="42" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 10</label>
        </variable>
        <variable item="F8 controls output 11" CV="42" mask="XXXVXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 11</label>
        </variable>
        <variable item="F8 controls output 12" CV="42" mask="XXVXXXXX" default="1">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 12</label>
        </variable>
        <variable item="F8 controls output 13" CV="42" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 13</label>
        </variable>
        <variable item="F8 controls output 14" CV="42" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 14</label>
        </variable>
        <!-- end normal function group 2 -->
        <!-- begin normal function group 3 -->
        <variable item="F9 controls output 7" CV="43" mask="XXXXXXXV" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 7</label>
        </variable>
        <variable item="F9 controls output 8" CV="43" mask="XXXXXXVX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 8</label>
        </variable>
        <variable item="F9 controls output 9" CV="43" mask="XXXXXVXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 9</label>
        </variable>
        <variable item="F9 controls output 10" CV="43" mask="XXXXVXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 10</label>
        </variable>
        <variable item="F9 controls output 11" CV="43" mask="XXXVXXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 11</label>
        </variable>
        <variable item="F9 controls output 12" CV="43" mask="XXVXXXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 12</label>
        </variable>
        <variable item="F9 controls output 13" CV="43" mask="XVXXXXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 13</label>
        </variable>
        <variable item="F9 controls output 14" CV="43" mask="VXXXXXXX" default="1" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 14</label>
        </variable>
        <variable item="F10 controls output 8" CV="44" mask="XXXXXXXV" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 8</label>
        </variable>
        <variable item="F10 controls output 9" CV="44" mask="XXXXXXVX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 9</label>
        </variable>
        <variable item="F10 controls output 10" CV="44" mask="XXXXXVXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 10</label>
        </variable>
        <variable item="F10 controls output 11" CV="44" mask="XXXXVXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 11</label>
        </variable>
        <variable item="F10 controls output 12" CV="44" mask="XXXVXXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 12</label>
        </variable>
        <variable item="F10 controls output 13" CV="44" mask="XXVXXXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 13</label>
        </variable>
        <variable item="F10 controls output 14" CV="44" mask="XVXXXXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 14</label>
        </variable>
        <variable item="F10 controls output 15" CV="44" mask="VXXXXXXX" default="1" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 15</label>
        </variable>
        <variable item="F11 controls output 8" CV="45" mask="XXXXXXXV" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 8</label>
        </variable>
        <variable item="F11 controls output 9" CV="45" mask="XXXXXXVX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 9</label>
        </variable>
        <variable item="F11 controls output 10" CV="45" mask="XXXXXVXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 10</label>
        </variable>
        <variable item="F11 controls output 11" CV="45" mask="XXXXVXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 11</label>
        </variable>
        <variable item="F11 controls output 12" CV="45" mask="XXXVXXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 12</label>
        </variable>
        <variable item="F11 controls output 13" CV="45" mask="XXVXXXXX" default="1" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 13</label>
        </variable>
        <variable item="F11 controls output 14" CV="45" mask="XVXXXXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 14</label>
        </variable>
        <variable item="F11 controls output 15" CV="45" mask="VXXXXXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 15</label>
        </variable>
        <variable item="F12 controls output 8" CV="46" mask="XXXXXXXV" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 8</label>
        </variable>
        <variable item="F12 controls output 9" CV="46" mask="XXXXXXVX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 9</label>
        </variable>
        <variable item="F12 controls output 10" CV="46" mask="XXXXXVXX" default="1" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 10</label>
        </variable>
        <variable item="F12 controls output 11" CV="46" mask="XXXXVXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 11</label>
        </variable>
        <variable item="F12 controls output 12" CV="46" mask="XXXVXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 12</label>
        </variable>
        <variable item="F12 controls output 13" CV="46" mask="XXVXXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 13</label>
        </variable>
        <variable item="F12 controls output 14" CV="46" mask="XVXXXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 14</label>
        </variable>
        <variable item="F12 controls output 15" CV="46" mask="VXXXXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 15</label>
        </variable>
        <!-- end normal function group 3 -->
      </variables>
      <variables>
        <qualifier>
          <variableref>Function Map Option 1</variableref>
          <relation>eq</relation>
          <value>1</value>
        </qualifier>
        <!-- begin exchanged function group 2 -->
        <variable item="F9 controls output 6(alt)" CV="39" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 6(alt)</label>
        </variable>
        <variable item="F9 controls output 3(alt)" CV="39" mask="XXXXXXVX" minOut="1" default="1">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 3(alt)</label>
        </variable>
        <variable item="F9 controls output 4(alt)" CV="39" mask="XXXXXVXX" minOut="2" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 4(alt)</label>
        </variable>
        <variable item="F9 controls output 7(alt)" CV="39" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 7(alt)</label>
        </variable>
        <variable item="F9 controls output 8(alt)" CV="39" mask="XXXVXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 8(alt)</label>
        </variable>
        <variable item="F9 controls output 9(alt)" CV="39" mask="XXVXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 9(alt)</label>
        </variable>
        <variable item="F9 controls output 10(alt)" CV="39" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 10(alt)</label>
        </variable>
        <variable item="F9 controls output 11(alt)" CV="39" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F9 controls output 11(alt)</label>
        </variable>
        <variable item="F10 controls output 6(alt)" CV="40" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 6(alt)</label>
        </variable>
        <variable item="F10 controls output 3(alt)" CV="40" mask="XXXXXXVX" minOut="1" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 3(alt)</label>
        </variable>
        <variable item="F10 controls output 4(alt)" CV="40" mask="XXXXXVXX" minOut="2" default="1">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 4(alt)</label>
        </variable>
        <variable item="F10 controls output 7(alt)" CV="40" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 7(alt)</label>
        </variable>
        <variable item="F10 controls output 8(alt)" CV="40" mask="XXXVXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 8(alt)</label>
        </variable>
        <variable item="F10 controls output 9(alt)" CV="40" mask="XXVXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 9(alt)</label>
        </variable>
        <variable item="F10 controls output 10(alt)" CV="40" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 10(alt)</label>
        </variable>
        <variable item="F10 controls output 11(alt)" CV="40" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F10 controls output 11(alt)</label>
        </variable>
        <variable item="F11 controls output 7(alt)" CV="41" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 7(alt)</label>
        </variable>
        <variable item="F11 controls output 8(alt)" CV="41" mask="XXXXXXVX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 8(alt)</label>
        </variable>
        <variable item="F11 controls output 9(alt)" CV="41" mask="XXXXXVXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 9(alt)</label>
        </variable>
        <variable item="F11 controls output 10(alt)" CV="41" mask="XXXXVXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 10(alt)</label>
        </variable>
        <variable item="F11 controls output 11(alt)" CV="41" mask="XXXVXXXX" default="1" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 11(alt)</label>
        </variable>
        <variable item="F11 controls output 11(alt)" CV="41" mask="XXXVXXXX" default="0" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 11(alt)</label>
        </variable>
        <variable item="F11 controls output 12(alt)" CV="41" mask="XXVXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 12(alt)</label>
        </variable>
        <variable item="F11 controls output 13(alt)" CV="41" mask="XVXXXXXX" default="0" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 13(alt)</label>
        </variable>
        <variable item="F11 controls output 13(alt)" CV="41" mask="XVXXXXXX" default="1" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 13(alt)</label>
        </variable>
        <variable item="F11 controls output 14(alt)" CV="41" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F11 controls output 14(alt)</label>
        </variable>
        <variable item="F12 controls output 7(alt)" CV="42" mask="XXXXXXXV" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 7(alt)</label>
        </variable>
        <variable item="F12 controls output 8(alt)" CV="42" mask="XXXXXXVX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 8(alt)</label>
        </variable>
        <variable item="F12 controls output 9(alt)" CV="42" mask="XXXXXVXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 9(alt)</label>
        </variable>
        <variable item="F12 controls output 10(alt)" CV="42" mask="XXXXVXXX" default="0" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 10(alt)</label>
        </variable>
        <variable item="F12 controls output 10(alt)" CV="42" mask="XXXXVXXX" default="1" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 10(alt)</label>
        </variable>
        <variable item="F12 controls output 11(alt)" CV="42" mask="XXXVXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 11(alt)</label>
        </variable>
        <variable item="F12 controls output 12(alt)" CV="42" mask="XXVXXXXX" default="1" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 12(alt)</label>
        </variable>
        <variable item="F12 controls output 12(alt)" CV="42" mask="XXVXXXXX" default="0" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 12(alt)</label>
        </variable>
        <variable item="F12 controls output 13(alt)" CV="42" mask="XVXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 13(alt)</label>
        </variable>
        <variable item="F12 controls output 14(alt)" CV="42" mask="VXXXXXXX" default="0">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F12 controls output 14(alt)</label>
        </variable>
        <!-- end exchanged function group 2 -->
        <!-- begin exchanged function group 3 -->
        <variable item="F5 controls output 7(alt)" CV="43" mask="XXXXXXXV" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 7(alt)</label>
        </variable>
        <variable item="F5 controls output 8(alt)" CV="43" mask="XXXXXXVX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 8(alt)</label>
        </variable>
        <variable item="F5 controls output 9(alt)" CV="43" mask="XXXXXVXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 9(alt)</label>
        </variable>
        <variable item="F5 controls output 10(alt)" CV="43" mask="XXXXVXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 10(alt)</label>
        </variable>
        <variable item="F5 controls output 11(alt)" CV="43" mask="XXXVXXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 11(alt)</label>
        </variable>
        <variable item="F5 controls output 12(alt)" CV="43" mask="XXVXXXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 12(alt)</label>
        </variable>
        <variable item="F5 controls output 13(alt)" CV="43" mask="XVXXXXXX" default="0" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 13(alt)</label>
        </variable>
        <variable item="F5 controls output 14(alt)" CV="43" mask="VXXXXXXX" default="1" minFn="9">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F5 controls output 14(alt)</label>
        </variable>
        <variable item="F6 controls output 8(alt)" CV="44" mask="XXXXXXXV" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 8(alt)</label>
        </variable>
        <variable item="F6 controls output 9(alt)" CV="44" mask="XXXXXXVX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 9(alt)</label>
        </variable>
        <variable item="F6 controls output 10(alt)" CV="44" mask="XXXXXVXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 10(alt)</label>
        </variable>
        <variable item="F6 controls output 11(alt)" CV="44" mask="XXXXVXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 11(alt)</label>
        </variable>
        <variable item="F6 controls output 12(alt)" CV="44" mask="XXXVXXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 12(alt)</label>
        </variable>
        <variable item="F6 controls output 13(alt)" CV="44" mask="XXVXXXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 13(alt)</label>
        </variable>
        <variable item="F6 controls output 14(alt)" CV="44" mask="XVXXXXXX" default="0" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 14(alt)</label>
        </variable>
        <variable item="F6 controls output 15(alt)" CV="44" mask="VXXXXXXX" default="1" minFn="10">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F6 controls output 15(alt)</label>
        </variable>
        <variable item="F7 controls output 8(alt)" CV="45" mask="XXXXXXXV" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 8(alt)</label>
        </variable>
        <variable item="F7 controls output 9(alt)" CV="45" mask="XXXXXXVX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 9(alt)</label>
        </variable>
        <variable item="F7 controls output 10(alt)" CV="45" mask="XXXXXVXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 10(alt)</label>
        </variable>
        <variable item="F7 controls output 11(alt)" CV="45" mask="XXXXVXXX" default="0" minFn="11" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 11(alt)</label>
        </variable>
        <variable item="F7 controls output 11(alt)" CV="45" mask="XXXXVXXX" default="1" minFn="11" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 11(alt)</label>
        </variable>
        <variable item="F7 controls output 12(alt)" CV="45" mask="XXXVXXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 12(alt)</label>
        </variable>
        <variable item="F7 controls output 13(alt)" CV="45" mask="XXVXXXXX" default="1" minFn="11" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 13(alt)</label>
        </variable>
        <variable item="F7 controls output 13(alt)" CV="45" mask="XXVXXXXX" default="0" minFn="11" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 13(alt)</label>
        </variable>
        <variable item="F7 controls output 14(alt)" CV="45" mask="XVXXXXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 14(alt)</label>
        </variable>
        <variable item="F7 controls output 15(alt)" CV="45" mask="VXXXXXXX" default="0" minFn="11">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F7 controls output 15(alt)</label>
        </variable>
        <variable item="F8 controls output 8(alt)" CV="46" mask="XXXXXXXV" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 8(alt)</label>
        </variable>
        <variable item="F8 controls output 9(alt)" CV="46" mask="XXXXXXVX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 9(alt)</label>
        </variable>
        <variable item="F8 controls output 10(alt)" CV="46" mask="XXXXXVXX" default="1" minFn="12" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 10(alt)</label>
        </variable>
        <variable item="F8 controls output 10(alt)" CV="46" mask="XXXXXVXX" default="0" minFn="12" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 10(alt)</label>
        </variable>
        <variable item="F8 controls output 11(alt)" CV="46" mask="XXXXVXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 11(alt)</label>
        </variable>
        <variable item="F8 controls output 12(alt)" CV="46" mask="XXXVXXXX" default="0" minFn="12" exclude="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 12(alt)</label>
        </variable>
        <variable item="F8 controls output 12(alt)" CV="46" mask="XXXVXXXX" default="1" minFn="12" include="N_Chal">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 12(alt)</label>
        </variable>
        <variable item="F8 controls output 13(alt)" CV="46" mask="XXVXXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 13(alt)</label>
        </variable>
        <variable item="F8 controls output 14(alt)" CV="46" mask="XVXXXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 14(alt)</label>
        </variable>
        <variable item="F8 controls output 15(alt)" CV="46" mask="VXXXXXXX" default="0" minFn="12">
          <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
          <label>F8 controls output 15(alt)</label>
        </variable>
        <!-- end exchanged function group 3 -->
      </variables>
      <!-- end exchangeable function groups -->
      <variable CV="47" mask="XVVVVVVV" item="Sound Option 12" default="0" tooltip="Value of 0 = Disabled.  See command station instructions for the value to enable this feature.">
        <decVal/>
        <label>Analog Whistle Control (0-255)</label>
      </variable>
      <!-- Lighting Configuration follows -->
      <variable item="Headlight F0(f) Effect Selection" CV="49" mask="XXXXVVVV" default="15" tooltip="Determines the effect generated from the headlight">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUEffect.xml"/>
        <label>Headlight F0(f) Effect Selection</label>
      </variable>
      <variable item="Headlight F0(f) Phase Selection" CV="49" mask="XXXVXXXX" tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumPhase.xml"/>
        <label>Headlight F0(f) Phase Selection</label>
      </variable>
      <variable item="Headlight F0(f) Grade Crossing Logic" CV="49" mask="XXVXXXXX" tooltip="Causes the lighting effect to become active only when the horn has been sounded">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Headlight F0(f) Grade Crossing Logic</label>
      </variable>
      <variable item="Headlight F0(f) Rule 17 Mode" CV="49" mask="XVXXXXXX" tooltip="Selects mapping for white wire">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumR17HL.xml"/>
        <label>Headlight F0(f) Rule 17 Mode</label>
      </variable>
      <variable item="Headlight F0(f) Light Type" CV="49" mask="VXXXXXXX" default="0" include="MT4,N_Chal" tooltip="Provides special compensation for lighting effect contrast when using LEDs">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLightType.xml"/>
        <label>Headlight F0(f) Light Type</label>
      </variable>
      <variable item="Headlight F0(f) Light Type" CV="49" mask="VXXXXXXX" default="1" include="BB,chal,FEF" tooltip="Provides special compensation for lighting effect contrast when using LEDs">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLightType.xml"/>
        <label>Headlight F0(f) Light Type</label>
      </variable>
      <variable item="Backup Light F0(r) Effect Selection" CV="50" mask="XXXXVVVV" default="15" tooltip="Determines the effect generated from the backup light">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUEffect.xml"/>
        <label>Backup Light F0(r) Effect Selection</label>
      </variable>
      <variable item="Backup Light F0(r) Phase Selection" CV="50" mask="XXXVXXXX" tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumPhase.xml"/>
        <label>Backup Light F0(r) Phase Selection</label>
      </variable>
      <variable item="Backup Light F0(r) Grade Crossing Logic" CV="50" mask="XXVXXXXX" tooltip="Causes the lighting effect to become active only when the horn has been sounded">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Backup Light F0(r) Grade Crossing Logic</label>
      </variable>
      <variable item="Backup Light F0(r) Rule 17 Mode" CV="50" mask="XVXXXXXX" tooltip="Selects mapping for yellow wire">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumR17RL.xml"/>
        <label>Backup Light F0(r) Rule 17 Mode</label>
      </variable>
      <variable item="Backup Light F0(r) Light Type" CV="50" mask="VXXXXXXX" default="0" include="MT4" tooltip="Provides special compensation for lighting effect contrast when using LEDs">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLightType.xml"/>
        <label>Backup Light F0(r) Light Type</label>
      </variable>
      <variable item="Backup Light F0(r) Light Type" CV="50" mask="VXXXXXXX" default="1" include="BB,chal,FEF,N_Chal" tooltip="Provides special compensation for lighting effect contrast when using LEDs">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLightType.xml"/>
        <label>Backup Light F0(r) Light Type</label>
      </variable>
      <variable item="FX5 Effect Selection" CV="51" mask="XXXXVVVV" default="0" minOut="3" tooltip="Determines the effect generated from the FX5 light output">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUEffect.xml"/>
        <label>FX5 Effect Selection</label>
      </variable>
      <variable item="FX5 Phase Selection" CV="51" mask="XXXVXXXX" minOut="3" tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumPhase.xml"/>
        <label>FX5 Phase Selection</label>
      </variable>
      <variable item="FX5 Grade Crossing Logic" CV="51" mask="XXVXXXXX" minOut="3" tooltip="Causes the lighting effect to become active only when the horn has been sounded">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>FX5 Grade Crossing Logic</label>
      </variable>
      <variable item="FX5 Rule 17 Mode" CV="51" mask="XVXXXXXX" minOut="3" tooltip="Selects mapping for brown wire">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumR17FX5.xml"/>
        <label>FX5 Rule 17 Mode</label>
      </variable>
      <variable item="FX5 Light Type" CV="51" mask="VXXXXXXX" minOut="3" tooltip="Provides special compensation for lighting effect contrast when using LEDs">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLightType.xml"/>
        <label>FX5 Light Type</label>
      </variable>
      <variable item="FX6 Effect Selection" CV="52" mask="XXXXVVVV" default="0" minOut="4" tooltip="Determines the effect generated from the FX6 light output">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUEffect.xml"/>
        <label>FX6 Effect Selection</label>
      </variable>
      <variable item="FX6 Phase Selection" CV="52" mask="XXXVXXXX" minOut="4" tooltip="Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumPhase.xml"/>
        <label>FX6 Phase Selection</label>
      </variable>
      <variable item="FX6 Grade Crossing Logic" CV="52" mask="XXVXXXXX" minOut="4" tooltip="Causes the lighting effect to become active only when the horn has been sounded">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>FX6 Grade Crossing Logic</label>
      </variable>
      <variable item="FX6 Rule 17 Mode" CV="52" mask="XVXXXXXX" minOut="4" tooltip="Selects mapping for green wire">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumR17FX6.xml"/>
        <label>FX6 Rule 17 Mode</label>
      </variable>
      <variable item="FX6 Light Type" CV="52" mask="VXXXXXXX" minOut="4" tooltip="Provides special compensation for lighting effect contrast when using LEDs">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumLightType.xml"/>
        <label>FX6 Light Type</label>
      </variable>
      <variable item="FX5 Forward Directional Control" CV="57" mask="XXXXXXXV" default="1" minOut="4" include="FEF" comment="This CV for Gas Turbine only. Don't show this for the TSU-750 models" tooltip="Check to enable FX5 function output in Forward direction">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>FX5 Forward Directional Control</label>
        <comment>This CV for Gas Turbine only. Don't show this for the TSU-750 models</comment>
      </variable>
      <variable item="FX5 Reverse Directional Control" CV="57" mask="XXXXXXVX" default="1" minOut="4" include="FEF" comment="This CV for Gas Turbine only. Don't show this for the TSU-750 models" tooltip="Check to enable FX5 function output in Reverse direction">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>FX5 Reverse Directional Control</label>
        <comment>This CV for Gas Turbine only. Don't show this for the TSU-750 models</comment>
      </variable>
      <variable item="FX6 Forward Directional Control" CV="57" mask="XXXVXXXX" default="1" minOut="4" include="FEF" comment="This CV for Gas Turbine only. Don't show this for the TSU-750 models" tooltip="Check to enable FX6 function output in Forward direction">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>FX6 Forward Directional Control</label>
        <comment>This CV for Gas Turbine only. Don't show this for the TSU-750 models</comment>
      </variable>
      <variable item="FX6 Reverse Directional Control" CV="57" mask="XXVXXXXX" default="1" minOut="4" include="FEF" comment="This CV for Gas Turbine only. Don't show this for the TSU-750 models" tooltip="Check to enable FX6 function output in Reverse direction">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>FX6 Reverse Directional Control</label>
        <comment>This CV for Gas Turbine only. Don't show this for the TSU-750 models</comment>
      </variable>
      <variable item="Hyperlight Flash Rate (0-15)" CV="59" mask="XXXXVVVV" default="3" comment="0 is fast, 15 is slow, 4 is recommended for start" tooltip="Sets the overall flash rate of the Hyperlight effects">
        <decVal max="15"/>
        <label>Hyperlight Flash Rate (0-15)</label>
        <comment>0 is fast, 15 is slow, 4 is recommended for start</comment>
      </variable>
      <variable item="Grade Crossing Hold Time (0-15)" CV="60" mask="XXXXVVVV" default="4" comment="0-15 seconds" tooltip="Sets the time (in seconds) an effect will stay on after the horn button is released">
        <decVal max="15"/>
        <label>Grade Crossing Hold Time (0-15)</label>
        <comment>0-15 seconds</comment>
      </variable>
      <variable CV="61" mask="XVVVVVVV" item="Advanced Group 1 Option 6" default="0" comment="Additional braking when Fll activated (combined with CV4)" tooltip="When F11 is pressed, locos baseline braking rate is modified by this amount">
        <decVal max="127"/>
        <label>F11 Braking Rate (0-127)</label>
        <comment>Additional braking when Fll activated (combined with CV4)</comment>
      </variable>
      <variable CV="61" mask="VXXXXXXX" item="Advanced Group 1 Option 7" default="0" tooltip="Determines whether value is added to or subtracted from loco baseline braking rate">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumBraking.xml"/>
        <label>F11 Braking Sign</label>
      </variable>
      <variable CV="62" mask="XXXXXXXV" item="Advanced Group 1 Option 8" default="0" tooltip="Compensates for incompatibilities that may occur when using some methods of transponding">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumTransponding.xml"/>
        <label>Transponding Control</label>
      </variable>
      <variable CV="63" item="Radio Power Conversion" default="40" tooltip="Sets the voltage difference between when the decoder first powers up and when the locomotive starts to move">
        <decVal/>
        <label>Analog Mode Motor Start Voltage (0-255)</label>
      </variable>
      <variable CV="64" item="Zero-1 Power Conversion" default="180" tooltip="Sets the maximum average voltage applied to the motor when operating in analog mode">
        <decVal/>
        <label>Analog Mode Max Motor Voltage (0-255)</label>
      </variable>
      <variable CV="66" item="Forward Trim" default="128" tooltip="&lt;html&gt;Allows the decoders overall throttle response in the forward direction to be adjusted up or down.&lt;br&gt;     Values 1-127 will decrease motor voltage, 129-255 will increase it.  A value of zero will disable.&lt;br&gt;     Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
        <decVal/>
        <label>Forward Trim (0-255)</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable CV="95" item="Reverse Trim" default="128" tooltip="&lt;html&gt;Allows the decoders overall throttle response in the reverse direction to be adjusted up or down.&lt;br&gt;     Values 1-127 will decrease motor voltage, 129-255 will increase it.  A value of zero will disable.&lt;br&gt;     Tip: this feature only active when speed tables are enabled.&lt;/html&gt;">
        <decVal/>
        <label>Reverse Trim (0-255)</label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUuserId.xml"/>
      <variable CV="112" mask="XXXXXXXV" item="Sound Option 1" default="0" include="MT4" tooltip="Choose whether the locomotive has one or two air pumps">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumAirPump.xml"/>
        <label>Air Pump 2 Enable</label>
      </variable>
      <variable CV="112" mask="XXXXXXXV" item="Sound Option 1" default="1" include="BB,chal,EFE,N_Chal" tooltip="Choose whether the locomotive has one or two air pumps">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumAirPump.xml"/>
        <label>Air Pump 2 Enable</label>
      </variable>
      <variable CV="112" mask="XXVVXXXX" item="Sound Option 2" default="0" exclude="chal" tooltip="&lt;html&gt;Control the variation or timing syncopation when articulated exhaust&lt;br&gt;     is enabled to simulate slipping drive wheels or a double-header.&lt;/html&gt;">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumSlip.xml"/>
        <label>Slip Rate Control</label>
      </variable>
      <variable CV="112" mask="XXVVXXXX" item="Sound Option 2" default="1" include="chal" tooltip="&lt;html&gt;Control the variation or timing syncopation when articulated exhaust&lt;br&gt;     is enabled to simulate slipping drive wheels or a double-header.&lt;/html&gt;">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumSlip.xml"/>
        <label>Slip Rate Control</label>
      </variable>
      <variable CV="112" mask="XVXXXXXX" item="Sound Option 3" default="0" include="MT4,FEF" tooltip="Alters the exhaust timing to sound like a simple articulated engine when Auto Exhaust is activated">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumExhaust.xml"/>
        <label>Articulated Exhaust Control</label>
      </variable>
      <variable CV="112" mask="XVXXXXXX" item="Sound Option 3" default="1" include="BB,chal,N_Chal" tooltip="Alters the exhaust timing to sound like a simple articulated engine when Auto Exhaust is activated">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumExhaust.xml"/>
        <label>Articulated Exhaust Control</label>
      </variable>
      <variable CV="112" mask="VXXXXXXX" item="Sound Option 4" default="0" tooltip="When used in DCC mode, exhaust chuffs can be controlled automatically, or synced to a cam">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumCam.xml"/>
        <label>Cam Enable</label>
      </variable>
      <variable CV="113" item="Sound Group 3 Option 5" default="0" tooltip="&lt;html&gt;When loco has stopped and all functions are turned off, sound effects will turn&lt;br&gt;     off automatically after timeout period has elapsed.  Set to zero to disable.&lt;/html&gt;">
        <decVal/>
        <label>Quiet Mode Timeout Period</label>
      </variable>
      <variable CV="114" mask="XXXXVVVV" item="Sound Group 3 Option 4" default="3" tooltip="Controls the speed at which the bell rings (higher no. = slower rate">
        <decVal max="15"/>
        <label>Bell Ring Rate</label>
      </variable>
      <!-- Whistle Selection follows -->
      <variable CV="115" mask="XXXXXVVV" item="Sound Option 9" default="0" include="BB" tooltip="Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="Union Pacific #4018">
            <choice>Union Pacific #4018</choice>
          </enumChoice>
          <enumChoice choice="Union Pacific #3985">
            <choice>Union Pacific #3985</choice>
          </enumChoice>
          <enumChoice choice="Norfolk &amp; Western #1218">
            <choice>Norfolk &amp; Western #1218</choice>
          </enumChoice>
        </enumVal>
        <label>Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXVVVXXX" item="Sound Option 10" default="0" include="BB" tooltip="Select an alternate whistle to use">
        <enumVal>
          <enumChoice choice="Union Pacific #4018">
            <choice>Union Pacific #4018</choice>
          </enumChoice>
          <enumChoice choice="Union Pacific #3985">
            <choice>Union Pacific #3985</choice>
          </enumChoice>
          <enumChoice choice="Norfolk &amp; Western #1218">
            <choice>Norfolk &amp; Western #1218</choice>
          </enumChoice>
        </enumVal>
        <label>Alternate Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXXXXVVV" item="Sound Option 9" default="0" include="chal,FEF" tooltip="Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="Union Pacific #844">
            <choice>Union Pacific #844</choice>
          </enumChoice>
          <enumChoice choice="Union Pacific #4018">
            <choice>Union Pacific #4018</choice>
          </enumChoice>
          <enumChoice choice="D&amp;RGW K-37 #497">
            <choice>D&amp;RGW K-37 #497</choice>
          </enumChoice>
          <enumChoice choice="USRA 6-Chime">
            <choice>USRA 6-Chime</choice>
          </enumChoice>
          <enumChoice choice="Baltimore &amp; Ohio 3-Chime">
            <choice>Baltimore &amp; Ohio 3-Chime</choice>
          </enumChoice>
          <enumChoice choice="Colorado &amp; Southern #74">
            <choice>Colorado &amp; Southern #74</choice>
          </enumChoice>
          <enumChoice choice="D&amp;RGW K-36 #487">
            <choice>D&amp;RGW K-36 #487</choice>
          </enumChoice>
          <enumChoice choice="Westside Lumber Co. Shay #12">
            <choice>Westside Lumber Co. Shay #12</choice>
          </enumChoice>
        </enumVal>
        <label>Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXVVVXXX" item="Sound Option 10" default="0" include="chal,FEF" tooltip="Select an alternate whistle to use">
        <enumVal>
          <enumChoice choice="Union Pacific #844">
            <choice>Union Pacific #844</choice>
          </enumChoice>
          <enumChoice choice="Union Pacific #4018">
            <choice>Union Pacific #4018</choice>
          </enumChoice>
          <enumChoice choice="D&amp;RGW K-37 #497">
            <choice>D&amp;RGW K-37 #497</choice>
          </enumChoice>
          <enumChoice choice="USRA 6-Chime">
            <choice>USRA 6-Chime</choice>
          </enumChoice>
          <enumChoice choice="Baltimore &amp; Ohio 3-Chime">
            <choice>Baltimore &amp; Ohio 3-Chime</choice>
          </enumChoice>
          <enumChoice choice="Colorado &amp; Southern #74">
            <choice>Colorado &amp; Southern #74</choice>
          </enumChoice>
          <enumChoice choice="D&amp;RGW K-36 #487">
            <choice>D&amp;RGW K-36 #487</choice>
          </enumChoice>
          <enumChoice choice="Westside Lumber Co. Shay #12">
            <choice>Westside Lumber Co. Shay #12</choice>
          </enumChoice>
        </enumVal>
        <label>Alternate Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXXXXVVV" item="Sound Option 9" default="0" include="MT4" tooltip="Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="Southern Pacific 6-Chime">
            <choice>Southern Pacific 6-Chime</choice>
          </enumChoice>
          <enumChoice choice="Southern Pacific #4449 (Whistle)">
            <choice>Southern Pacific #4449 (Whistle)</choice>
          </enumChoice>
          <enumChoice choice="Southern Pacific #4449 (Horn)">
            <choice>Southern Pacific #4449 (Horn)</choice>
          </enumChoice>
        </enumVal>
        <label>Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXVVVXXX" item="Sound Option 10" default="0" include="MT4" tooltip="Select an alternate whistle to use">
        <enumVal>
          <enumChoice choice="Southern Pacific 6-Chime">
            <choice>Southern Pacific 6-Chime</choice>
          </enumChoice>
          <enumChoice choice="Southern Pacific #4449 (Whistle)">
            <choice>Southern Pacific #4449 (Whistle)</choice>
          </enumChoice>
          <enumChoice choice="Southern Pacific #4449 (Horn)">
            <choice>Southern Pacific #4449 (Horn)</choice>
          </enumChoice>
        </enumVal>
        <label>Alternate Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXXXXVVV" item="Sound Option 9" default="0" include="N_Chal" tooltip="Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="Union Pacific #3985">
            <choice>Union Pacific #3985</choice>
          </enumChoice>
          <enumChoice choice="Union Pacific #4018">
            <choice>Union Pacific #4018</choice>
          </enumChoice>
          <enumChoice choice="Norfolk &amp; Western #1218">
            <choice>Norfolk &amp; Western #1218</choice>
          </enumChoice>
        </enumVal>
        <label>Whistle Select</label>
      </variable>
      <variable CV="115" mask="XXVVVXXX" item="Sound Option 10" default="0" include="N_Chal" tooltip="Select an alternate whistle to use">
        <enumVal>
          <enumChoice choice="Union Pacific #3985">
            <choice>Union Pacific #3985</choice>
          </enumChoice>
          <enumChoice choice="Union Pacific #4018">
            <choice>Union Pacific #4018</choice>
          </enumChoice>
          <enumChoice choice="Norfolk &amp; Western #1218">
            <choice>Norfolk &amp; Western #1218</choice>
          </enumChoice>
        </enumVal>
        <label>Alternate Whistle Select</label>
      </variable>
      <!-- End Whistle Selection -->
      <variable CV="115" mask="VXXXXXXX" item="Sound Option 11" default="0" tooltip="Choose whether to use the alternate whistle or a short toot of the primary whistle">
        <enumVal>
          <enumChoice choice="Short Whistle Function">
            <choice>Short Whistle Function</choice>
          </enumChoice>
          <enumChoice choice="Alternate Whistle">
            <choice>Alternate Whistle</choice>
          </enumChoice>
        </enumVal>
        <label>Alternate Whistle Enable</label>
      </variable>
      <variable CV="116" item="Sound Group 3 Option 3" default="95" include="FEF" tooltip="&lt;html&gt;For Auto-Exhaust synchronization, the chuff rate will be generated in proportion to the&lt;br&gt;     throttle setting.  Higher values = higher chuff rates; use zero to disable exhaust sound.&lt;/html&gt;">
        <decVal max="255"/>
        <label>Engine Exhaust Control</label>
      </variable>
      <variable CV="116" item="Sound Group 3 Option 3" default="100" include="chal,MT4" tooltip="&lt;html&gt;For Auto-Exhaust synchronization, the chuff rate will be generated in proportion to the&lt;br&gt;     throttle setting.  Higher values = higher chuff rates; use zero to disable exhaust sound.&lt;/html&gt;">
        <decVal max="255"/>
        <label>Engine Exhaust Control</label>
      </variable>
      <variable CV="116" item="Sound Group 3 Option 3" default="110" include="N_Chal" tooltip="&lt;html&gt;For Auto-Exhaust synchronization, the chuff rate will be generated in proportion to the&lt;br&gt;     throttle setting.  Higher values = higher chuff rates; use zero to disable exhaust sound.&lt;/html&gt;">
        <decVal max="255"/>
        <label>Engine Exhaust Control</label>
      </variable>
      <variable CV="116" item="Sound Group 3 Option 3" default="165" include="BB" tooltip="&lt;html&gt;For Auto-Exhaust synchronization, the chuff rate will be generated in proportion to the&lt;br&gt;     throttle setting.  Higher values = higher chuff rates; use zero to disable exhaust sound.&lt;/html&gt;">
        <decVal max="255"/>
        <label>Engine Exhaust Control</label>
      </variable>
      <!-- Volume Controls follow -->
      <variable CV="128" mask="VVVVVVVV" item="Sound Setting 1" default="192" include="BB,N_Chal" tooltip="Sets the overall volume of all sound channels">
        <decVal/>
        <label>Master Volume Control</label>
      </variable>
      <variable CV="128" mask="VVVVVVVV" item="Sound Setting 1" default="200" include="MT4" tooltip="Sets the overall volume of all sound channels">
        <decVal/>
        <label>Master Volume Control</label>
      </variable>
      <variable CV="128" mask="VVVVVVVV" item="Sound Setting 1" default="255" include="chal,FEF" tooltip="Sets the overall volume of all sound channels">
        <decVal/>
        <label>Master Volume Control</label>
      </variable>
      <variable CV="129" mask="VVVVVVVV" item="Sound Setting 5" default="150" include="FEF" tooltip="Sets the volume of the whistle">
        <decVal/>
        <label>Whistle Volume</label>
      </variable>
      <variable CV="129" mask="VVVVVVVV" item="Sound Setting 5" default="192" include="chal" tooltip="Sets the volume of the whistle">
        <decVal/>
        <label>Whistle Volume</label>
      </variable>
      <variable CV="129" mask="VVVVVVVV" item="Sound Setting 5" default="225" include="BB,N_Chal" tooltip="Sets the volume of the whistle">
        <decVal/>
        <label>Whistle Volume</label>
      </variable>
      <variable CV="129" mask="VVVVVVVV" item="Sound Setting 5" default="200" include="MT4" tooltip="Sets the volume of the whistle">
        <decVal/>
        <label>Whistle Volume</label>
      </variable>
      <variable CV="130" mask="VVVVVVVV" item="Sound Setting 6" default="50" include="chal,FEF" tooltip="Sets the volume of the bell">
        <decVal/>
        <label>Bell Volume</label>
      </variable>
      <variable CV="130" mask="VVVVVVVV" item="Sound Setting 6" default="95" include="MT4,BB" tooltip="Sets the volume of the bell">
        <decVal/>
        <label>Bell Volume</label>
      </variable>
      <variable CV="130" mask="VVVVVVVV" item="Sound Setting 6" default="128" include="N_Chal" tooltip="Sets the volume of the bell">
        <decVal/>
        <label>Bell Volume</label>
      </variable>
      <variable CV="131" mask="VVVVVVVV" item="Sound Setting 7" default="40" include="MT4" tooltip="Sets the volume of the engine exhaust">
        <decVal/>
        <label>Exhaust Volume</label>
      </variable>
      <variable CV="131" mask="VVVVVVVV" item="Sound Setting 7" default="60" include="FEF" tooltip="Sets the volume of the engine exhaust">
        <decVal/>
        <label>Exhaust Volume</label>
      </variable>
      <variable CV="131" mask="VVVVVVVV" item="Sound Setting 7" default="120" include="chal" tooltip="Sets the volume of the engine exhaust">
        <decVal/>
        <label>Exhaust Volume</label>
      </variable>
      <variable CV="131" mask="VVVVVVVV" item="Sound Setting 7" default="180" include="N_Chal" tooltip="Sets the volume of the engine exhaust">
        <decVal/>
        <label>Exhaust Volume</label>
      </variable>
      <variable CV="131" mask="VVVVVVVV" item="Sound Setting 7" default="192" include="BB" tooltip="Sets the volume of the engine exhaust">
        <decVal/>
        <label>Exhaust Volume</label>
      </variable>
      <variable CV="132" mask="VVVVVVVV" item="Sound Setting 9" default="36" include="chal,FEF" tooltip="Sets the volume of the air pump">
        <decVal/>
        <label>Air Pump Volume</label>
      </variable>
      <variable CV="132" mask="VVVVVVVV" item="Sound Setting 9" default="48" include="MT4,BB" tooltip="Sets the volume of the air pump">
        <decVal/>
        <label>Air Pump Volume</label>
      </variable>
      <variable CV="132" mask="VVVVVVVV" item="Sound Setting 9" default="125" include="N_Chal" tooltip="Sets the volume of the air pump">
        <decVal/>
        <label>Air Pump Volume</label>
      </variable>
      <variable CV="133" mask="VVVVVVVV" item="Sound Setting 10" default="15" include="chal" tooltip="Sets the volume of the dynamo (electric power generator)">
        <decVal/>
        <label>Dynamo Volume</label>
      </variable>
      <variable CV="133" mask="VVVVVVVV" item="Sound Setting 10" default="38" include="FEF" tooltip="Sets the volume of the dynamo (electric power generator)">
        <decVal/>
        <label>Dynamo Volume</label>
      </variable>
      <variable CV="133" mask="VVVVVVVV" item="Sound Setting 10" default="64" include="MT4,BB" tooltip="Sets the volume of the dynamo (electric power generator)">
        <decVal/>
        <label>Dynamo Volume</label>
      </variable>
      <variable CV="133" mask="VVVVVVVV" item="Sound Setting 10" default="100" include="N_Chal" tooltip="Sets the volume of the dynamo (electric power generator)">
        <decVal/>
        <label>Dynamo Volume</label>
      </variable>
      <variable CV="134" mask="VVVVVVVV" item="Sound Setting 14" default="12" include="chal,FEF" tooltip="Sets the volume of the blower">
        <decVal/>
        <label>Blower Volume</label>
      </variable>
      <variable CV="134" mask="VVVVVVVV" item="Sound Setting 14" default="16" include="MT4,BB" tooltip="Sets the volume of the blower">
        <decVal/>
        <label>Blower Volume</label>
      </variable>
      <variable CV="134" mask="VVVVVVVV" item="Sound Setting 14" default="140" include="N_Chal" tooltip="Sets the volume of the blower">
        <decVal/>
        <label>Blower Volume</label>
      </variable>
      <variable CV="135" mask="VVVVVVVV" item="Sound Setting 8" default="7" include="chal,FEF" tooltip="Sets the volume of the rods clanking">
        <decVal/>
        <label>Rod Clank Volume</label>
      </variable>
      <variable CV="135" mask="VVVVVVVV" item="Sound Setting 8" default="32" exclude="FEF" tooltip="Sets the volume of the rods clanking">
        <decVal/>
        <label>Rod Clank Volume</label>
      </variable>
      <variable CV="136" mask="VVVVVVVV" item="Sound Setting 23" default="96" include="chal,FEF" tooltip="Sets the volume of the steam release">
        <decVal/>
        <label>Steam Release Volume</label>
      </variable>
      <variable CV="136" mask="VVVVVVVV" item="Sound Setting 23" default="128" exclude="FEF" tooltip="Sets the volume of the steam release">
        <decVal/>
        <label>Steam Release Volume</label>
      </variable>
      <variable CV="137" mask="VVVVVVVV" item="Sound Setting 18" default="96" include="chal,FEF" tooltip="Sets the volume of the couplers coupling">
        <decVal/>
        <label>Coupler Volume</label>
      </variable>
      <variable CV="137" mask="VVVVVVVV" item="Sound Setting 18" default="128" exclude="FEF" tooltip="Sets the volume of the couplers coupling">
        <decVal/>
        <label>Coupler Volume</label>
      </variable>
      <variable CV="139" mask="VVVVVVVV" item="Sound Setting 16" default="30" include="chal" tooltip="Sets the volume of the brakes squealing">
        <decVal/>
        <label>Brake Squeal Volume</label>
      </variable>
      <variable CV="139" mask="VVVVVVVV" item="Sound Setting 16" default="96" include="FEF" tooltip="Sets the volume of the brakes squealing">
        <decVal/>
        <label>Brake Squeal Volume</label>
      </variable>
      <variable CV="139" mask="VVVVVVVV" item="Sound Setting 16" default="128" exclude="FEF" tooltip="Sets the volume of the brakes squealing">
        <decVal/>
        <label>Brake Squeal Volume</label>
      </variable>
      <variable CV="140" mask="VVVVVVVV" item="Sound Setting 17" default="48" include="chal,FEF" tooltip="Sets the volume of the brakes releasing">
        <decVal/>
        <label>Brake Release Volume</label>
      </variable>
      <variable CV="140" mask="VVVVVVVV" item="Sound Setting 17" default="64" exclude="chal,FEF" tooltip="Sets the volume of the brakes releasing">
        <decVal/>
        <label>Brake Release Volume</label>
      </variable>
      <variable CV="141" mask="VVVVVVVV" item="Sound Setting 22" default="48" include="chal,FEF" tooltip="Sets the volume of the snifter valve">
        <decVal/>
        <label>Snifter Valve Volume</label>
      </variable>
      <variable CV="141" mask="VVVVVVVV" item="Sound Setting 22" default="64" exclude="chal,FEF" tooltip="Sets the volume of the snifter valve">
        <decVal/>
        <label>Snifter Valve Volume</label>
      </variable>
      <variable CV="142" mask="VVVVVVVV" item="Sound Setting 12" default="48" include="chal,FEF" tooltip="Sets the volume of the power reverse operating">
        <decVal/>
        <label>Power Reverse Volume</label>
      </variable>
      <variable CV="142" mask="VVVVVVVV" item="Sound Setting 12" default="64" exclude="chal,FEF" tooltip="Sets the volume of the power reverse operating">
        <decVal/>
        <label>Power Reverse Volume</label>
      </variable>
      <variable CV="143" mask="VVVVVVVV" item="Sound Setting 24" default="96" include="chal,FEF" tooltip="Sets the volume of the pop valve releasing">
        <decVal/>
        <label>Pop Valve Volume</label>
      </variable>
      <variable CV="143" mask="VVVVVVVV" item="Sound Setting 24" default="128" exclude="chal,FEF" tooltip="Sets the volume of the pop valve releasing">
        <decVal/>
        <label>Pop Valve Volume</label>
      </variable>
      <variable CV="145" mask="VVVVVVVV" item="Sound Setting 15" default="96" include="FEF" tooltip="Sets the volume of the blower draft">
        <decVal/>
        <label>Blower Draft Volume</label>
      </variable>
      <variable CV="145" mask="VVVVVVVV" item="Sound Setting 15" default="128" exclude="FEF" tooltip="Sets the volume of the blower draft">
        <decVal/>
        <label>Blower Draft Volume</label>
      </variable>
      <variable CV="146" mask="VVVVVVVV" item="Sound Setting 25" default="72" include="chal,FEF" tooltip="Sets the volume of the water stop activity">
        <decVal/>
        <label>Water Stop Volume</label>
      </variable>
      <variable CV="147" mask="VVVVVVVV" item="Sound Setting 13" default="48" include="chal,FEF" tooltip="Sets the volume of the injector operating">
        <decVal/>
        <label>Injector Volume</label>
      </variable>
      <variable CV="148" mask="VVVVVVVV" item="Sound Setting 26" default="48" include="chal,FEF" tooltip="Sets the volume of the fireman shoveling">
        <decVal/>
        <label>Fireman Shovel Volume</label>
      </variable>
      <variable CV="149" mask="VVVVVVVV" item="Sound Setting 27" default="48" include="chal,FEF" tooltip="Sets the volume of the fireman using his wrench">
        <decVal/>
        <label>Fireman Wrench Volume</label>
      </variable>
      <variable CV="150" mask="VVVVVVVV" item="Sound Setting 28" default="48" include="chal,FEF" tooltip="Sets the volume of the fireman using his oil can">
        <decVal/>
        <label>Fireman Oil Can Volume</label>
      </variable>
      <variable CV="151" mask="VVVVVVVV" item="Sound Setting 29" default="24" include="chal,FEF" tooltip="Sets the volume of the fireman using his grease gun">
        <decVal/>
        <label>Fireman Grease Gun Volume</label>
      </variable>
      <!-- The following sounds CVs (currently) don't map to generic -->
      <!-- names, e.g. in the Comprehensive.xml programmer, so they  -->
      <!-- appear on pane definitions in this file -->
      <!-- Equalizer Controls follow -->
      <variable item="Equalizer Control" CV="153" mask="XXXXXVVV" default="0" exclude="chal,FEF" tooltip="Selects one of six equalizer presets or selects a user adjustable profile">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumEQ.xml"/>
        <label>Equalizer Control</label>
      </variable>
      <variable item="Equalizer Control" CV="153" mask="XXXXXVVV" default="7" include="chal,FEF" tooltip="Selects one of six equalizer presets or selects a user adjustable profile">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumEQ.xml"/>
        <label>Equalizer Control</label>
      </variable>
      <!-- Individual Cut/Boost Controls follow -->
      <variable item="62 Hz Cut/Boost" CV="154" mask="VVVVVVVV" default="128" exclude="chal,FEF" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>62 Hz Cut/Boost</label>
      </variable>
      <variable item="62 Hz Cut/Boost" CV="154" mask="VVVVVVVV" default="255" include="chal,FEF" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>62 Hz Cut/Boost</label>
      </variable>
      <variable item="125 Hz Cut/Boost" CV="155" mask="VVVVVVVV" default="128" exclude="chal,FEF" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>125 Hz Cut/Boost</label>
      </variable>
      <variable item="125 Hz Cut/Boost" CV="155" mask="VVVVVVVV" default="255" include="chal,FEF" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>125 Hz Cut/Boost</label>
      </variable>
      <variable item="250 Hz Cut/Boost" CV="156" mask="VVVVVVVV" default="128" exclude="chal,FEF" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>250 Hz Cut/Boost</label>
      </variable>
      <variable item="250 Hz Cut/Boost" CV="156" mask="VVVVVVVV" default="255" include="chal,FEF" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>250 Hz Cut/Boost</label>
      </variable>
      <variable item="500 Hz Cut/Boost" CV="157" mask="VVVVVVVV" default="128" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>500 Hz Cut/Boost</label>
      </variable>
      <variable item="1K Hz Cut/Boost" CV="158" mask="VVVVVVVV" default="128" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>1K Hz Cut/Boost</label>
      </variable>
      <variable item="2K Hz Cut/Boost" CV="159" mask="VVVVVVVV" default="128" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>2K Hz Cut/Boost</label>
      </variable>
      <variable item="4K Hz Cut/Boost" CV="160" mask="VVVVVVVV" default="128" tooltip="0 = -12dB (Cut) : 127 = 0dB (Flat) : 255 = +12dB (Boost)">
        <decVal/>
        <label>4K Hz Cut/Boost</label>
      </variable>
      <!-- Reverb Section follows -->
      <variable item="Reverb Control" CV="161" mask="XXXXXVVV" default="0" tooltip="Selects one of four reverb presets or selects a user adjustable profile">
        <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUenumReverb.xml"/>
        <label>Reverb Control</label>
      </variable>
      <!-- Individual Reverb Output Level Controls follow -->
      <variable item="Reverb Output Level" CV="162" mask="VVVVVVVV" default="128" tooltip="Specifies a percentage of the reverb output that is mixed back into the original audio signal">
        <decVal/>
        <label>Reverb Output Level</label>
      </variable>
      <variable item="Reverb Delay" CV="163" mask="VVVVVVVV" default="255" tooltip="Specifies the total reverb delay time from 0 to 64mS">
        <decVal/>
        <label>Reverb Delay</label>
      </variable>
      <variable item="Reverb Gain" CV="164" mask="VVVVVVVV" default="64" tooltip="Specifies a percentage of the reverb output that is mixed back into the delay line">
        <decVal/>
        <label>Reverb Gain</label>
      </variable>
      <variable item="Whistle Reverb Level" CV="169" mask="VVVVVVVV" default="0" tooltip="Sets the percentage of the whistle signal level to mix into the reverb input">
        <decVal/>
        <label>Whistle Reverb Level</label>
      </variable>
      <variable item="Bell Reverb Level" CV="170" mask="VVVVVVVV" default="0" tooltip="Sets the percentage of the bell signal level to mix into the reverb input">
        <decVal/>
        <label>Bell Reverb Level</label>
      </variable>
      <variable item="Exhaust Reverb Level" CV="171" mask="VVVVVVVV" default="0" tooltip="Sets the percentage of the locomotive exhaust signal level to mix into the reverb input">
        <decVal/>
        <label>Exhaust Reverb Level</label>
      </variable>
      <variable item="Air Pump Reverb Level" CV="172" mask="VVVVVVVV" default="0" tooltip="Sets the percentage of the air pump signal level to mix into the reverb input">
        <decVal/>
        <label>Air Pump Reverb Level</label>
      </variable>
      <!-- Dynamic Digital Exhaust Controls follow -->
      <variable item="Throttle Gain" CV="177" mask="VVVVVVVV" default="10" exclude="FEF" tooltip="&lt;html&gt;Specifies the DDE sensitivity to the difference between the throttle&lt;br&gt;     setting and the actual locomotive speed.  Set to zero to disable.&lt;/html&gt;">
        <decVal/>
        <label>Throttle Gain</label>
      </variable>
      <variable item="Throttle Gain" CV="177" mask="VVVVVVVV" default="20" include="FEF" tooltip="&lt;html&gt;Specifies the DDE sensitivity to the difference between the throttle&lt;br&gt;     setting and the actual locomotive speed.  Set to zero to disable.&lt;/html&gt;">
        <decVal/>
        <label>Throttle Gain</label>
      </variable>
      <variable item="Motor Load Gain" CV="178" mask="VVVVVVVV" default="32" tooltip="Specifies the DDE sensitivity to changes in the motor load.  Set to zero to disable.">
        <decVal/>
        <label>Motor Load Gain</label>
      </variable>
      <variable item="Attack Time Constant" CV="179" mask="VVVVVVVV" default="10" tooltip="&lt;html&gt;Determines the amount of time needed before the DDE processor will begin reshaping &lt;br&gt;     the audio signal once the motor or throttle input signal has begun to change.&lt;/html&gt;">
        <decVal max="255"/>
        <label>Attack Time Constant</label>
      </variable>
      <variable item="Release Time Constant" CV="180" mask="VVVVVVVV" default="10" tooltip="&lt;html&gt;Determines the amount of time needed before the DDE processor will stop reshaping&lt;br&gt;     the audio signal after the motor or throttle input signal has returned to normal.&lt;/html&gt;">
        <decVal/>
        <label>Release Time Constant</label>
      </variable>
      <variable item="Exhaust Low Volume Limit" CV="181" mask="VVVVVVVV" default="255" tooltip="&lt;html&gt;Sets the maximum attenuation level of the exhaust sound when the&lt;br&gt;     locomotive is under light load.  (higher no. = greater attenuation)&lt;/html&gt;">
        <decVal/>
        <label>Exhaust Low Volume Limit</label>
      </variable>
      <variable item="Exhaust High Volume Limit" CV="182" mask="VVVVVVVV" default="128" include="chal,FEF" tooltip="&lt;html&gt;Sets the maximum volume level of the exhaust sound when the&lt;br&gt;     locomotive is under heavy load.  (higher no. = greater volume)&lt;/html&gt;">
        <decVal/>
        <label>Exhaust High Volume Limit</label>
      </variable>
      <variable item="Exhaust High Volume Limit" CV="182" mask="VVVVVVVV" default="255" exclude="chal,FEF" tooltip="&lt;html&gt;Sets the maximum volume level of the exhaust sound when the&lt;br&gt;     locomotive is under heavy load.  (higher no. = greater volume)&lt;/html&gt;">
        <decVal/>
        <label>Exhaust High Volume Limit</label>
      </variable>
      <variable item="Side Rod Clank Low Volume Limit" CV="183" mask="VVVVVVVV" default="255" tooltip="&lt;html&gt;Sets the maximum attenuation level of the side rod clanking sound when&lt;br&gt;     the locomotive is under heavy load.  (higher no. = greater attenuation)&lt;/html&gt;">
        <decVal/>
        <label>Side Rod Clank Low Volume Limit</label>
      </variable>
      <variable item="Side Rod Clank High Volume Limit" CV="184" mask="VVVVVVVV" default="64" include="chal,FEF" tooltip="&lt;html&gt;Sets the maximum volume level of the side rod clanking sound when&lt;br&gt;     the locomotive is under light load.  (higher no. = greater volume)&lt;/html&gt;">
        <decVal/>
        <label>Side Rod Clank High Volume Limit</label>
      </variable>
      <variable item="Side Rod Clank High Volume Limit" CV="184" mask="VVVVVVVV" default="255" exclude="chal,FEF" tooltip="&lt;html&gt;Sets the maximum volume level of the side rod clanking sound when&lt;br&gt;     the locomotive is under light load.  (higher no. = greater volume)&lt;/html&gt;">
        <decVal/>
        <label>Side Rod Clank High Volume Limit</label>
      </variable>
      <variable item="DDE Filter Initial Frequency" CV="185" mask="VVVVVVVV" default="42" tooltip="Specifies the initial frequency of the DDE filter bank.  (higher no. = higher frequency)">
        <decVal/>
        <label>DDE Filter Initial Frequency</label>
      </variable>
      <variable item="DDE Filter Control Gain" CV="186" mask="VVVVVVVV" default="64" exclude="chal,FEF" tooltip="&lt;html&gt;Determines the sensitivity of the DDE filter bank to changes&lt;br&gt;     in load and speed.  (higher no. = greater sensitivity)&lt;/html&gt;">
        <decVal max="255"/>
        <label>DDE Filter Control Gain</label>
      </variable>
      <variable item="DDE Filter Control Gain" CV="186" mask="VVVVVVVV" default="255" include="chal,FEF" tooltip="&lt;html&gt;Determines the sensitivity of the DDE filter bank to changes&lt;br&gt;     in load and speed.  (higher no. = greater sensitivity)&lt;/html&gt;">
        <decVal max="255"/>
        <label>DDE Filter Control Gain</label>
      </variable>
      <variable item="DDE Filter Damping" CV="187" mask="VVVVVVVV" default="255" tooltip="Sets the overall damping ratio of the DDE Filter Bank">
        <decVal/>
        <label>DDE Filter Damping</label>
      </variable>
      <variable item="DDE Tracking Coefficient" CV="188" mask="VVVVVVVV" default="102" tooltip="&lt;html&gt;Sets the no load sense level for the DDE controller when&lt;br&gt;     back-EMF is disabled, as a percentage of the track voltage.&lt;/html&gt;">
        <decVal/>
        <label>DDE Tracking Coefficient</label>
      </variable>
      <!-- Automatic Sound Controls (ASC) follow -->
      <variable item="Bell-On Set Point" CV="193" mask="XVVVVVVV" default="10" tooltip="Specifies the throttle speed step where the automatic bell will first turn on">
        <decVal max="127"/>
        <label>Bell-On Set Point</label>
      </variable>
      <variable item="Bell-Off Set Point" CV="194" mask="XVVVVVVV" default="30" tooltip="Specifies the throttle speed step where the automatic bell will turn off">
        <decVal max="127"/>
        <label>Bell-Off Set Point</label>
      </variable>
      <variable item="Grade Crossing Whistle Sensitivity" CV="195" mask="VVVVVVVV" default="4" tooltip="Specifies the positive rate of throttle change needed to activate the automatic grade crossing whistle">
        <decVal/>
        <label>Grade Crossing Whistle Sensitivity</label>
      </variable>
      <variable item="Brake Squeal Sensitivity" CV="196" mask="VVVVVVVV" default="3" tooltip="Specifies the negative rate of throttle change needed to activate the automatic brake squeal">
        <decVal/>
        <label>Brake Squeal Sensitivity</label>
      </variable>
      <variable item="Automatic Grade Crossing Whistle Enable (Analog Mode)" CV="197" mask="XXXXXXXV" default="0" tooltip="Enables the Automatic Grade Crossing Whistle in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Grade Crossing Whistle Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Whistle Signal Enable (Analog Mode)" CV="197" mask="XXXXXXVX" default="0" exclude="chal,FEF" tooltip="Enables the Automatic Whistle Signal in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Whistle Signal Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Whistle Signal Enable (Analog Mode)" CV="197" mask="XXXXXXVX" default="1" include="chal,FEF" tooltip="Enables the Automatic Whistle Signal in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Whistle Signal Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Bell Enable (Analog Mode)" CV="197" mask="XXXXXVXX" default="0" exclude="chal,FEF" tooltip="Enables the Automatic Bell in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Bell Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Bell Enable (Analog Mode)" CV="197" mask="XXXXXVXX" default="1" include="chal,FEF" tooltip="Enables the Automatic Bell in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Bell Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Brake Squeal Enable (Analog Mode)" CV="197" mask="XXXXVXXX" default="0" exclude="chal,FEF" tooltip="Enables the Automatic Brake Squeal in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Brake Squeal Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Brake Squeal Enable (Analog Mode)" CV="197" mask="XXXXVXXX" default="1" include="chal,FEF" tooltip="Enables the Automatic Brake Squeal in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Brake Squeal Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Steam Blow Down Enable (Analog Mode)" CV="197" mask="XXXVXXXX" default="0" tooltip="Enables the Automatic Steam Blow Down in Analog Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Steam Blow Down Enable (Analog Mode)</label>
      </variable>
      <variable item="Automatic Grade Crossing Whistle Enable" CV="198" mask="XXXXXXXV" default="0" tooltip="Enables the Automatic Grade Crossing Whistle in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Grade Crossing Whistle Enable</label>
      </variable>
      <variable item="Automatic Whistle Signal Enable" CV="198" mask="XXXXXXVX" default="0" tooltip="Enables the Automatic Whistle Signal in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Whistle Signal Enable</label>
      </variable>
      <variable item="Automatic Bell Enable" CV="198" mask="XXXXXVXX" default="0" tooltip="Enables the Automatic Bell in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Bell Enable</label>
      </variable>
      <variable item="Automatic Brake Squeal Enable" CV="198" mask="XXXXVXXX" default="0" exclude="chal" tooltip="Enables the Automatic Brake Squeal in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Brake Squeal Enable</label>
      </variable>
      <variable item="Automatic Brake Squeal Enable" CV="198" mask="XXXXVXXX" default="1" include="chal" tooltip="Enables the Automatic Brake Squeal in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Brake Squeal Enable</label>
      </variable>
      <variable item="Automatic Steam Blow Down Enable" CV="198" mask="XXXVXXXX" default="0" tooltip="Enables the Automatic Steam Blow Down in Digital Mode">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Automatic Steam Blow Down Enable</label>
      </variable>
      <!-- Event Probability Controls follow -->
      <variable item="Probability Fireman Shovels Coal" CV="201" mask="VVVVVVVV" default="0" tooltip="Sets the probability that the fireman will shovel some coal">
        <decVal max="255"/>
        <label>Probability Fireman Shovels Coal</label>
      </variable>
      <variable item="Probability Fireman Fills the Tender" CV="202" mask="VVVVVVVV" default="32" tooltip="Sets the probability that the fireman will fill the tender with water">
        <decVal max="255"/>
        <label>Probability Fireman Fills the Tender</label>
      </variable>
      <variable item="Probability Fireman Turns His Wrench" CV="203" mask="VVVVVVVV" default="16" tooltip="Sets the probability that the fireman will use his wrench">
        <decVal max="255"/>
        <label>Probability Fireman Turns His Wrench</label>
      </variable>
      <variable item="Probability Fireman Uses His Grease Gun" CV="204" mask="VVVVVVVV" default="32" tooltip="Sets the probability that the fireman will use the grease gun">
        <decVal max="255"/>
        <label>Probability Fireman Uses His Grease Gun</label>
      </variable>
      <variable item="Probability Fireman Uses His Oil Can" CV="205" mask="VVVVVVVV" default="64" tooltip="Sets the probability that the fireman will use the oil can">
        <decVal max="255"/>
        <label>Probability Fireman Uses His Oil Can</label>
      </variable>
      <variable item="Probability Fireman Uses the Injector" CV="206" mask="VVVVVVVV" default="64" tooltip="Sets the probability that the fireman will use the water injector">
        <decVal max="255"/>
        <label>Probability Fireman Uses the Injector</label>
      </variable>
      <variable item="Probability Fireman Uses the Blower" CV="207" mask="VVVVVVVV" default="64" tooltip="Sets the probability that the fireman will use the firebox blower">
        <decVal max="255"/>
        <label>Probability Fireman Uses the Blower</label>
      </variable>
      <variable item="Probability Pop Valve Blows Off" CV="208" mask="VVVVVVVV" default="0" tooltip="Sets the probability that the safety valve will relieve">
        <decVal max="255"/>
        <label>Probability Pop Valve Blows Off</label>
      </variable>
      <!-- End of variables for file-specific panes -->
      <!-- Advanced Motor Control Features follow -->
      <variable CV="209" mask="VVVVVVVV" item="Advanced Group 2 Option 1" default="25" tooltip="Specifies a gain factor for the proportional part of the PID motor control equation">
        <decVal/>
        <label>Motor Kp Coefficient (0-255)</label>
      </variable>
      <variable CV="210" mask="VVVVVVVV" item="Advanced Group 2 Option 2" default="20" tooltip="Specifies a gain factor for the integral part of the PID motor control equation">
        <decVal/>
        <label>Motor Ki Coefficient (0-255)</label>
      </variable>
      <variable CV="212" mask="VVVVVVVV" item="Advanced Group 2 Option 3" default="255" include="BB,chal,FEF" tooltip="The CV value is interpreted as n/32 that is fed back from the control loop">
        <decVal/>
        <label>Motor Control Intensity (0-255)</label>
      </variable>
      <variable CV="212" mask="VVVVVVVV" item="Advanced Group 2 Option 3" default="128" include="MT4,N_Chal" tooltip="The CV value is interpreted as n/32 that is fed back from the control loop">
        <decVal/>
        <label>Motor Control Intensity (0-255)</label>
      </variable>
      <variable CV="213" mask="VVVVVVVV" item="Advanced Group 2 Option 4" default="15" tooltip="Specifies the time period in mS (milliseconds) between measurements">
        <decVal max="31"/>
        <label>Motor Control Sample Period (0-31)</label>
      </variable>
      <variable CV="214" mask="VVVVVVVV" item="Advanced Group 2 Option 5" default="15" tooltip="Specifies a gain factor for the derivative part of the PID motor control equation">
        <decVal/>
        <label>Motor Control Sample Aperture Time (0-255)</label>
      </variable>
      <variable CV="218" mask="VVVVVVVV" item="Sound Group 3 Option 8" default="15" include="chal,FEF">
        <decVal/>
        <label>Analog Mode Engine Sound Start</label>
      </variable>
      <!-- highest used so far: -->
      <!-- "Advanced Group 1 Option 8" -->
      <!-- "Advanced Group 2 Option 5" -->
      <!-- "Sound Option 4" -->
      <!-- "Sound Group 1 Option (none yet)" -->
      <!-- "Sound Group 2 Option (none yet)" -->
      <!-- "Sound Setting 29 (several intermediate nos. available)" -->
    </variables>
    <resets>
      <factReset label="Reset all CVs to factory defaults" CV="8" default="8"/>
    </resets>
  </decoder>
  <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneLighting.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneEqualizer.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneReverb.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneDDE.xml"/>
  <xi:include href="http://jmri.org/xml/decoders/soundtraxx/TSUPaneASCsteam.xml"/>
</decoder-config>
