<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2003, 2004 All rights reserved -->
<!-- $Id: SoundTraxx_LC_Steam.xml 17977 2011-07-18 17:23:46Z zoo $ -->
<!--                                                                        -->
<!-- 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="8" lastUpdated="20050817"/>
  <version author="Walter Thompson wsthompson@earthlink.net" version="9" lastUpdated="20080414"/>
<!-- version 4: updates to minOut usage, function mapping -->
<!-- version 5: removed erroneous CV19 definition, corrected VersionID -->
<!-- version 6: rename for tree -->
<!-- version 7: added CV105&106, set CV9 default to 180   -->
<!-- version 8: (20050817 BobJ): numFns corrected from 8 to 10 -->
<!-- Version 9 author Walter Thompson wsthompson@earthlink.net 20080412 -->
<!--            added Reset option -->
  <decoder>
    <family name="LC steam decoders" mfg="Throttle-Up (SoundTraxx)">
      <model model="100LC Steam" numOuts="4" numFns="10" nmraWarrant="yes" nmraWarrantStart="200305">
        <versionCV lowVersionID="32"/>
        <output name="Whistle"/>
        <output name="Bell"/>
        <output name="3" label="FX1"/>
        <output name="4" label="FX2"/>
        <output name="Dim"/>
        <output name="Mute"/>
<!-- The two electical outputs are front headlight, back -->
<!-- headlight-->
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <variable label="Primary Address" CV="1" comment="Short address" item="Short Address" default="03">
        <shortAddressVal/>
        <label>Primary Address</label>
        <comment>Short address</comment>
      </variable>
      <variable label="Start voltage" CV="2" item="Vstart" comment="A value of 255 corresponds to 100%">
        <decVal/>
        <label>Start voltage</label>
        <comment>A value of 255 corresponds to 100%</comment>
      </variable>
      <variable label="Acceleration Rate" CV="3" item="Accel">
        <decVal/>
        <label>Acceleration Rate</label>
      </variable>
      <variable label="Braking Rate" CV="4" item="Decel">
        <decVal/>
        <label>Braking Rate</label>
      </variable>
      <variable label="Manufacturer Version No" CV="7" readOnly="yes" item="Decoder Version">
        <decVal/>
        <label>Manufacturer Version No</label>
      </variable>
      <variable label="Manufacturer ID" CV="8" readOnly="yes" item="Manufacturer">
        <decVal/>
        <label>Manufacturer ID</label>
      </variable>
      <variable label="Motor PWM Period" CV="9" item="Total PWM Period" comment="52.2mS to 5.12 ms" default="180">
        <decVal max="230"/>
        <label>Motor PWM Period</label>
        <comment>52.2mS to 5.12 ms</comment>
      </variable>
      <variable label="Packet Timeout Value" CV="11" item="Packet Time-out Value">
        <decVal/>
        <label>Packet Timeout Value</label>
      </variable>
      <variable label="Extended Address" CV="17" item="Long Address">
        <longAddressVal/>
        <label>Extended Address</label>
      </variable>
      <variable label="Consist Address" CV="19" mask="XVVVVVVV" item="Consist Address">
        <decVal/>
        <label>Consist Address</label>
      </variable>
      <variable label="Consist Direction" CV="19" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Reversed">
            <choice>Reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Direction</label>
      </variable>
      <variable label="Consist Address Active For F1" CV="21" mask="XXXXXXXV" minFn="1">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F1</label>
      </variable>
      <variable label="Consist Address Active For F2" CV="21" mask="XXXXXXVX" minFn="2">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F2</label>
      </variable>
      <variable label="Consist Address Active For F3" CV="21" mask="XXXXXVXX" minFn="3">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F3</label>
      </variable>
      <variable label="Consist Address Active For F4" CV="21" mask="XXXXVXXX" minFn="4">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F4</label>
      </variable>
      <variable label="Consist Address Active For F5" CV="21" mask="XXXVXXXX" minFn="5">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F5</label>
      </variable>
      <variable label="Consist Address Active For F6" CV="21" mask="XXVXXXXX" minFn="6">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F6</label>
      </variable>
      <variable label="Consist Address Active For F7" CV="21" mask="XVXXXXXX" minFn="7">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F7</label>
      </variable>
      <variable label="Consist Address Active For F8" CV="21" mask="VXXXXXXX" minFn="8">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For F8</label>
      </variable>
      <variable label="Consist Address Active For FL in Forward" CV="22" mask="XXXXXXXV">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For FL in Forward</label>
      </variable>
      <variable label="Consist Address Active For FL in Reverse" CV="22" mask="XXXXXXVX">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Active For FL in Reverse</label>
      </variable>
      <variable label="Consist Acceleration Rate" CV="23" mask="XVVVVVVV" default="0" item="Consist Acceleration Adjustment" comment="Additional consist acceleration (combined with CV3)">
        <decVal max="127"/>
        <label>Consist Acceleration Rate</label>
        <comment>Additional consist acceleration (combined with CV3)</comment>
      </variable>
      <variable label="Consist Acceleration Sign" CV="23" mask="VXXXXXXX" item="Consist Acceleration Adjustment Sign">
        <enumVal>
          <enumChoice choice="positive">
            <choice>positive</choice>
          </enumChoice>
          <enumChoice choice="negative">
            <choice>negative</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Acceleration Sign</label>
      </variable>
      <variable label="Consist Braking Rate" CV="24" mask="XVVVVVVV" default="0" item="Consist Deceleration Adjustment" comment="Additional consist braking (combined with CV4)">
        <decVal max="127"/>
        <label>Consist Braking Rate</label>
        <comment>Additional consist braking (combined with CV4)</comment>
      </variable>
      <variable label="Consist Braking Sign" CV="24" mask="VXXXXXXX" item="Consist Deceleration Adjustment Sign">
        <enumVal>
          <enumChoice choice="positive">
            <choice>positive</choice>
          </enumChoice>
          <enumChoice choice="negative">
            <choice>negative</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Braking Sign</label>
      </variable>
      <variable label="Speed Table Selection" CV="25" mask="XXXVVVVV">
        <enumVal>
          <enumChoice choice="no table">
            <choice>no table</choice>
          </enumChoice>
          <enumChoice choice="no table">
            <choice>no table</choice>
          </enumChoice>
          <enumChoice choice="Straight Line">
            <choice>Straight Line</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 1">
            <choice>Log Curve 1</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 2">
            <choice>Log Curve 2</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 3">
            <choice>Log Curve 3</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 4">
            <choice>Log Curve 4</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 5">
            <choice>Log Curve 5</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 6">
            <choice>Log Curve 6</choice>
          </enumChoice>
          <enumChoice choice="Log Curve 7">
            <choice>Log Curve 7</choice>
          </enumChoice>
          <enumChoice choice="Exp Curve 1">
            <choice>Exp Curve 1</choice>
          </enumChoice>
          <enumChoice choice="Exp Curve 2">
            <choice>Exp Curve 2</choice>
          </enumChoice>
          <enumChoice choice="Exp Curve 3">
            <choice>Exp Curve 3</choice>
          </enumChoice>
          <enumChoice choice="Exp Curve 4">
            <choice>Exp Curve 4</choice>
          </enumChoice>
          <enumChoice choice="Exp Curve 5">
            <choice>Exp Curve 5</choice>
          </enumChoice>
          <enumChoice choice="Exp Curve 6">
            <choice>Exp Curve 6</choice>
          </enumChoice>
          <enumChoice choice="User Table">
            <choice>User Table</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Table Selection</label>
      </variable>
      <variable label="Normal direction of motion" CV="29" mask="XXXXXXXV" item="Locomotive Direction">
        <enumVal>
          <enumChoice choice="forward">
            <choice>forward</choice>
          </enumChoice>
          <enumChoice choice="reverse">
            <choice>reverse</choice>
          </enumChoice>
        </enumVal>
        <label>Normal direction of motion</label>
      </variable>
      <variable label="Speed steps" CV="29" mask="XXXXXXVX" item="Speed Step Mode" default="1">
        <enumVal>
          <enumChoice choice="14">
            <choice>14</choice>
          </enumChoice>
          <enumChoice choice="28/128">
            <choice>28/128</choice>
          </enumChoice>
        </enumVal>
        <label>Speed steps</label>
      </variable>
      <variable label="Use Speed Table" CV="29" mask="XXXVXXXX" item="Speed Table Definition">
        <enumVal>
          <enumChoice choice="Use Vstart">
            <choice>Use Vstart</choice>
          </enumChoice>
          <enumChoice choice="Use Table">
            <choice>Use Table</choice>
          </enumChoice>
        </enumVal>
        <label>Use Speed Table</label>
      </variable>
      <variable label="Address Format" CV="29" mask="XXVXXXXX">
        <enumVal>
          <enumChoice choice="One byte (short) address">
            <choice>One byte (short) address</choice>
          </enumChoice>
          <enumChoice choice="Two byte (extended) address">
            <choice>Two byte (extended) address</choice>
          </enumChoice>
        </enumVal>
        <label>Address Format</label>
      </variable>
      <variable label="CV Address Extension" CV="30" mask="XXXXXXXV" item="Advanced Group 1 Option 1" default="0">
        <enumVal>
          <enumChoice choice="System Normal">
            <choice>System Normal</choice>
          </enumChoice>
          <enumChoice choice="CV112-128 mapped to 49-65">
            <choice>CV112-128 mapped to 49-65</choice>
          </enumChoice>
        </enumVal>
        <label>CV Address Extension</label>
      </variable>
      <variable label="EEROM Data Corrupted" CV="30" mask="XXXXXXVX" item="Advanced Group 1 Option 2" default="0">
        <enumVal>
          <enumChoice choice="System Normal">
            <choice>System Normal</choice>
          </enumChoice>
          <enumChoice choice="Data corrupted. Reset to defaults.">
            <choice>Data corrupted. Reset to defaults.</choice>
          </enumChoice>
        </enumVal>
        <label>EEROM Data Corrupted</label>
      </variable>
      <variable label="Function Group 3 Disable" CV="30" mask="XXXXXVXX" item="Advanced Group 1 Option 3" default="0">
        <enumVal>
          <enumChoice choice="System Normal">
            <choice>System Normal</choice>
          </enumChoice>
          <enumChoice choice="Ignore Group3 steerage bit">
            <choice>Ignore Group3 steerage bit</choice>
          </enumChoice>
        </enumVal>
        <label>Function Group 3 Disable</label>
      </variable>
      <variable label="Alternate Function Map" CV="30" mask="XXXXVXXX" item="Advanced Group 1 Option 4" default="0">
        <enumVal>
          <enumChoice choice="NMRA function map">
            <choice>NMRA function map</choice>
          </enumChoice>
          <enumChoice choice="Soundtraxx function map">
            <choice>Soundtraxx function map</choice>
          </enumChoice>
        </enumVal>
        <label>Alternate Function Map</label>
      </variable>
      <variable label="Watchdog Timer Reset" CV="30" mask="XXVXXXXX" item="Advanced Group 1 Option 5">
        <enumVal>
          <enumChoice choice="System Normal">
            <choice>System Normal</choice>
          </enumChoice>
          <enumChoice choice="Watchdog timeout occurred">
            <choice>Watchdog timeout occurred</choice>
          </enumChoice>
        </enumVal>
        <label>Watchdog Timer Reset</label>
      </variable>
      <variable label="Program Checksum Failure" CV="30" mask="XVXXXXXX" item="Advanced Group 1 Option 6" readOnly="yes">
        <enumVal>
          <enumChoice choice="System Normal">
            <choice>System Normal</choice>
          </enumChoice>
          <enumChoice choice="Checksum Test Failed">
            <choice>Checksum Test Failed</choice>
          </enumChoice>
        </enumVal>
        <label>Program Checksum Failure</label>
      </variable>
      <variable label="I2C Bus Acknowledge Failure" CV="30" mask="VXXXXXXX" item="Advanced Group 1 Option 7" readOnly="yes">
        <enumVal>
          <enumChoice choice="System Normal">
            <choice>System Normal</choice>
          </enumChoice>
          <enumChoice choice="No ACK from I2C bus">
            <choice>No ACK from I2C bus</choice>
          </enumChoice>
        </enumVal>
        <label>I2C Bus Acknowledge Failure</label>
      </variable>
      <variable label="FL(f) controls headlight" CV="33" mask="XXXXXXXV" item="FL(f) controls output 1" minOut="1" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls headlight</label>
      </variable>
      <variable label="FL(f) controls backup light" CV="33" mask="XXXXXXVX" item="FL(f) controls output 2" minOut="2" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls backup light</label>
      </variable>
      <variable label="FL(f) controls output Whistle" CV="33" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output Whistle</label>
      </variable>
      <variable label="FL(f) controls output Bell" CV="33" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output Bell</label>
      </variable>
      <variable label="FL(f) controls FX1" CV="33" mask="XXXVXXXX" item="FL(f) controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls FX1</label>
      </variable>
      <variable label="FL(f) controls FX2" CV="33" mask="XXVXXXXX" item="FL(f) controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls FX2</label>
      </variable>
      <variable label="FL(r) controls headlight" CV="34" mask="XXXXXXXV" item="FL(r) controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls headlight</label>
      </variable>
      <variable label="FL(r) controls backup light" CV="34" mask="XXXXXXVX" item="FL(r) controls output 2" minOut="2" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls backup light</label>
      </variable>
      <variable label="FL(r) controls output Whistle" CV="34" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output Whistle</label>
      </variable>
      <variable label="FL(r) controls output Bell" CV="34" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output Bell</label>
      </variable>
      <variable label="FL(r) controls FX1" CV="34" mask="XXXVXXXX" item="FL(r) controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls FX1</label>
      </variable>
      <variable label="FL(r) controls FX2" CV="34" mask="XXVXXXXX" item="FL(r) controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls FX2</label>
      </variable>
      <variable label="F1 controls headlight" CV="35" mask="XXXXXXXV" item="F1 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls headlight</label>
      </variable>
      <variable label="F1 controls backup light" CV="35" mask="XXXXXXVX" item="F1 controls output 2" minOut="2" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls backup light</label>
      </variable>
      <variable label="F1 controls output Whistle" CV="35" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output Whistle</label>
      </variable>
      <variable label="F1 controls output Bell" CV="35" mask="XXXXVXXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output Bell</label>
      </variable>
      <variable label="F1 controls FX1" CV="35" mask="XXXVXXXX" item="F1 controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls FX1</label>
      </variable>
      <variable label="F1 controls FX2" CV="35" mask="XXVXXXXX" item="F1 controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls FX2</label>
      </variable>
      <variable label="F2 controls headlight" CV="36" mask="XXXXXXXV" item="F2 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls headlight</label>
      </variable>
      <variable label="F2 controls backup light" CV="36" mask="XXXXXXVX" item="F2 controls output 2" minOut="2" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls backup light</label>
      </variable>
      <variable label="F2 controls output Whistle" CV="36" mask="XXXXXVXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output Whistle</label>
      </variable>
      <variable label="F2 controls output Bell" CV="36" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output Bell</label>
      </variable>
      <variable label="F2 controls FX1" CV="36" mask="XXXVXXXX" item="F2 controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls FX1</label>
      </variable>
      <variable label="F2 controls FX2" CV="36" mask="XXVXXXXX" item="F2 controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls FX2</label>
      </variable>
      <variable label="F3 controls output Bell" CV="37" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output Bell</label>
      </variable>
      <variable label="F3 controls FX1" CV="37" mask="XXXXXXVX" item="F3 controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls FX1</label>
      </variable>
      <variable label="F3 controls FX2" CV="37" mask="XXXXXVXX" item="F3 controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls FX2</label>
      </variable>
      <variable label="F3 controls output Dim" CV="37" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output Dim</label>
      </variable>
      <variable label="F4 controls output Bell" CV="38" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output Bell</label>
      </variable>
      <variable label="F4 controls FX1" CV="38" mask="XXXXXXVX" item="F4 controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls FX1</label>
      </variable>
      <variable label="F4 controls FX2" CV="38" mask="XXXXXVXX" item="F4 controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls FX2</label>
      </variable>
      <variable label="F4 controls output Dim" CV="38" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output Dim</label>
      </variable>
      <variable label="F5 controls output Bell" CV="39" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output Bell</label>
      </variable>
      <variable label="F5 controls FX1" CV="39" mask="XXXXXXVX" item="F5 controls output 3" minOut="3" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls FX1</label>
      </variable>
      <variable label="F5 controls FX2" CV="39" mask="XXXXXVXX" item="F5 controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls FX2</label>
      </variable>
      <variable label="F5 controls output Dim" CV="39" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output Dim</label>
      </variable>
      <variable label="F6 controls output Bell" CV="40" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output Bell</label>
      </variable>
      <variable label="F6 controls FX1" CV="40" mask="XXXXXXVX" item="F6 controls output 3" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls FX1</label>
      </variable>
      <variable label="F6 controls FX2" CV="40" mask="XXXXXVXX" item="F6 controls output 4" minOut="4" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls FX2</label>
      </variable>
      <variable label="F6 controls output Dim" CV="40" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output Dim</label>
      </variable>
      <variable label="F7 controls output Dim" CV="41" mask="XXXVXXXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output Dim</label>
      </variable>
      <variable label="F7 controls output Mute" CV="41" mask="XXVXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output Mute</label>
      </variable>
      <variable label="F8 controls output Dim" CV="42" mask="XXXVXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output Dim</label>
      </variable>
      <variable label="F8 controls output Mute" CV="42" mask="XXVXXXXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output Mute</label>
      </variable>
      <variable label="Forward light F0F effect generated" CV="49" mask="XXXXVVVV" item="Function F0F effect generated">
        <enumVal>
          <enumChoice choice="On/Off">
            <choice>On/Off</choice>
          </enumChoice>
          <enumChoice choice="Dimmable">
            <choice>Dimmable</choice>
          </enumChoice>
        </enumVal>
        <label>Forward light F0F effect generated</label>
      </variable>
      <variable label="Forward light F0F behavior" CV="49" mask="XVXXXXXX" item="Function F0F behavior">
        <enumVal>
          <enumChoice choice="directional">
            <choice>directional</choice>
          </enumChoice>
          <enumChoice choice="Rule 17 enable">
            <choice>Rule 17 enable</choice>
          </enumChoice>
        </enumVal>
        <label>Forward light F0F behavior</label>
      </variable>
      <variable label="Reverse light F0R effect generated" CV="50" mask="XXXXVVVV" item="Function F0R effect generated">
        <enumVal>
          <enumChoice choice="On/Off">
            <choice>On/Off</choice>
          </enumChoice>
          <enumChoice choice="Dimmable">
            <choice>Dimmable</choice>
          </enumChoice>
        </enumVal>
        <label>Reverse light F0R effect generated</label>
      </variable>
      <variable label="Reverse light F0R behavior" CV="50" mask="XVXXXXXX" item="Function F0R behavior">
        <enumVal>
          <enumChoice choice="directional">
            <choice>directional</choice>
          </enumChoice>
          <enumChoice choice="Rule 17 enable">
            <choice>Rule 17 enable</choice>
          </enumChoice>
        </enumVal>
        <label>Reverse light F0R behavior</label>
      </variable>
      <variable label="Forward Trim" CV="66">
        <decVal/>
        <label>Forward Trim</label>
      </variable>
      <variable label="Reverse Trim" CV="95">
        <decVal/>
        <label>Reverse Trim</label>
      </variable>
      <variable label="Speed Table" CV="67">
        <speedTableVal/>
        <label>Speed Table</label>
      </variable>
<!-- Sound section -->
      <variable label="AirPump" CV="112" mask="XXXXXXXV" item="Sound Option 1" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>AirPump</label>
      </variable>
      <variable label="Articulated Exhaust" CV="112" mask="VXXXXXXX" item="Sound Option 2">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Articulated Exhaust</label>
      </variable>
      <variable label="Startup Mode" CV="113" mask="XXXXXXXV" item="Sound Option 5" default="0">
        <enumVal>
          <enumChoice choice="On at power up">
            <choice>On at power up</choice>
          </enumChoice>
          <enumChoice choice="On when loco selected">
            <choice>On when loco selected</choice>
          </enumChoice>
        </enumVal>
        <label>Startup Mode</label>
      </variable>
      <variable label="Dynamic Digital Exhaust" CV="113" mask="XXXXXXVX" item="Sound Option 6" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Dynamic Digital Exhaust</label>
      </variable>
      <variable label="Whistle Select" CV="115" mask="XXXXXXVV" item="Sound Option 3">
        <enumVal>
          <enumChoice choice="Light">
            <choice>Light</choice>
          </enumChoice>
          <enumChoice choice="Medium">
            <choice>Medium</choice>
          </enumChoice>
          <enumChoice choice="Heavy">
            <choice>Heavy</choice>
          </enumChoice>
        </enumVal>
        <label>Whistle Select</label>
      </variable>
<!-- Volumes section -->
      <variable label="Bell Rate" CV="114" mask="XXXXVVVV" item="Sound Setting 1" default="4" comment="low values = fast, high values = slow">
        <decVal max="15"/>
        <label>Bell Rate</label>
        <comment>low values = fast, high values = slow</comment>
      </variable>
      <variable label="Exhaust Throttle Rate" CV="116" mask="XVVVVVVV" item="Sound Setting 2" default="0" comment="When Auto Mode selected, this sets the Chuff Rate relative to throttle setting.">
        <decVal max="127"/>
        <label>Exhaust Throttle Rate</label>
        <comment>When Auto Mode selected, this sets the Chuff Rate relative to throttle setting.</comment>
      </variable>
      <variable label="Whistle Volume" CV="120" mask="VVVVVVVV" item="Sound Setting 3" default="128">
        <decVal max="255"/>
        <label>Whistle Volume</label>
      </variable>
      <variable label="Bell Volume" CV="121" mask="VVVVVVVV" item="Sound Setting 4" default="128">
        <decVal max="255"/>
        <label>Bell Volume</label>
      </variable>
      <variable label="Exhaust Volume" CV="122" mask="VVVVVVVV" item="Sound Setting 5" default="128">
        <decVal max="255"/>
        <label>Exhaust Volume</label>
      </variable>
      <variable label="Airpump Volume" CV="123" mask="VVVVVVVV" item="Sound Setting 6" default="128">
        <decVal max="255"/>
        <label>Airpump Volume</label>
      </variable>
      <variable label="User Private ID #1" CV="105" item="User Id #1">
        <decVal/>
        <label>User Private ID #1</label>
      </variable>
      <variable label="User Private ID #2" CV="106" item="User Id #2">
        <decVal/>
        <label>User Private ID #2</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="8" default="8"/>
    </resets>
  </decoder>
  <pane name="Soundtraxx">
    <column>
      <display item="Speed Table Selection"/>
      <display item="CV Address Extension"/>
      <display item="EEROM Data Corrupted"/>
      <display item="Function Group 3 Disable"/>
      <display item="Alternate Function Map"/>
      <display item="Watchdog Timer Reset"/>
      <display item="Program Checksum Failure"/>
      <display item="I2C Bus Acknowledge Failure"/>
    </column>
    <name>Soundtraxx</name>
  </pane>
</decoder-config>

