<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (C) JMRI 2003, 2005 All rights reserved -->
<!-- See the COPYING file for more information on licensing and appropriate use -->
<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="Nigel Cliffe ncliffe@btinternet.com" version="1" lastUpdated="20090904"/>
<!-- ZTC badged custom version of the Tsunami sound chip for UK prototypes,  -->
<!-- Based on SoundTraxx_Tsu_Steam_3Light, version 6, with some further changes -->
<!-- based on the consolidated Tsunami Steam file by Jack Shall. -->
<!-- First test version, comments sought on its usefulness and accuracy -->
  <decoder>
    <family name="ZTC Sound" mfg="ZTC">
      <model model="ZTC 471 Small Generic Locomotives" numOuts="4" numFns="15" productID="471" comment="Model 471">
        <versionCV lowVersionID="64"/>
        <output name="1" label="long whistle"/>
<!-- name="Whistle"  -->
        <output name="2" label="short whistle"/>
<!-- name="Bell" -->
        <output name="3" label="FX1 Firebox"/>
<!-- name="3" -->
        <output name="4" label="FX2 Ashpan"/>
<!-- name="4" -->
        <output name="FX5" label="Coasting Chuff"/>
        <output name="FX6" label="ROD"/>
        <output name="FX7 / FOF" label="Headlight"/>
<!-- name="Dynamo" -->
        <output name="FX8 / FOR" label="Rear Light"/>
<!-- name="Short-Whistle" -->
        <output name="FX9" label="Guard Whistle"/>
<!-- name="Steam-Release" -->
        <output name="FX10" label="Steam Hiss"/>
<!--  name="Water-Stop" -->
        <output name="FX11" label="Buffer Coupler"/>
<!-- name="Dim"  -->
        <output name="FX12" label="Mute"/>
<!-- name="Mute" -->
        <output name="FX13" label="Water Stop"/>
<!-- name="Injector" -->
        <output name="FX14" label="BELL"/>
<!-- name="Brake-Squeal" -->
        <output name="FX15" label="Brake Squeal"/>
<!-- name="Coupler" -->
<!-- The four electical outputs are front headlight, back -->
<!-- headlight, F5, F6 -->
      </model>
      <model model="ZTC 472 LMS / LNER Locomotives" numOuts="4" numFns="15" productID="472" comment="Model 472">
        <versionCV lowVersionID="64"/>
        <output name="1" label="long whistle"/>
<!-- name="Whistle"  -->
        <output name="2" label="short whistle"/>
<!-- name="Bell" -->
        <output name="3" label="FX1 Firebox"/>
<!-- name="3" -->
        <output name="4" label="FX2 Ashpan"/>
<!-- name="4" -->
        <output name="FX5" label="Coasting Chuff"/>
        <output name="FX6" label="ROD"/>
        <output name="FX7 / FOF" label="Headlight"/>
<!-- name="Dynamo" -->
        <output name="FX8 / FOR" label="Rear Light"/>
<!-- name="Short-Whistle" -->
        <output name="FX9" label="Guard Whistle"/>
<!-- name="Steam-Release" -->
        <output name="FX10" label="Steam Hiss"/>
<!--  name="Water-Stop" -->
        <output name="FX11" label="Buffer Coupler"/>
<!-- name="Dim"  -->
        <output name="FX12" label="Mute"/>
<!-- name="Mute" -->
        <output name="FX13" label="Water Stop"/>
<!-- name="Injector" -->
        <output name="FX14" label="BELL"/>
<!-- name="Brake-Squeal" -->
        <output name="FX15" label="Brake Squeal"/>
<!-- name="Coupler" -->
<!-- The four electical outputs are front headlight, back -->
<!-- headlight, F5, F6 -->
      </model>
      <model model="ZTC 473 GWR / SR Locomotives" numOuts="4" numFns="15" productID="473" comment="Model 473">
        <versionCV lowVersionID="64"/>
        <output name="1" label="long whistle"/>
<!-- name="Whistle"  -->
        <output name="2" label="short whistle"/>
<!-- name="Bell" -->
        <output name="3" label="FX1 Firebox"/>
<!-- name="3" -->
        <output name="4" label="FX2 Ashpan"/>
<!-- name="4" -->
        <output name="FX5" label="Coasting Chuff"/>
        <output name="FX6" label="ROD"/>
        <output name="FX7 / FOF" label="Headlight"/>
<!-- name="Dynamo" -->
        <output name="FX8 / FOR" label="Rear Light"/>
<!-- name="Short-Whistle" -->
        <output name="FX9" label="Guard Whistle"/>
<!-- name="Steam-Release" -->
        <output name="FX10" label="Steam Hiss"/>
<!--  name="Water-Stop" -->
        <output name="FX11" label="Buffer Coupler"/>
<!-- name="Dim"  -->
        <output name="FX12" label="Mute"/>
<!-- name="Mute" -->
        <output name="FX13" label="Water Stop"/>
<!-- name="Injector" -->
        <output name="FX14" label="BELL"/>
<!-- name="Brake-Squeal" -->
        <output name="FX15" label="Brake Squeal"/>
<!-- name="Coupler" -->
<!-- The four electical outputs are front headlight, back -->
<!-- headlight, F5, F6 -->
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <variable label="Short Address" CV="1" comment="Short address" item="Short Address" default="03" tooltip="CV1 Sets the Primary (short, 2 digit) address">
        <shortAddressVal/>
        <label>Short Address</label>
        <comment>Short address</comment>
      </variable>
      <variable label="Start voltage" CV="2" item="Vstart" comment="A value of 255 corresponds to 100%" default="0" tooltip="CV2 Sets the starting voltage at throttle speed step 1">
        <decVal/>
        <label>Start voltage</label>
        <comment>A value of 255 corresponds to 100%</comment>
      </variable>
      <variable label="Acceleration Rate" CV="3" item="Accel" default="0" tooltip="CV3 Sets the acceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Acceleration Rate</label>
      </variable>
      <variable label="Braking Rate" CV="4" item="Decel" default="0" tooltip="CV4 Sets the deceleration rate (delay).  Higher number = slower rate">
        <decVal/>
        <label>Braking Rate</label>
      </variable>
      <variable label="Manufacturer Version No" CV="7" readOnly="yes" item="Decoder Version" tooltip="CV7 This is the decoder software version identifier (read only)">
        <decVal/>
        <label>Manufacturer Version No</label>
      </variable>
      <variable label="Manufacturer ID" CV="8" readOnly="yes" item="Manufacturer">
        <decVal/>
        <label>Manufacturer ID</label>
      </variable>
<!--  Not in SoundTraxx Tsu Steam file -->
      <variable label="PWM Period" CV="9" item="Total PWM Period" default="0" tooltip="CV9 PWM">
        <decVal/>
        <label>PWM Period</label>
      </variable>
      <variable label="BEMF Cutout" CV="10" item="EMF Feedback Cutout" default="0" tooltip="&lt;html&gt;  CV10  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</label>
      </variable>
      <variable label="Packet Timeout Value" CV="11" item="Packet Time-out Value" default="0" tooltip="&lt;html&gt;CV11 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 Timeout Value</label>
      </variable>
      <variable label="Analog Power Source" item="Analog Power Conversion" CV="12" mask="XXXXXXXV" default="1" tooltip="&lt;html&gt;CV12 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;">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Power Source</label>
      </variable>
      <variable label="Analog Mode Function Status - F1" CV="13" mask="XXXXXXXV" default="0" tooltip="CV13 bit 0; Check to enable function F1 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F1</label>
      </variable>
      <variable label="Analog Mode Function Status - F2" CV="13" mask="XXXXXXVX" default="0" tooltip="CV13 bit 1; Check to enable function F2 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F2</label>
      </variable>
      <variable label="Analog Mode Function Status - F3" CV="13" mask="XXXXXVXX" default="0" tooltip="CV13 bit 2; Check to enable function F3 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F3</label>
      </variable>
      <variable label="Analog Mode Function Status - F4" CV="13" mask="XXXXVXXX" default="0" tooltip="CV13 bit 3; Check to enable function F4 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F4</label>
      </variable>
      <variable label="Analog Mode Function Status - F5" CV="13" mask="XXXVXXXX" default="0" tooltip="CV13 bit 4; Check to enable function F5 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F5</label>
      </variable>
      <variable label="Analog Mode Function Status - F6" CV="13" mask="XXVXXXXX" default="0" tooltip="CV13 bit 5; Check to enable function F6 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F6</label>
      </variable>
      <variable label="Analog Mode Function Status - F7" CV="13" mask="XVXXXXXX" default="0" tooltip="CV13 bit 6; Check to enable function F7 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F7</label>
      </variable>
      <variable label="Analog Mode Function Status - F8" CV="13" mask="VXXXXXXX" default="0" tooltip="CV13 bit 7; Check to enable function F8 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F8</label>
      </variable>
      <variable label="Analog Mode Function Status - F0(f)" CV="14" mask="XXXXXXXV" default="1" tooltip="CV14 bit 0; Check to enable function F0(f) when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F0(f)</label>
      </variable>
      <variable label="Analog Mode Function Status - F0(r)" CV="14" mask="XXXXXXVX" default="1" tooltip="CV14 bit 1; Check to enable function F0(r) when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F0(r)</label>
      </variable>
      <variable label="Analog Mode Function Status - F9" CV="14" mask="XXXXXVXX" default="0" tooltip="CV14 bit 2; Check to enable function F9 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F9</label>
      </variable>
      <variable label="Analog Mode Function Status - F10" CV="14" mask="XXXXVXXX" default="0" tooltip="CV14 bit 3; Check to enable function F10 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F10</label>
      </variable>
      <variable label="Analog Mode Function Status - F11" CV="14" mask="XXXVXXXX" default="0" tooltip="CV14 bit 4; Check to enable function F11 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F11</label>
      </variable>
      <variable label="Analog Mode Function Status - F12" CV="14" mask="XXVXXXXX" default="0" tooltip="CV14 bit 5; Check to enable function F12 when the unit is operating in analog power mode">
        <enumVal>
          <enumChoice choice="off">
            <choice>off</choice>
          </enumChoice>
          <enumChoice choice="on">
            <choice>on</choice>
          </enumChoice>
        </enumVal>
        <label>Analog Mode Function Status - F12</label>
      </variable>
      <variable label="Decoder Lock" CV="16" mask="XXXXXVVV" default="0" tooltip="CV16 Sets the unlock code that must be entered into the CV Unlock Register CV15 in order to access the decoder CVs">
        <decVal/>
        <label>Decoder Lock</label>
      </variable>
      <variable label="Long Address" CV="17" item="Extended Address" default="0003" tooltip="CV17/18 Sets the Extended (long, 4 digit) address">
        <longAddressVal/>
        <label>Long Address</label>
      </variable>
      <variable label="Consist Address" CV="19" mask="XVVVVVVV" item="Consist Address" default="0" comment="CV19 Stores consist address. Range 0-127 (direction set in bit 7)" tooltip="CV19 Stores consist address. Range 0-127">
        <decVal/>
        <label>Consist Address</label>
        <comment>CV19 Stores consist address. Range 0-127 (direction set in bit 7)</comment>
      </variable>
      <variable label="Consist Direction" CV="19" mask="VXXXXXXX" default="0" comment="CV19  A consist address over 127 will also set this bit" tooltip="CV19 bit 7, direction of loco in consist">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Reversed">
            <choice>Reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Direction</label>
        <comment>CV19  A consist address over 127 will also set this bit</comment>
      </variable>
      <variable label="Consist Address Activation for F1" CV="21" mask="XXXXXXXV" item="Consist Address Active For F1" default="0" minFn="1" tooltip="CV21 bit 0">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F1</label>
      </variable>
      <variable label="Consist Address Activation for F2" CV="21" mask="XXXXXXVX" item="Consist Address Active For F2" default="0" minFn="2" tooltip="CV21 bit 1">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F2</label>
      </variable>
      <variable label="Consist Address Activation for F3" CV="21" mask="XXXXXVXX" item="Consist Address Active For F3" default="0" minFn="3" tooltip="CV21 bit 2">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F3</label>
      </variable>
      <variable label="Consist Address Activation for F4" CV="21" mask="XXXXVXXX" item="Consist Address Active For F4" default="0" minFn="4" tooltip="CV21 bit 3">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F4</label>
      </variable>
      <variable label="Consist Address Activation for F5" CV="21" mask="XXXVXXXX" item="Consist Address Active For F5" default="0" minFn="5" tooltip="CV21 bit 4">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F5</label>
      </variable>
      <variable label="Consist Address Activation for F6" CV="21" mask="XXVXXXXX" item="Consist Address Active For F6" default="0" minFn="6" tooltip="CV21 bit 5">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F6</label>
      </variable>
      <variable label="Consist Address Activation for F7" CV="21" mask="XVXXXXXX" item="Consist Address Active For F7" default="0" minFn="7" tooltip="CV21 bit 6">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F7</label>
      </variable>
      <variable label="Consist Address Activation for F8" CV="21" mask="VXXXXXXX" item="Consist Address Active For F8" default="0" minFn="8" tooltip="CV21 bit 7">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F8</label>
      </variable>
      <variable label="Consist Address Activation for F0(f) in Forward" CV="22" mask="XXXXXXXV" item="Consist Address Active For FL in Forward" default="0" tooltip="CV22 bit 0">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F0(f) in Forward</label>
      </variable>
      <variable label="Consist Address Activation for F0(r) in Reverse" CV="22" mask="XXXXXXVX" item="Consist Address Active For FL in Reverse" default="0" tooltip="CV22 bit 1">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F0(r) in Reverse</label>
      </variable>
      <variable label="Consist Address Activation for F9" CV="22" mask="XXXXXVXX" item="Consist Address Active For F9" default="0" minFn="9" tooltip="CV22 bit 2">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F9</label>
      </variable>
      <variable label="Consist Address Activation for F10" CV="22" mask="XXXXVXXX" item="Consist Address Active For F10" default="0" minFn="10" tooltip="CV22 bit 3">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F10</label>
      </variable>
      <variable label="Consist Address Activation for F11" CV="22" mask="XXXVXXXX" item="Consist Address Active For F11" default="0" minFn="11" tooltip="CV22 bit 4">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F11</label>
      </variable>
      <variable label="Consist Address Activation for F12" CV="22" mask="XXVXXXXX" item="Consist Address Active For F12" default="0" minFn="12" tooltip="CV22 bit 5">
        <enumVal>
          <enumChoice choice="Respond to locomotive address only">
            <choice>Respond to locomotive address only</choice>
          </enumChoice>
          <enumChoice choice="Respond to consist address">
            <choice>Respond to consist address</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Address Activation for F12</label>
      </variable>
      <variable label="Consist Acceleration Rate (0-127)" CV="23" mask="XVVVVVVV" item="Consist Acceleration Adjustment" default="0" comment="Additional consist acceleration (combined with CV3)" tooltip="CV23 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 label="Consist Acceleration Sign" CV="23" mask="VXXXXXXX" item="Consist Acceleration Adjustment Sign" default="0" tooltip="CV23 bit 7 Determines whether value is added to or subtracted from loco baseline acceleration rate">
        <enumVal>
          <enumChoice choice="Add value to base acceleration rate (increases acceleration delay)">
            <choice>Add value to base acceleration rate (increases acceleration delay)</choice>
          </enumChoice>
          <enumChoice choice="Subtract value from base acceleration rate (decreases acceleration delay)">
            <choice>Subtract value from base acceleration rate (decreases acceleration delay)</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Acceleration Sign</label>
      </variable>
      <variable label="Consist Braking Rate (0-127)" CV="24" mask="XVVVVVVV" item="Consist Deceleration Adjustment" default="0" comment="Additional consist braking (combined with CV4)" tooltip="CV24 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 label="Consist Braking Sign" CV="24" mask="VXXXXXXX" item="Consist Deceleration Adjustment Sign" default="0" tooltip="CV24 bit 7 Determines whether value is added to or subtracted from loco baseline braking rate">
        <enumVal>
          <enumChoice choice="Add value to baseline braking rate (increases braking delay)">
            <choice>Add value to baseline braking rate (increases braking delay)</choice>
          </enumChoice>
          <enumChoice choice="Subtract value from baseline braking rate (decreases braking delay)">
            <choice>Subtract value from baseline braking rate (decreases braking delay)</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Braking Sign</label>
      </variable>
      <variable label="Speed Table Selection" CV="25" mask="XXXVVVVV" default="0" tooltip="CV25 Select a manufacturers speed curve, or use a curve you define yourself.">
        <enumVal>
          <enumChoice choice="Disabled, Speed Curves not used">
            <choice>Disabled, Speed Curves not used</choice>
          </enumChoice>
          <enumChoice choice="Disabled, Speed Curves not used">
            <choice>Disabled, Speed Curves not used</choice>
          </enumChoice>
          <enumChoice choice="Linear Speed Curve (Straight Line)">
            <choice>Linear Speed Curve (Straight Line)</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 1">
            <choice>Logarithmic Curve 1</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 2">
            <choice>Logarithmic Curve 2</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 3">
            <choice>Logarithmic Curve 3</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 4">
            <choice>Logarithmic Curve 4</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 5">
            <choice>Logarithmic Curve 5</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 6">
            <choice>Logarithmic Curve 6</choice>
          </enumChoice>
          <enumChoice choice="Logarithmic Curve 7">
            <choice>Logarithmic Curve 7</choice>
          </enumChoice>
          <enumChoice choice="Exponential Curve 1">
            <choice>Exponential Curve 1</choice>
          </enumChoice>
          <enumChoice choice="Exponential Curve 2">
            <choice>Exponential Curve 2</choice>
          </enumChoice>
          <enumChoice choice="Exponential Curve 3">
            <choice>Exponential Curve 3</choice>
          </enumChoice>
          <enumChoice choice="Exponential Curve 4">
            <choice>Exponential Curve 4</choice>
          </enumChoice>
          <enumChoice choice="Exponential Curve 5">
            <choice>Exponential Curve 5</choice>
          </enumChoice>
          <enumChoice choice="Exponential Curve 6">
            <choice>Exponential Curve 6</choice>
          </enumChoice>
          <enumChoice choice="User Defined Speed Table">
            <choice>User Defined Speed Table</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Table Selection</label>
      </variable>
      <variable label="Normal direction of motion" CV="29" mask="XXXXXXXV" item="Locomotive Direction" default="0">
        <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="Analog operation" CV="29" mask="XXXXXVXX" item="Analog (DC) Operation" default="0">
        <enumVal>
          <enumChoice choice="DCC only">
            <choice>DCC only</choice>
          </enumChoice>
          <enumChoice choice="Analog (DC) enabled">
            <choice>Analog (DC) enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Analog operation</label>
      </variable>
      <variable label="Use Speed Table" CV="29" mask="XXXVXXXX" item="Speed Table Definition" default="0">
        <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" default="0">
        <enumVal>
          <enumChoice choice="2 Digit Address">
            <choice>2 Digit Address</choice>
          </enumChoice>
          <enumChoice choice="4 Digit Address">
            <choice>4 Digit Address</choice>
          </enumChoice>
        </enumVal>
        <label>Address Format</label>
      </variable>
      <variable label="Clear CVs (CVCLR)" CV="30" mask="XXXXXXVX" item="Advanced Group 1 Option 1" default="0" tooltip="CV30 Tip: To do a one-time decoder reset, use the menu [Reset] selection">
        <enumVal>
          <enumChoice choice="No Action">
            <choice>No Action</choice>
          </enumChoice>
          <enumChoice choice="Clear all CVs at next power cycle">
            <choice>Clear all CVs at next power cycle</choice>
          </enumChoice>
        </enumVal>
        <label>Clear CVs (CVCLR)</label>
      </variable>
      <variable label="Function Group 2 and 3 Exchange" CV="30" mask="XXXXXVXX" item="Advanced Group 1 Option 2" default="0" tooltip="CV30 Function Group 2 (F5-F8) assignments are swapped with Function Group 3 (F9-F12)">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Exchange Group 2 (F5-8) and Group 3 (F9-12)">
            <choice>Exchange Group 2 (F5-8) and Group 3 (F9-12)</choice>
          </enumChoice>
        </enumVal>
        <label>Function Group 2 and 3 Exchange</label>
      </variable>
      <variable label="FL(f) controls headlight" CV="33" mask="XXXXXXXV" item="FL(f) 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(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 3" CV="33" mask="XXXXXVXX" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 3</label>
      </variable>
      <variable label="FL(f) controls output 4" CV="33" mask="XXXXVXXX" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output 4</label>
      </variable>
      <variable label="FL(f) controls output FX5" CV="33" mask="XXXVXXXX" item="FL(f) controls output FX5" minOut="3" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output FX5</label>
      </variable>
      <variable label="FL(f) controls output FX6" CV="33" mask="XXVXXXXX" item="FL(f) controls output FX6" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output FX6</label>
      </variable>
      <variable label="FL(f) controls output FX7 / FOF" CV="33" mask="XVXXXXXX" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output FX7 / FOF</label>
      </variable>
      <variable label="FL(f) controls output FX8 / FOR" CV="33" mask="VXXXXXXX" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(f) controls output FX8 / FOR</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="0">
        <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 3" 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 3</label>
      </variable>
      <variable label="FL(r) controls output 4" 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 4</label>
      </variable>
      <variable label="FL(r) controls output FX5" CV="34" mask="XXXVXXXX" item="FL(r) controls output FX5" minOut="3" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output FX5</label>
      </variable>
      <variable label="FL(r) controls output FX6" CV="34" mask="XXVXXXXX" item="FL(r) controls output FX6" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output FX6</label>
      </variable>
      <variable label="FL(r) controls output FX7 / FOF" CV="34" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output FX7 / FOF</label>
      </variable>
      <variable label="FL(r) controls output FX8 / FOR" CV="34" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>FL(r) controls output FX8 / FOR</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 3" CV="35" mask="XXXXXVXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 3</label>
      </variable>
      <variable label="F1 controls output 4" CV="35" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output 4</label>
      </variable>
      <variable label="F1 controls output FX5" CV="35" mask="XXXVXXXX" item="F1 controls output FX5" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output FX5</label>
      </variable>
      <variable label="F1 controls output FX6" CV="35" mask="XXVXXXXX" item="F1 controls output FX6" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output FX6</label>
      </variable>
      <variable label="F1 controls output FX7 / FOF" CV="35" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output FX7 / FOF</label>
      </variable>
      <variable label="F1 controls output FX8 / FOR" CV="35" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F1 controls output FX8 / FOR</label>
      </variable>
      <variable label="F2 controls headlight" CV="36" mask="XXXXXXXV" item="F2 controls output 1" minOut="1" default="1">
        <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 3" CV="36" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output 3</label>
      </variable>
      <variable label="F2 controls output 4" 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 4</label>
      </variable>
      <variable label="F2 controls output FX5" CV="36" mask="XXXVXXXX" item="F2 controls output FX5" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output FX5</label>
      </variable>
      <variable label="F2 controls output FX6" CV="36" mask="XXVXXXXX" item="F2 controls output FX6" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output FX6</label>
      </variable>
      <variable label="F2 controls output FX7 / FOF" CV="36" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output FX7 / FOF</label>
      </variable>
      <variable label="F2 controls output FX8 / FOR" CV="36" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F2 controls output FX8 / FOR</label>
      </variable>
      <variable label="F3 controls headlight" CV="37" mask="XXXXXXXV" item="F3 controls output 1" minOut="1" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls headlight</label>
      </variable>
      <variable label="F3 controls backup light" CV="37" mask="XXXXXXVX" item="F3 controls output 2" minOut="2" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls backup light</label>
      </variable>
      <variable label="F3 controls output 3" CV="37" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 3</label>
      </variable>
      <variable label="F3 controls output 4" CV="37" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output 4</label>
      </variable>
      <variable label="F3 controls output FX5" CV="37" mask="XXXVXXXX" item="F3 controls output FX5" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output FX5</label>
      </variable>
      <variable label="F3 controls output FX6" CV="37" mask="XXVXXXXX" item="F3 controls output FX5" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output FX6</label>
      </variable>
      <variable label="F3 controls output FX7 / FOF" CV="37" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F3 controls output FX7 / FOF</label>
      </variable>
      <variable label="F3 controls output FX8 / FOR" 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 FX8 / FOR</label>
      </variable>
<!--			
		<variable label="F3 controls output Bell" CV="37" mask="XXXXXXXV" 
				default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX5" CV="37" mask="XXXXXXVX" 
				item="F3 controls output 3"
				minOut="3" default="1"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX6" CV="37" mask="XXXXXVXX" 
				item="F3 controls output 4"
				minOut="4" default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX7 / FOF" CV="37" mask="XXXXVXXX" 
				default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX8 / FOR" CV="37" mask="XXXVXXXX" 
				default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX9" CV="37" mask="XXVXXXXX" 
				default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX10" CV="37" mask="XVXXXXXX" 
				default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		<variable label="F3 controls output FX11" CV="37" mask="VXXXXXXX" 
				default="0"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
-->
      <variable label="F4 controls output 4" 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 4</label>
      </variable>
      <variable label="F4 controls output FX5" CV="38" mask="XXXXXXVX" item="F4 controls output FX5" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output FX5</label>
      </variable>
      <variable label="F4 controls output FX6" CV="38" mask="XXXXXVXX" item="F4 controls output FX6" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output FX6</label>
      </variable>
      <variable label="F4 controls output FX7 / FOF" CV="38" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output FX7 / FOF</label>
      </variable>
      <variable label="F4 controls output FX8 / FOR" CV="38" mask="XXXVXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output FX8 / FOR</label>
      </variable>
      <variable label="F4 controls output FX9" CV="38" mask="XXVXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output FX9</label>
      </variable>
      <variable label="F4 controls output FX10" CV="38" mask="XVXXXXXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F4 controls output FX10</label>
      </variable>
      <variable label="F4 controls output FX11" 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 FX11</label>
      </variable>
      <variable label="F5 controls output 4" CV="39" mask="XXXXXXXV" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output 4</label>
      </variable>
      <variable label="F5 controls output FX5" CV="39" mask="XXXXXXVX" item="F5 controls output FX5" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output FX5</label>
      </variable>
      <variable label="F5 controls output FX6" CV="39" mask="XXXXXVXX" item="F5 controls output FX6" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output FX6</label>
      </variable>
      <variable label="F5 controls output FX7 / FOF" CV="39" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output FX7 / FOF</label>
      </variable>
      <variable label="F5 controls output FX8 / FOR" CV="39" mask="XXXVXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output FX8 / FOR</label>
      </variable>
      <variable label="F5 controls output FX9" CV="39" mask="XXVXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output FX9</label>
      </variable>
      <variable label="F5 controls output FX10" CV="39" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F5 controls output FX10</label>
      </variable>
      <variable label="F5 controls output FX11" 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 FX11</label>
      </variable>
      <variable label="F6 controls output 4" 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 4</label>
      </variable>
      <variable label="F6 controls output FX5" CV="40" mask="XXXXXXVX" item="F6 controls output FX5" minOut="3" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output FX5</label>
      </variable>
      <variable label="F6 controls output FX6" CV="40" mask="XXXXXVXX" item="F6 controls output 4" minOut="4" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output FX6</label>
      </variable>
      <variable label="F6 controls output FX7 / FOF" CV="40" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output FX7 / FOF</label>
      </variable>
      <variable label="F6 controls output FX8 / FOR" CV="40" mask="XXXVXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output FX8 / FOR</label>
      </variable>
      <variable label="F6 controls output FX9" CV="40" mask="XXVXXXXX" default="1">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output FX9</label>
      </variable>
      <variable label="F6 controls output FX10" CV="40" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F6 controls output FX10</label>
      </variable>
      <variable label="F6 controls output FX11" 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 FX11</label>
      </variable>
      <variable label="F7 controls output FX7 / FOF" CV="41" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output FX7 / FOF</label>
      </variable>
      <variable label="F7 controls output FX8 / FOR" CV="41" mask="XXXXXXVX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output FX8 / FOR</label>
      </variable>
      <variable label="F7 controls output FX9" CV="41" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output FX9</label>
      </variable>
      <variable label="F7 controls output FX10" CV="41" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output FX10</label>
      </variable>
      <variable label="F7 controls output FX11" 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 FX11</label>
      </variable>
      <variable label="F7 controls output FX12" 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 FX12</label>
      </variable>
      <variable label="F7 controls output FX13" CV="41" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output FX13</label>
      </variable>
      <variable label="F7 controls output FX14" CV="41" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F7 controls output FX14</label>
      </variable>
      <variable label="F8 controls output FX7 / FOF" CV="42" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output FX7 / FOF</label>
      </variable>
      <variable label="F8 controls output FX8 / FOR" CV="42" mask="XXXXXXVX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output FX8 / FOR</label>
      </variable>
      <variable label="F8 controls output FX9" CV="42" mask="XXXXXVXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output FX9</label>
      </variable>
      <variable label="F8 controls output FX10" CV="42" mask="XXXXVXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output FX10</label>
      </variable>
      <variable label="F8 controls output FX11" 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 FX11</label>
      </variable>
      <variable label="F8 controls output FX12" 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 FX12</label>
      </variable>
      <variable label="F8 controls output FX13" CV="42" mask="XVXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output FX13</label>
      </variable>
      <variable label="F8 controls output FX14" CV="42" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F8 controls output FX14</label>
      </variable>
      <variable label="F9 controls output FX7 / FOF" CV="43" mask="XXXXXXXV" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX7 / FOF</label>
      </variable>
      <variable label="F9 controls output FX8 / FOR" CV="43" mask="XXXXXXVX" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX8 / FOR</label>
      </variable>
      <variable label="F9 controls output FX9" CV="43" mask="XXXXXVXX" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX9</label>
      </variable>
      <variable label="F9 controls output FX10" CV="43" mask="XXXXVXXX" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX10</label>
      </variable>
      <variable label="F9 controls output FX11" CV="43" mask="XXXVXXXX" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX11</label>
      </variable>
      <variable label="F9 controls output FX12" CV="43" mask="XXVXXXXX" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX12</label>
      </variable>
      <variable label="F9 controls output FX13" CV="43" mask="XVXXXXXX" default="1" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX13</label>
      </variable>
      <variable label="F9 controls output FX14" CV="43" mask="VXXXXXXX" default="0" minFn="9">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F9 controls output FX14</label>
      </variable>
      <variable label="F10 controls output FX7 / FOF" CV="44" mask="XXXXXXXV" default="1" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX7 / FOF</label>
      </variable>
      <variable label="F10 controls output FX8 / FOR" CV="44" mask="XXXXXXVX" default="1" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX8 / FOR</label>
      </variable>
      <variable label="F10 controls output FX9" CV="44" mask="XXXXXVXX" default="0" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX9</label>
      </variable>
      <variable label="F10 controls output FX10" CV="44" mask="XXXXVXXX" default="0" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX10</label>
      </variable>
      <variable label="F10 controls output FX11" CV="44" mask="XXXVXXXX" default="0" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX11</label>
      </variable>
      <variable label="F10 controls output FX12" CV="44" mask="XXVXXXXX" default="0" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX12</label>
      </variable>
      <variable label="F10 controls output FX13" CV="44" mask="XVXXXXXX" default="0" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX13</label>
      </variable>
      <variable label="F10 controls output FX14" CV="44" mask="VXXXXXXX" default="0" minFn="10">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F10 controls output FX14</label>
      </variable>
<!-- <variable label="F10 controls output FX15" CV="44" mask="VXXXXXXX" default="0" minFn="10"> <enumVal> 
			<enumChoice choice="No"/> <enumChoice choice="Yes"/> </enumVal> </variable>
		-->
      <variable label="F11 controls output FX8 / FOR" CV="45" mask="XXXXXXXV" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX8 / FOR</label>
      </variable>
      <variable label="F11 controls output FX9" CV="45" mask="XXXXXXVX" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX9</label>
      </variable>
      <variable label="F11 controls output FX10" CV="45" mask="XXXXXVXX" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX10</label>
      </variable>
      <variable label="F11 controls output FX11" CV="45" mask="XXXXVXXX" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX11</label>
      </variable>
      <variable label="F11 controls output FX12" CV="45" mask="XXXVXXXX" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX12</label>
      </variable>
      <variable label="F11 controls output FX13" CV="45" mask="XXVXXXXX" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX13</label>
      </variable>
      <variable label="F11 controls output FX14" CV="45" mask="XVXXXXXX" default="0" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX14</label>
      </variable>
      <variable label="F11 controls output FX15" CV="45" mask="VXXXXXXX" default="1" minFn="11">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F11 controls output FX15</label>
      </variable>
      <variable label="F12 controls output FX8 / FOR" CV="46" mask="XXXXXXXV" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX8 / FOR</label>
      </variable>
      <variable label="F12 controls output FX9" CV="46" mask="XXXXXXVX" default="1" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX9</label>
      </variable>
      <variable label="F12 controls output FX10" CV="46" mask="XXXXXVXX" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX10</label>
      </variable>
      <variable label="F12 controls output FX11" CV="46" mask="XXXXVXXX" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX11</label>
      </variable>
      <variable label="F12 controls output FX12" CV="46" mask="XXXVXXXX" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX12</label>
      </variable>
      <variable label="F12 controls output FX13" CV="46" mask="XXVXXXXX" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX13</label>
      </variable>
      <variable label="F12 controls output FX14" CV="46" mask="XVXXXXXX" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX14</label>
      </variable>
      <variable label="F12 controls output FX15" CV="46" mask="VXXXXXXX" default="0" minFn="12">
        <enumVal>
          <enumChoice choice="No">
            <choice>No</choice>
          </enumChoice>
          <enumChoice choice="Yes">
            <choice>Yes</choice>
          </enumChoice>
        </enumVal>
        <label>F12 controls output FX15</label>
      </variable>
      <variable label="Analog Whistle Control" CV="47" mask="XVVVVVVV" default="0" item="Sound Option 15" tooltip="CV47 Value of 0 = Disabled.  See command station instructions for the value to enable this feature.">
        <decVal/>
        <label>Analog Whistle Control</label>
      </variable>
      <variable label="Front light (F0F) effect generated" CV="49" mask="XXXXVVVV" item="Function F0F effect generated" default="15" tooltip="CV49 Determines the effect generated from the headlight">
        <enumVal>
          <enumChoice choice="On/Off">
            <choice>On/Off</choice>
          </enumChoice>
          <enumChoice choice="Dimmable">
            <choice>Dimmable</choice>
          </enumChoice>
          <enumChoice choice="Mars light">
            <choice>Mars light</choice>
          </enumChoice>
          <enumChoice choice="Gyralite">
            <choice>Gyralite</choice>
          </enumChoice>
          <enumChoice choice="Oscillating">
            <choice>Oscillating</choice>
          </enumChoice>
          <enumChoice choice="Single flash strobe">
            <choice>Single flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Double flash strobe">
            <choice>Double flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Rotary beacon simulation">
            <choice>Rotary beacon simulation</choice>
          </enumChoice>
          <enumChoice choice="Stratolite">
            <choice>Stratolite</choice>
          </enumChoice>
          <enumChoice choice="Type 1 ditch light">
            <choice>Type 1 ditch light</choice>
          </enumChoice>
          <enumChoice choice="Type 2 ditch light">
            <choice>Type 2 ditch light</choice>
          </enumChoice>
          <enumChoice choice="FRED end of train flasher">
            <choice>FRED end of train flasher</choice>
          </enumChoice>
          <enumChoice choice="Engine exhaust flicker">
            <choice>Engine exhaust flicker</choice>
          </enumChoice>
          <enumChoice choice="Firebox Flicker">
            <choice>Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Smart Firebox Flicker">
            <choice>Smart Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Dyno-light">
            <choice>Dyno-light</choice>
          </enumChoice>
        </enumVal>
        <label>Front light (F0F) effect generated</label>
      </variable>
      <variable label="Front light F0F phase" CV="49" mask="XXXVXXXX" item="Function F0F options" tooltip="CV49 Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
        <enumVal>
          <enumChoice choice="Phase A">
            <choice>Phase A</choice>
          </enumChoice>
          <enumChoice choice="Phase B">
            <choice>Phase B</choice>
          </enumChoice>
        </enumVal>
        <label>Front light F0F phase</label>
      </variable>
      <variable label="Front light F0F grade crossing logic" CV="49" mask="XXVXXXXX" item="Function F0F option 2" tooltip="CV49 Causes the lighting effect to become active only when the horn has been sounded">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled When Horn On">
            <choice>Enabled When Horn On</choice>
          </enumChoice>
        </enumVal>
        <label>Front light F0F grade crossing logic</label>
      </variable>
      <variable label="Front light F0F Rule 17 mode" CV="49" mask="XVXXXXXX" item="Function F0F option 3" tooltip="&lt;html&gt;CV49 Converts the headlight and backup light to independent, non-directional lights.  Headlight&lt;br&gt;     is controlled as if it were FX5, Function 5 and the backup light as FX6, Function 6.&lt;/html&gt;">
        <enumVal>
          <enumChoice choice="Disabled (Headlight mapping)">
            <choice>Disabled (Headlight mapping)</choice>
          </enumChoice>
          <enumChoice choice="Enabled (FX5 mapping)">
            <choice>Enabled (FX5 mapping)</choice>
          </enumChoice>
        </enumVal>
        <label>Front light F0F Rule 17 mode</label>
      </variable>
      <variable label="Front light F0F light type" CV="49" mask="VXXXXXXX" item="Function F0F option 4" tooltip="CV49 Provides special compensation for lighting effect contrast when using LEDs">
        <enumVal>
          <enumChoice choice="Incandescent">
            <choice>Incandescent</choice>
          </enumChoice>
          <enumChoice choice="LED">
            <choice>LED</choice>
          </enumChoice>
        </enumVal>
        <label>Front light F0F light type</label>
      </variable>
      <variable label="Rear light F0R effect generated" CV="50" mask="XXXXVVVV" item="Function F0R effect generated" default="15" tooltip="CV50 Determines the effect generated from the backup light">
        <enumVal>
          <enumChoice choice="On/Off">
            <choice>On/Off</choice>
          </enumChoice>
          <enumChoice choice="Dimmable">
            <choice>Dimmable</choice>
          </enumChoice>
          <enumChoice choice="Mars light">
            <choice>Mars light</choice>
          </enumChoice>
          <enumChoice choice="Gyralite">
            <choice>Gyralite</choice>
          </enumChoice>
          <enumChoice choice="Oscillating">
            <choice>Oscillating</choice>
          </enumChoice>
          <enumChoice choice="Single flash strobe">
            <choice>Single flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Double flash strobe">
            <choice>Double flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Rotary beacon simulation">
            <choice>Rotary beacon simulation</choice>
          </enumChoice>
          <enumChoice choice="Stratolite">
            <choice>Stratolite</choice>
          </enumChoice>
          <enumChoice choice="Type 1 ditch light">
            <choice>Type 1 ditch light</choice>
          </enumChoice>
          <enumChoice choice="Type 2 ditch light">
            <choice>Type 2 ditch light</choice>
          </enumChoice>
          <enumChoice choice="FRED end of train flasher">
            <choice>FRED end of train flasher</choice>
          </enumChoice>
          <enumChoice choice="Engine exhaust flicker">
            <choice>Engine exhaust flicker</choice>
          </enumChoice>
          <enumChoice choice="Firebox Flicker">
            <choice>Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Smart Firebox Flicker">
            <choice>Smart Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Dyno-light">
            <choice>Dyno-light</choice>
          </enumChoice>
        </enumVal>
        <label>Rear light F0R effect generated</label>
      </variable>
      <variable label="Rear light F0R phase" CV="50" mask="XXXVXXXX" item="Function F0R options" tooltip="CV50 Alters the timing of the effect so that it's 180 degrees out of phase with the other effects">
        <enumVal>
          <enumChoice choice="Phase A">
            <choice>Phase A</choice>
          </enumChoice>
          <enumChoice choice="Phase B">
            <choice>Phase B</choice>
          </enumChoice>
        </enumVal>
        <label>Rear light F0R phase</label>
      </variable>
      <variable label="Rear light F0R grade crossing logic" CV="50" mask="XXVXXXXX" item="Function F0R option 2" tooltip="CV50 Causes the lighting effect to become active only when the horn has been sounded">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled When Horn On">
            <choice>Enabled When Horn On</choice>
          </enumChoice>
        </enumVal>
        <label>Rear light F0R grade crossing logic</label>
      </variable>
      <variable label="Rear light F0R Rule 17 mode" CV="50" mask="XVXXXXXX" item="Function F0R option 3" tooltip="&lt;html&gt;CV50 Converts the headlight and backup light to independent, non-directional lights.  Headlight&lt;br&gt;     is controlled as if it were FX5, Function 5 and the backup light as FX6, Function 6.&lt;/html&gt;">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Rear light F0R Rule 17 mode</label>
      </variable>
      <variable label="Rear light F0R light type" CV="50" mask="VXXXXXXX" item="Function F0R option 4" tooltip="CV50 Provides special compensation for lighting effect contrast when using LEDs">
        <enumVal>
          <enumChoice choice="Incandescent">
            <choice>Incandescent</choice>
          </enumChoice>
          <enumChoice choice="LED">
            <choice>LED</choice>
          </enumChoice>
        </enumVal>
        <label>Rear light F0R light type</label>
      </variable>
      <variable label="FX1 Firebox light" CV="51" mask="XXXXVVVV" item="Function 1 effect generated" default="14" tooltip="CV51">
        <enumVal>
          <enumChoice choice="On/Off">
            <choice>On/Off</choice>
          </enumChoice>
          <enumChoice choice="Dimmable">
            <choice>Dimmable</choice>
          </enumChoice>
          <enumChoice choice="Mars light">
            <choice>Mars light</choice>
          </enumChoice>
          <enumChoice choice="Gyralite">
            <choice>Gyralite</choice>
          </enumChoice>
          <enumChoice choice="Oscillating">
            <choice>Oscillating</choice>
          </enumChoice>
          <enumChoice choice="Single flash strobe">
            <choice>Single flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Double flash strobe">
            <choice>Double flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Rotary beacon simulation">
            <choice>Rotary beacon simulation</choice>
          </enumChoice>
          <enumChoice choice="Stratolite">
            <choice>Stratolite</choice>
          </enumChoice>
          <enumChoice choice="Type 1 ditch light">
            <choice>Type 1 ditch light</choice>
          </enumChoice>
          <enumChoice choice="Type 2 ditch light">
            <choice>Type 2 ditch light</choice>
          </enumChoice>
          <enumChoice choice="FRED end of train flasher">
            <choice>FRED end of train flasher</choice>
          </enumChoice>
          <enumChoice choice="Engine exhaust flicker">
            <choice>Engine exhaust flicker</choice>
          </enumChoice>
          <enumChoice choice="Firebox Flicker">
            <choice>Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Smart Firebox Flicker">
            <choice>Smart Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Dyno-light">
            <choice>Dyno-light</choice>
          </enumChoice>
        </enumVal>
        <label>FX1 Firebox light</label>
      </variable>
      <variable label="FX1 phase" CV="51" mask="XXXVXXXX" item="Function 1 options" tooltip="CV51">
        <enumVal>
          <enumChoice choice="Phase A">
            <choice>Phase A</choice>
          </enumChoice>
          <enumChoice choice="Phase B">
            <choice>Phase B</choice>
          </enumChoice>
        </enumVal>
        <label>FX1 phase</label>
      </variable>
      <variable label="FX1 grade crossing logic" CV="51" mask="XXVXXXXX" item="Function 1 option 2" tooltip="CV51">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled When Horn On">
            <choice>Enabled When Horn On</choice>
          </enumChoice>
        </enumVal>
        <label>FX1 grade crossing logic</label>
      </variable>
      <variable label="FX1 Rule 17 mode" CV="51" mask="XVXXXXXX" item="Function 1 option 3" tooltip="CV51">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>FX1 Rule 17 mode</label>
      </variable>
      <variable label="FX1 light type" CV="51" mask="VXXXXXXX" item="Function 1 option 4" tooltip="CV51">
        <enumVal>
          <enumChoice choice="Incandescent">
            <choice>Incandescent</choice>
          </enumChoice>
          <enumChoice choice="LED">
            <choice>LED</choice>
          </enumChoice>
        </enumVal>
        <label>FX1 light type</label>
      </variable>
      <variable label="FX2 Ashpan light" CV="52" mask="XXXXVVVV" item="Function 2 effect generated" default="12" tooltip="CV52">
        <enumVal>
          <enumChoice choice="On/Off">
            <choice>On/Off</choice>
          </enumChoice>
          <enumChoice choice="Dimmable">
            <choice>Dimmable</choice>
          </enumChoice>
          <enumChoice choice="Mars light">
            <choice>Mars light</choice>
          </enumChoice>
          <enumChoice choice="Gyralite">
            <choice>Gyralite</choice>
          </enumChoice>
          <enumChoice choice="Oscillating">
            <choice>Oscillating</choice>
          </enumChoice>
          <enumChoice choice="Single flash strobe">
            <choice>Single flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Double flash strobe">
            <choice>Double flash strobe</choice>
          </enumChoice>
          <enumChoice choice="Rotary beacon simulation">
            <choice>Rotary beacon simulation</choice>
          </enumChoice>
          <enumChoice choice="Stratolite">
            <choice>Stratolite</choice>
          </enumChoice>
          <enumChoice choice="Type 1 ditch light">
            <choice>Type 1 ditch light</choice>
          </enumChoice>
          <enumChoice choice="Type 2 ditch light">
            <choice>Type 2 ditch light</choice>
          </enumChoice>
          <enumChoice choice="FRED end of train flasher">
            <choice>FRED end of train flasher</choice>
          </enumChoice>
          <enumChoice choice="Engine exhaust flicker">
            <choice>Engine exhaust flicker</choice>
          </enumChoice>
          <enumChoice choice="Firebox Flicker">
            <choice>Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Smart Firebox Flicker">
            <choice>Smart Firebox Flicker</choice>
          </enumChoice>
          <enumChoice choice="Dyno-light">
            <choice>Dyno-light</choice>
          </enumChoice>
        </enumVal>
        <label>FX2 Ashpan light</label>
      </variable>
      <variable label="FX2 phase" CV="52" mask="XXXVXXXX" item="Function 2 options" tooltip="CV52">
        <enumVal>
          <enumChoice choice="Phase A">
            <choice>Phase A</choice>
          </enumChoice>
          <enumChoice choice="Phase B">
            <choice>Phase B</choice>
          </enumChoice>
        </enumVal>
        <label>FX2 phase</label>
      </variable>
      <variable label="FX2 grade crossing logic" CV="52" mask="XXVXXXXX" item="Function 2 option 2" tooltip="CV52">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled When Horn On">
            <choice>Enabled When Horn On</choice>
          </enumChoice>
        </enumVal>
        <label>FX2 grade crossing logic</label>
      </variable>
      <variable label="FX2 Rule 17 mode" CV="52" mask="XVXXXXXX" item="Function 2 option 3" tooltip="CV52">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>FX2 Rule 17 mode</label>
      </variable>
      <variable label="FX2 light type" CV="52" mask="VXXXXXXX" item="Function 2 option 4" tooltip="CV52">
        <enumVal>
          <enumChoice choice="Incandescent">
            <choice>Incandescent</choice>
          </enumChoice>
          <enumChoice choice="LED">
            <choice>LED</choice>
          </enumChoice>
        </enumVal>
        <label>FX2 light type</label>
      </variable>
      <variable label="Lighting Flash Rate" CV="59" mask="XXXXVVVV" item="Global lighting option 2" default="3" comment="0 is fast, 15 is slow, 4 is recommended for start" tooltip="CV59 Sets the overall flash rate of the Hyperlight effects">
        <decVal max="15"/>
        <label>Lighting Flash Rate</label>
        <comment>0 is fast, 15 is slow, 4 is recommended for start</comment>
      </variable>
      <variable label="Grade Crossing Hold Time" CV="60" mask="XXXXVVVV" item="Global lighting option 3" default="4" comment="0-15 seconds" tooltip="CV60 Sets the time (in seconds) an effect will stay on after the horn button is released">
        <decVal max="15"/>
        <label>Grade Crossing Hold Time</label>
        <comment>0-15 seconds</comment>
      </variable>
      <variable label="F11 Braking Rate (0-127)" CV="61" mask="XVVVVVVV" item="Advanced Group 1 Option 3" default="0" comment="Additional braking when Fll activated (combined with CV4)" tooltip="CV61 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 label="F11 Braking Sign" CV="61" mask="VXXXXXXX" item="Advanced Group 1 Option 4" default="0" tooltip="CV61 Determines whether value is added to or subtracted from loco baseline braking rate">
        <enumVal>
          <enumChoice choice="Add value to baseline braking rate (increases braking delay)">
            <choice>Add value to baseline braking rate (increases braking delay)</choice>
          </enumChoice>
          <enumChoice choice="Subtract value from baseline braking rate (decreases braking delay)">
            <choice>Subtract value from baseline braking rate (decreases braking delay)</choice>
          </enumChoice>
        </enumVal>
        <label>F11 Braking Sign</label>
      </variable>
      <variable label="Transponding Control" CV="62" mask="XXXXXXXV" item="Advanced Group 1 Option 5" default="0" tooltip="CV62 Compensates for incompatibilities that may occur when using some methods of transponding">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="External Compatibility Mode">
            <choice>External Compatibility Mode</choice>
          </enumChoice>
        </enumVal>
        <label>Transponding Control</label>
      </variable>
      <variable label="Analog Vstart" CV="63" tooltip="CV63 Analog mode motor start voltage" default="20">
        <decVal/>
        <label>Analog Vstart</label>
      </variable>
      <variable label="Analog Vmax" CV="64" item="Radio Power Conversion" default="180" tooltip="CV64 Analog mode max motor voltage">
        <decVal/>
        <label>Analog Vmax</label>
      </variable>
<!-- NC addition CV 65 -->
      <variable label="Kick Start" CV="65" tooltip="CV65">
        <decVal/>
        <label>Kick Start</label>
      </variable>
      <variable label="Forward Trim" CV="66" default="128" tooltip="CV66 &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</label>
      </variable>
      <variable label="Speed Table" CV="67" tooltip="CV67">
        <speedTableVal/>
        <label>Speed Table</label>
      </variable>
      <variable label="Reverse Trim" CV="95" default="128" tooltip="CV95 &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</label>
      </variable>
      <variable label="User Private ID #1" CV="105" tooltip="CV105 After reset equals minor revision code" item="User Id #1">
        <decVal/>
        <label>User Private ID #1</label>
      </variable>
      <variable label="User Private ID #2" CV="106" tooltip="CV106 After reset equals default CV value configuration" item="User Id #2">
        <decVal/>
        <label>User Private ID #2</label>
      </variable>
<!-- NC edit of CV112 -->
      <variable label="Westinghouse/Vacuum pumps" CV="112" mask="XXXXXXVV" item="Sound Option 1" default="2" tooltip="CV112 bits 0,1">
        <enumVal>
          <enumChoice choice="Pumps OFF">
            <choice>Pumps OFF</choice>
          </enumChoice>
          <enumChoice choice="Westinghouse Air Pump">
            <choice>Westinghouse Air Pump</choice>
          </enumChoice>
          <enumChoice choice="Single action Vacuum Pump">
            <choice>Single action Vacuum Pump</choice>
          </enumChoice>
          <enumChoice choice="Double action Vacuum Pump">
            <choice>Double action Vacuum Pump</choice>
          </enumChoice>
        </enumVal>
        <label>Westinghouse/Vacuum pumps</label>
      </variable>
      <variable label="unknown for ZTC" CV="112" mask="XXXXVVXX" item="Sound Option 2" default="3" tooltip="CV112 bits 2,3">
        <enumVal>
          <enumChoice choice="CV112 bits 2+3 off">
            <choice>CV112 bits 2+3 off</choice>
          </enumChoice>
          <enumChoice choice="CV112 bit 2, bit 3 off on">
            <choice>CV112 bit 2, bit 3 off on</choice>
          </enumChoice>
          <enumChoice choice="CV112 bit 2 off, bit 3 on">
            <choice>CV112 bit 2 off, bit 3 on</choice>
          </enumChoice>
          <enumChoice choice="CV112 bits 2+3 on (default)">
            <choice>CV112 bits 2+3 on (default)</choice>
          </enumChoice>
        </enumVal>
        <label>unknown for ZTC</label>
      </variable>
      <variable label="Slip Rate Control" CV="112" mask="XXVVXXXX" item="Sound Option 3" tooltip="CV112 bits 4,5">
        <enumVal>
          <enumChoice choice="Zero">
            <choice>Zero</choice>
          </enumChoice>
          <enumChoice choice="Slow">
            <choice>Slow</choice>
          </enumChoice>
          <enumChoice choice="Medium">
            <choice>Medium</choice>
          </enumChoice>
          <enumChoice choice="Fast">
            <choice>Fast</choice>
          </enumChoice>
        </enumVal>
        <label>Slip Rate Control</label>
      </variable>
<!--  There are not any articulated engines in the ZTC sound sets !
		<variable label="Articulated Exhaust Control" CV="112" mask="XVXXXXXX"
		    item="Sound Option 4" tooltip="CV112 bit 6">
			<enumVal>
				<enumChoice choice="Normal (Rod Engine)"/>
				<enumChoice choice="Articulated Engine"/>
				</enumVal>
			</variable>
		-->
      <variable label="Cam Enable" CV="112" mask="VXXXXXXX" item="Sound Option 5" tooltip="CV112 bit 7">
        <enumVal>
          <enumChoice choice="Auto Exhaust Chuff">
            <choice>Auto Exhaust Chuff</choice>
          </enumChoice>
          <enumChoice choice="Cam Synchronized Exhaust">
            <choice>Cam Synchronized Exhaust</choice>
          </enumChoice>
        </enumVal>
        <label>Cam Enable</label>
      </variable>
      <variable label="Quiet Mode Timeout" CV="113" mask="VVVVVVVV" default="0" item="Sound Option 6" tooltip="CV113">
        <decVal max="255"/>
        <label>Quiet Mode Timeout</label>
      </variable>
      <variable label="Bell Ring Rate" CV="114" mask="XXXXVVVV" default="4" item="Sound Setting 1" tooltip="CV114 bits 0-3">
        <decVal max="15"/>
        <label>Bell Ring Rate</label>
      </variable>
      <variable label="ZTC 471 Whistle Selections" CV="115" mask="XXXXXVVV" default="0" item="Sound Option 9" include="471" tooltip="CV115 Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="Small Colliery Loco">
            <choice>Small Colliery Loco</choice>
          </enumChoice>
          <enumChoice choice="General Industrial Loco">
            <choice>General Industrial Loco</choice>
          </enumChoice>
          <enumChoice choice="Absorbed GWR small Tank">
            <choice>Absorbed GWR small Tank</choice>
          </enumChoice>
          <enumChoice choice="Absorbed LMS small Tank">
            <choice>Absorbed LMS small Tank</choice>
          </enumChoice>
          <enumChoice choice="Early LNER">
            <choice>Early LNER</choice>
          </enumChoice>
          <enumChoice choice="Narrow gauge loco">
            <choice>Narrow gauge loco</choice>
          </enumChoice>
          <enumChoice choice="GWR Autocoach Gong / Whistle">
            <choice>GWR Autocoach Gong / Whistle</choice>
          </enumChoice>
        </enumVal>
        <label>ZTC 471 Whistle Selections</label>
      </variable>
      <variable label="ZTC 472 Whistle Selections" CV="115" mask="XXXXXVVV" default="0" item="Sound Option 9" include="472" tooltip="CV115 Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="LNER Fleet whistle">
            <choice>LNER Fleet whistle</choice>
          </enumChoice>
          <enumChoice choice="LNER B12 (F3 only, not F2)">
            <choice>LNER B12 (F3 only, not F2)</choice>
          </enumChoice>
          <enumChoice choice="LNER A4 ">
            <choice>LNER A4 </choice>
          </enumChoice>
          <enumChoice choice="LMS Black 5">
            <choice>LMS Black 5</choice>
          </enumChoice>
          <enumChoice choice="LMS Britannia/BR Standard">
            <choice>LMS Britannia/BR Standard</choice>
          </enumChoice>
        </enumVal>
        <label>ZTC 472 Whistle Selections</label>
      </variable>
      <variable label="ZTC 473 Whistle Selections" CV="115" mask="XXXXXVVV" default="0" item="Sound Option 9" include="473" tooltip="CV115 Select the primary whistle to use">
        <enumVal>
          <enumChoice choice="GWR">
            <choice>GWR</choice>
          </enumChoice>
          <enumChoice choice="GWR Crow">
            <choice>GWR Crow</choice>
          </enumChoice>
          <enumChoice choice="Southern">
            <choice>Southern</choice>
          </enumChoice>
          <enumChoice choice="Southern West Country">
            <choice>Southern West Country</choice>
          </enumChoice>
        </enumVal>
        <label>ZTC 473 Whistle Selections</label>
      </variable>
      <variable label="Whistle Selection" CV="115" mask="VXXXXXXX" default="0" item="Sound Option 10" tooltip="CV115 Choose whether to use the alternate whistle or a short toot of the primary whistle">
        <enumVal>
          <enumChoice choice="Short Whistle">
            <choice>Short Whistle</choice>
          </enumChoice>
          <enumChoice choice="Long Whistle">
            <choice>Long Whistle</choice>
          </enumChoice>
        </enumVal>
        <label>Whistle Selection</label>
      </variable>
      <variable label="Engine Exhaust Rate" CV="116" mask="VVVVVVVV" default="80" item="Sound Setting 2" tooltip="&lt;html&gt;CV116 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 Rate</label>
      </variable>
<!-- What these parameters (CV120-127) are used for is unclear, so commented out for now. 
		<variable label="Processor Parameter 0" CV="120" default="0"  tooltip="CV120" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 1" CV="121" default="0" tooltip="CV121" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 2" CV="122" default="0" tooltip="CV122" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 3" CV="123" default="0" tooltip="CV123" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 4" CV="124" default="0" tooltip="CV124" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 5" CV="125" default="0" tooltip="CV125" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 6" CV="126" default="0" tooltip="CV126" >
			<decVal max="255"/>
		</variable>
		<variable label="Processor Parameter 7" CV="127" default="0" tooltip="CV127" >
			<decVal max="255"/>
		</variable>
		-->
      <variable label="Master Volume" CV="128" mask="VVVVVVVV" default="192" item="Sound Setting 3" tooltip="CV128">
        <decVal max="255"/>
        <label>Master Volume</label>
      </variable>
      <variable label="Whistle Volume" CV="129" mask="VVVVVVVV" default="225" item="Sound Setting 4" tooltip="CV129">
        <decVal max="255"/>
        <label>Whistle Volume</label>
      </variable>
      <variable label="Bell Volume" CV="130" mask="VVVVVVVV" default="128" item="Sound Setting 5" tooltip="CV130">
        <decVal max="255"/>
        <label>Bell Volume</label>
      </variable>
      <variable label="Chuff (Exhaust) Volume" CV="131" mask="VVVVVVVV" default="192" item="Sound Setting 6" tooltip="CV131">
        <decVal max="255"/>
        <label>Chuff (Exhaust) Volume</label>
      </variable>
      <variable label="Westinghouse / Vac Pump Volume" CV="132" mask="VVVVVVVV" default="192" item="Sound Setting 7" tooltip="CV132">
        <decVal max="255"/>
        <label>Westinghouse / Vac Pump Volume</label>
      </variable>
      <variable label="Dynamo Volume" CV="133" mask="VVVVVVVV" default="32" item="Sound Setting 8" tooltip="CV133">
        <decVal max="255"/>
        <label>Dynamo Volume</label>
      </variable>
      <variable label="Blower Volume" CV="134" mask="VVVVVVVV" default="16" item="Sound Setting 9" tooltip="CV134">
        <decVal max="255"/>
        <label>Blower Volume</label>
      </variable>
      <variable label="Rod Clank Volume" CV="135" mask="VVVVVVVV" default="32" item="Sound Setting 10" tooltip="CV135">
        <decVal max="255"/>
        <label>Rod Clank Volume</label>
      </variable>
      <variable label="Steam Release Volume" CV="136" mask="VVVVVVVV" default="128" item="Sound Setting 11" tooltip="CV136">
        <decVal max="255"/>
        <label>Steam Release Volume</label>
      </variable>
      <variable label="Coupler Volume" CV="137" mask="VVVVVVVV" default="128" item="Sound Setting 12" tooltip="CV137">
        <decVal max="255"/>
        <label>Coupler Volume</label>
      </variable>
      <variable label="(Channel 9 mixer level)" CV="138" mask="VVVVVVVV" default="0" item="Sound Setting 13" tooltip="CV138">
        <decVal max="255"/>
        <label>(Channel 9 mixer level)</label>
      </variable>
      <variable label="Brake Squeal Volume" CV="139" mask="VVVVVVVV" default="128" item="Sound Setting 14" tooltip="CV139">
        <decVal max="255"/>
        <label>Brake Squeal Volume</label>
      </variable>
      <variable label="Brake Release Volume" CV="140" mask="VVVVVVVV" default="64" item="Sound Setting 15" tooltip="CV140">
        <decVal max="255"/>
        <label>Brake Release Volume</label>
      </variable>
      <variable label="Snifter Valve Volume" CV="141" mask="VVVVVVVV" default="64" item="Sound Setting 16" tooltip="CV141">
        <decVal max="255"/>
        <label>Snifter Valve Volume</label>
      </variable>
      <variable label="Power Reverse Volume" CV="142" mask="VVVVVVVV" default="64" item="Sound Setting 17" tooltip="CV142">
        <decVal max="255"/>
        <label>Power Reverse Volume</label>
      </variable>
      <variable label="Pop Valve Volume" CV="143" mask="VVVVVVVV" default="128" item="Sound Setting 18" tooltip="CV143">
        <decVal max="255"/>
        <label>Pop Valve Volume</label>
      </variable>
      <variable label="(Channel 15 mixer level)" CV="144" mask="VVVVVVVV" default="128" item="Sound Setting 19" tooltip="CV144">
        <decVal max="255"/>
        <label>(Channel 15 mixer level)</label>
      </variable>
      <variable label="Blower Draft Volume" CV="145" mask="VVVVVVVV" default="128" item="Sound Setting 20" tooltip="CV145">
        <decVal max="255"/>
        <label>Blower Draft Volume</label>
      </variable>
      <variable label="Water Stop Volume" CV="146" mask="VVVVVVVV" default="96" item="Sound Setting 21" tooltip="CV146">
        <decVal max="255"/>
        <label>Water Stop Volume</label>
      </variable>
      <variable label="Injector Volume" CV="147" mask="VVVVVVVV" default="64" item="Sound Setting 22" tooltip="CV147">
        <decVal max="255"/>
        <label>Injector Volume</label>
      </variable>
      <variable label="Fireman Shovel Volume" CV="148" mask="VVVVVVVV" default="64" item="Sound Setting 23" tooltip="CV148">
        <decVal max="255"/>
        <label>Fireman Shovel Volume</label>
      </variable>
      <variable label="Fireman Wrench Volume" CV="149" mask="VVVVVVVV" default="64" item="Sound Setting 24" tooltip="CV149">
        <decVal max="255"/>
        <label>Fireman Wrench Volume</label>
      </variable>
      <variable label="Fireman Oil Can Volume" CV="150" mask="VVVVVVVV" default="64" item="Sound Setting 25" tooltip="CV150">
        <decVal max="255"/>
        <label>Fireman Oil Can Volume</label>
      </variable>
<!-- NC change to CV151, in ZTC this is Clack Valve -->
      <variable label="Clack Valve Volume" CV="151" mask="VVVVVVVV" default="48" item="Sound Setting 26" tooltip="CV151">
        <decVal max="255"/>
        <label>Clack Valve Volume</label>
      </variable>
<!-- NC addition CV152 -->
      <variable label="FireBox Door Slam" CV="152" mask="VVVVVVVV" default="64" item="Sound Setting 27" tooltip="CV152">
        <decVal max="255"/>
        <label>FireBox Door Slam</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 -->
      <variable label="Equalizer Control" CV="153" mask="XXXXXVVV" default="0" tooltip="CV153 bits 0-2">
        <enumVal>
          <enumChoice choice="Flat (off)">
            <choice>Flat (off)</choice>
          </enumChoice>
          <enumChoice choice="Tiny Speaker">
            <choice>Tiny Speaker</choice>
          </enumChoice>
          <enumChoice choice="Small Speaker">
            <choice>Small Speaker</choice>
          </enumChoice>
          <enumChoice choice="Medium Speaker">
            <choice>Medium Speaker</choice>
          </enumChoice>
          <enumChoice choice="large Speaker">
            <choice>large Speaker</choice>
          </enumChoice>
          <enumChoice choice="Edgeport Speaker">
            <choice>Edgeport Speaker</choice>
          </enumChoice>
          <enumChoice choice="Boom Box">
            <choice>Boom Box</choice>
          </enumChoice>
          <enumChoice choice="User Adjustable">
            <choice>User Adjustable</choice>
          </enumChoice>
        </enumVal>
        <label>Equalizer Control</label>
      </variable>
      <variable label="62 Hz Cut/Boost" CV="154" mask="VVVVVVVV" default="128" tooltip="CV154">
        <decVal max="255"/>
        <label>62 Hz Cut/Boost</label>
      </variable>
      <variable label="125 Hz Cut/Boost" CV="155" mask="VVVVVVVV" default="128" tooltip="CV155">
        <decVal max="255"/>
        <label>125 Hz Cut/Boost</label>
      </variable>
      <variable label="250 Hz Cut/Boost" CV="156" mask="VVVVVVVV" default="128" tooltip="CV156">
        <decVal max="255"/>
        <label>250 Hz Cut/Boost</label>
      </variable>
      <variable label="500 Hz Cut/Boost" CV="157" mask="VVVVVVVV" default="128" tooltip="CV157">
        <decVal max="255"/>
        <label>500 Hz Cut/Boost</label>
      </variable>
      <variable label="1K Hz Cut/Boost" CV="158" mask="VVVVVVVV" default="128" tooltip="CV158">
        <decVal max="255"/>
        <label>1K Hz Cut/Boost</label>
      </variable>
      <variable label="2K Hz Cut/Boost" CV="159" mask="VVVVVVVV" default="128" tooltip="CV159">
        <decVal max="255"/>
        <label>2K Hz Cut/Boost</label>
      </variable>
      <variable label="4K Hz Cut/Boost" CV="160" mask="VVVVVVVV" default="128" tooltip="CV160">
        <decVal max="255"/>
        <label>4K Hz Cut/Boost</label>
      </variable>
      <variable label="Reverb Control" CV="161" mask="XXXXXVVV" default="0" tooltip="CV161 bits 0-2">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Additional Reverb for Whistle">
            <choice>Additional Reverb for Whistle</choice>
          </enumChoice>
          <enumChoice choice="Light Reverb in Exhaust">
            <choice>Light Reverb in Exhaust</choice>
          </enumChoice>
          <enumChoice choice="Medium Reverb in Exhaust">
            <choice>Medium Reverb in Exhaust</choice>
          </enumChoice>
          <enumChoice choice="heavy Reverb in Exhaust">
            <choice>heavy Reverb in Exhaust</choice>
          </enumChoice>
          <enumChoice choice="Reserved (5)">
            <choice>Reserved (5)</choice>
          </enumChoice>
          <enumChoice choice="Reserved (6)">
            <choice>Reserved (6)</choice>
          </enumChoice>
          <enumChoice choice="User Adjustable">
            <choice>User Adjustable</choice>
          </enumChoice>
        </enumVal>
        <label>Reverb Control</label>
      </variable>
      <variable label="Reverb Output Level" CV="162" mask="VVVVVVVV" default="128" tooltip="CV162">
        <decVal max="255"/>
        <label>Reverb Output Level</label>
      </variable>
      <variable label="Reverb Delay" CV="163" mask="VVVVVVVV" default="255" tooltip="CV163">
        <decVal max="255"/>
        <label>Reverb Delay</label>
      </variable>
      <variable label="Reverb Gain" CV="164" mask="VVVVVVVV" default="64" tooltip="CV164">
        <decVal max="255"/>
        <label>Reverb Gain</label>
      </variable>
      <variable label="Whistle level" tooltip="CV169 Reverb channel 0" item="Whistle Reverb Level" CV="169" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Whistle level</label>
      </variable>
      <variable label="Bell level" tooltip="CV170 Reverb channel 1" item="Bell Reverb Level" CV="170" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Bell level</label>
      </variable>
      <variable label="Chuff level" tooltip="CV171 Reverb channel 2" item="Exhaust Reverb Level" CV="171" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Chuff level</label>
      </variable>
      <variable label="Air/vac pump level" tooltip="CV172 Reverb channel 3" item="Air Pump Reverb Level" CV="172" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Air/vac pump level</label>
      </variable>
      <variable label="Dynamo level" tooltip="CV173 Reverb channel 4" item="Dynamo Reverb Level" CV="173" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Dynamo level</label>
      </variable>
      <variable label="Blower level" tooltip="CV174 Reverb channel 5" item="Blower Reverb Level" CV="174" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Blower level</label>
      </variable>
<!-- NC added CV 175 and CV176 -->
      <variable label="Rod Clank level" tooltip="CV175 Reverb channel 6" item="Reverb channel 6 mixer level" CV="175" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Rod Clank level</label>
      </variable>
      <variable label="Steam Hiss level" tooltip="CV176 Reverb channel 7" item="Reverb channel 7 mixer level" CV="176" mask="VVVVVVVV" default="0">
        <decVal max="255"/>
        <label>Steam Hiss level</label>
      </variable>
      <variable label="Throttle Gain" CV="177" mask="VVVVVVVV" default="10" tooltip="&lt;html&gt;CV177 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 max="255"/>
        <label>Throttle Gain</label>
      </variable>
      <variable label="Motor Load Gain" CV="178" mask="VVVVVVVV" default="32" tooltip="CV178 Specifies the DDE sensitivity to changes in the motor load.  Set to zero to disable.">
        <decVal max="255"/>
        <label>Motor Load Gain</label>
      </variable>
      <variable label="Attack Time Constant" CV="179" mask="VVVVVVVV" default="10" tooltip="&lt;html&gt;CV179 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 label="Decay Time Constant" item="Release Time Constant" CV="180" mask="VVVVVVVV" default="10" tooltip="&lt;html&gt;CV180 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 max="255"/>
        <label>Decay Time Constant</label>
      </variable>
      <variable label="Exhaust Low Volume Limit" CV="181" mask="VVVVVVVV" default="255" tooltip="&lt;html&gt;CV181 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 max="255"/>
        <label>Exhaust Low Volume Limit</label>
      </variable>
      <variable label="Exhaust High Volume Limit" CV="182" mask="VVVVVVVV" default="255" tooltip="&lt;html&gt;CV182 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 max="255"/>
        <label>Exhaust High Volume Limit</label>
      </variable>
      <variable label="Side Rod Clank Low Volume Limit" CV="183" mask="VVVVVVVV" default="255" tooltip="&lt;html&gt;CV183 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 max="255"/>
        <label>Side Rod Clank Low Volume Limit</label>
      </variable>
      <variable label="Side Rod Clank High Volume Limit" CV="184" mask="VVVVVVVV" default="255" tooltip="&lt;html&gt;CV184 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 max="255"/>
        <label>Side Rod Clank High Volume Limit</label>
      </variable>
      <variable label="Filter Initial Frequency" CV="185" mask="VVVVVVVV" default="42" tooltip="CV185 Specifies the initial frequency of the DDE filter bank.  (higher no. = higher frequency)">
        <decVal max="255"/>
        <label>Filter Initial Frequency</label>
      </variable>
      <variable label="Filter Control Gain" CV="186" mask="VVVVVVVV" default="64" tooltip="&lt;html&gt;CV186 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>Filter Control Gain</label>
      </variable>
      <variable label="Filter Damping" CV="187" mask="VVVVVVVV" default="255" tooltip="CV187 Sets the overall damping ratio of the DDE Filter Bank.">
        <decVal max="255"/>
        <label>Filter Damping</label>
      </variable>
      <variable label="BEMF Tracking Constant" item="Tracking Coefficient" CV="188" mask="VVVVVVVV" default="102" tooltip="&lt;html&gt;CV188 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 max="255"/>
        <label>BEMF Tracking Constant</label>
      </variable>
<!-- NC addition, CV 189 -->
      <variable label="BEMF Tracking Offset" item="Tracking Offset" CV="189" mask="VVVVVVVV" default="0" tooltip="CV189">
        <decVal max="255"/>
        <label>BEMF Tracking Offset</label>
      </variable>
<!-- Automatic Sound Controls (ASC) follow -->
      <variable label="Bell-On Set Point" CV="193" mask="XVVVVVVV" default="15" tooltip="CV193 Specifies the throttle speed step where the automatic bell will first turn on">
        <decVal max="127"/>
        <label>Bell-On Set Point</label>
      </variable>
      <variable label="Bell-Off Set Point" CV="194" mask="XVVVVVVV" default="19" tooltip="CV194 Specifies the throttle speed step where the automatic bell will turn off">
        <decVal max="127"/>
        <label>Bell-Off Set Point</label>
      </variable>
      <variable label="Grade Crossing Whistle Sensitivity" CV="195" mask="VVVVVVVV" default="4" tooltip="CV195 Specifies the positive rate of throttle change needed to activate the automatic grade crossing whistle">
        <decVal/>
        <label>Grade Crossing Whistle Sensitivity</label>
      </variable>
      <variable label="Brake Squeal Sensitivity" CV="196" mask="VVVVVVVV" default="3" tooltip="CV196 Specifies the negative rate of throttle change needed to activate the automatic brake squeal">
        <decVal/>
        <label>Brake Squeal Sensitivity</label>
      </variable>
      <variable label="Automatic Grade Crossing Whistle Enable (Analog Mode)" CV="197" mask="XXXXXXXV" default="0" tooltip="CV197 Enables the Automatic Grade Crossing Whistle in Analog Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Grade Crossing Whistle Enable (Analog Mode)</label>
      </variable>
      <variable label="Automatic Whistle Signal Enable (Analog Mode)" CV="197" mask="XXXXXXVX" default="0" tooltip="CV197 Enables the Automatic Whistle Signal in Analog Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Whistle Signal Enable (Analog Mode)</label>
      </variable>
      <variable label="Automatic Bell Enable (Analog Mode)" CV="197" mask="XXXXXVXX" default="0" tooltip="CV197 Enables the Automatic Bell in Analog Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Bell Enable (Analog Mode)</label>
      </variable>
      <variable label="Automatic Brake Squeal Enable (Analog Mode)" CV="197" mask="XXXXVXXX" default="0" tooltip="CV197 Enables the Automatic Brake Squeal in Analog Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Brake Squeal Enable (Analog Mode)</label>
      </variable>
      <variable label="Automatic Steam Blow Down Enable (Analog Mode)" CV="197" mask="XXXVXXXX" default="0" tooltip="CV197 Enables the Automatic Steam Blow Down in Analog Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Steam Blow Down Enable (Analog Mode)</label>
      </variable>
      <variable label="Automatic Grade Crossing Whistle Enable" CV="198" mask="XXXXXXXV" default="0" tooltip="CV198 Enables the Automatic Grade Crossing Whistle in Digital Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Grade Crossing Whistle Enable</label>
      </variable>
      <variable label="Automatic Whistle Signal Enable" CV="198" mask="XXXXXXVX" default="0" tooltip="CV198 Enables the Automatic Whistle Signal in Digital Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Whistle Signal Enable</label>
      </variable>
      <variable label="Automatic Bell Enable" CV="198" mask="XXXXXVXX" default="0" tooltip="CV198 Enables the Automatic Bell in Digital Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Bell Enable</label>
      </variable>
      <variable label="Automatic Brake Squeal Enable" CV="198" mask="XXXXVXXX" default="0" tooltip="CV198 Enables the Automatic Brake Squeal in Digital Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Brake Squeal Enable</label>
      </variable>
      <variable label="Automatic Steam Blow Down Enable" CV="198" mask="XXXVXXXX" default="0" tooltip="CV198 Enables the Automatic Steam Blow Down in Digital Mode">
        <enumVal>
          <enumChoice choice="Disabled">
            <choice>Disabled</choice>
          </enumChoice>
          <enumChoice choice="Enabled">
            <choice>Enabled</choice>
          </enumChoice>
        </enumVal>
        <label>Automatic Steam Blow Down Enable</label>
      </variable>
<!-- NC added CV 199 -->
      <variable label="Auto Chuff Start Speed" item="Sound Option 7" CV="199" mask="VVVVVVVV" default="7" tooltip="CV199">
        <decVal max="255"/>
        <label>Auto Chuff Start Speed</label>
      </variable>
<!-- Event Probability Controls follow -->
<!-- NC changes labels in CV's 201-208 -->
      <variable label="Probability Fireman" CV="201" mask="VVVVVVVV" default="64" tooltip="CV201">
        <decVal max="255"/>
        <label>Probability Fireman</label>
      </variable>
      <variable label="Probability Wrench" CV="202" mask="VVVVVVVV" default="0" tooltip="CV202">
        <decVal max="255"/>
        <label>Probability Wrench</label>
      </variable>
      <variable label="Probability Clack Valve" CV="203" mask="VVVVVVVV" default="32" tooltip="CV203">
        <decVal max="255"/>
        <label>Probability Clack Valve</label>
      </variable>
      <variable label="Probability Oil-Can" CV="204" mask="VVVVVVVV" default="0" tooltip="CV204">
        <decVal max="255"/>
        <label>Probability Oil-Can</label>
      </variable>
      <variable label="Probability Injector" CV="205" mask="VVVVVVVV" default="64" tooltip="CV205">
        <decVal max="255"/>
        <label>Probability Injector</label>
      </variable>
      <variable label="Probability Blower" CV="206" mask="VVVVVVVV" default="64" tooltip="CV206">
        <decVal max="255"/>
        <label>Probability Blower</label>
      </variable>
      <variable label="Probability Pop-Off" CV="207" mask="VVVVVVVV" default="64" tooltip="CV207">
        <decVal max="255"/>
        <label>Probability Pop-Off</label>
      </variable>
      <variable label="Door Slam Range" CV="208" mask="VVVVVVVV" default="6" tooltip="CV208">
        <decVal max="255"/>
        <label>Door Slam Range</label>
      </variable>
<!-- End of variables for file-specific panes -->
      <variable label="Motor Kp Coefficient (0-255)" CV="209" mask="VVVVVVVV" item="Advanced Group 2 Option 1" default="25" tooltip="CV209 Specifies a gain factor for the proportional part of the PID motor control equation">
        <decVal/>
        <label>Motor Kp Coefficient (0-255)</label>
      </variable>
      <variable label="Motor Ki Coefficient (0-255)" CV="210" mask="VVVVVVVV" item="Advanced Group 2 Option 2" default="20" tooltip="CV210 Specifies a gain factor for the integral part of the PID motor control equation">
        <decVal/>
        <label>Motor Ki Coefficient (0-255)</label>
      </variable>
      <variable label="Motor Kd Coefficient (0-255)" CV="211" mask="VVVVVVVV" default="0" item="Advanced Group 2 Option 3" tooltip="CV211 ZTC feature, exact function unknown ">
        <decVal max="255"/>
        <label>Motor Kd Coefficient (0-255)</label>
      </variable>
      <variable label="BEMF Feedback Intensity (0-255)" CV="212" mask="VVVVVVVV" item="Advanced Group 2 Option 4" default="255" tooltip="CV212 The CV value is interpreted as n/32 that is fed back from the control loop">
        <decVal/>
        <label>BEMF Feedback Intensity (0-255)</label>
      </variable>
      <variable label="BEMF Feedback Sample Period (0-31)" CV="213" mask="VVVVVVVV" item="Advanced Group 2 Option 5" default="15" tooltip="CV213 Specifies the time period in mS (milliseconds) between measurements">
        <decVal max="31"/>
        <label>BEMF Feedback Sample Period (0-31)</label>
      </variable>
      <variable label="BEMF Sample Window Size (0-255)" CV="214" mask="VVVVVVVV" item="Advanced Group 2 Option 6" default="15" tooltip="CV214 Specifies a gain factor for the derivative part of the PID motor control equation">
        <decVal/>
        <label>BEMF Sample Window Size (0-255)</label>
      </variable>
      <variable label="BEMF Gain Coefficient" CV="215" mask="VVVVVVVV" default="0" item="Advanced Group 2 Option 7" tooltip="CV215">
        <decVal max="255"/>
        <label>BEMF Gain Coefficient</label>
      </variable>
      <variable label="Motor Control Register" CV="217" mask="VVVVVVVV" default="2" item="Advanced Group 2 Option 8" tooltip="CV217">
        <decVal max="255"/>
        <label>Motor Control Register</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="8" default="8"/>
    </resets>
  </decoder>
  <pane name="Equalizer">
    <column>
      <row>
        <display item="Equalizer Control"/>
      </row>
      <label label=" ">
        <label> </label>
      </label>
      <row>
        <column>
          <row>
            <display item="62 Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="62 Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="125 Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="125 Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="250 Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="250 Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="500 Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="500 Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="1K Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="1K Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="2K Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="2K Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="4K Hz Cut/Boost" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="4K Hz Cut/Boost" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
      </row>
    </column>
    <name>Equalizer</name>
  </pane>
  <pane name="Reverb">
    <column>
      <row>
        <display item="Reverb Control"/>
      </row>
      <label label=" ">
        <label> </label>
      </label>
      <row>
        <column>
          <row>
            <display item="Reverb Output Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Reverb Output Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Reverb Delay" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Reverb Delay" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Reverb Gain" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Reverb Gain" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Whistle Reverb Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Whistle Reverb Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Bell Reverb Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Bell Reverb Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Exhaust Reverb Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Exhaust Reverb Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Air Pump Reverb Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Air Pump Reverb Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Dynamo Reverb Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Dynamo Reverb Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Blower Reverb Level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Blower Reverb Level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Reverb channel 6 mixer level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Reverb channel 6 mixer level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Reverb channel 7 mixer level" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Reverb channel 7 mixer level" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
      </row>
    </column>
    <name>Reverb</name>
  </pane>
  <pane name="DDE">
    <column>
<!-- panes always start with column elements-->
      <row>
        <column>
          <row>
            <display item="Throttle Gain" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Throttle Gain" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Motor Load Gain" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Motor Load Gain" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Attack Time Constant" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Attack Time Constant" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Release Time Constant" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Release Time Constant" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Exhaust Low Volume Limit" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Exhaust Low Volume Limit" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Exhaust High Volume Limit" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Exhaust High Volume Limit" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Side Rod Clank Low Volume Limit" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Side Rod Clank Low Volume Limit" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Side Rod Clank High Volume Limit" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Side Rod Clank High Volume Limit" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
        <label label="    ">
          <label>    </label>
        </label>
        <column>
          <row>
            <display item="Filter Initial Frequency" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Filter Initial Frequency" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Filter Control Gain" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Filter Control Gain" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Filter Damping" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Filter Damping" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Tracking Coefficient" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Tracking Coefficient" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Tracking Offset" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Tracking Offset" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
      </row>
    </column>
    <name>DDE</name>
  </pane>
  <pane name="Analog Sound Control">
    <column>
      <row>
        <column>
          <display item="Automatic Grade Crossing Whistle Enable" format="checkbox"/>
          <display item="Automatic Whistle Signal Enable" format="checkbox"/>
          <display item="Automatic Bell Enable" format="checkbox"/>
          <display item="Automatic Brake Squeal Enable" format="checkbox"/>
          <display item="Automatic Steam Blow Down Enable" format="checkbox"/>
        </column>
        <column>
          <display item="Automatic Grade Crossing Whistle Enable (Analog Mode)" format="checkbox"/>
          <display item="Automatic Whistle Signal Enable (Analog Mode)" format="checkbox"/>
          <display item="Automatic Bell Enable (Analog Mode)" format="checkbox"/>
          <display item="Automatic Brake Squeal Enable (Analog Mode)" format="checkbox"/>
          <display item="Automatic Steam Blow Down Enable (Analog Mode)" format="checkbox"/>
        </column>
      </row>
      <separator/>
      <row>
        <column>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Bell-On Set Point" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Bell-On Set Point" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Bell-Off Set Point" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Bell-Off Set Point" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Grade Crossing Whistle Sensitivity" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Grade Crossing Whistle Sensitivity" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Brake Squeal Sensitivity" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Brake Squeal Sensitivity" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
        <label label=" ">
          <label> </label>
        </label>
        <separator/>
        <label label=" ">
          <label> </label>
        </label>
        <column>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Fireman" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Fireman" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Wrench" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Wrench" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Clack Valve" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Clack Valve" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Oil-Can" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Oil-Can" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
        <label label=" ">
          <label> </label>
        </label>
        <separator/>
        <label label=" ">
          <label> </label>
        </label>
        <column>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Injector" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Injector" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Blower" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Blower" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Probability Pop-Off" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Probability Pop-Off" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
          <row>
            <display item="Door Slam Range" layout="above" label="">
              <label/>
            </display>
            <label label=" ">
              <label> </label>
            </label>
            <display item="Door Slam Range" layout="above" format="hslider"/>
          </row>
          <label label=" ">
            <label> </label>
          </label>
        </column>
      </row>
      <row>
        <column>
          <label label="  ">
            <label>  </label>
          </label>
          <label label=" ">
            <label> </label>
          </label>
        </column>
      </row>
    </column>
    <name>Analog Sound Control</name>
  </pane>
  <pane name="Lock">
    <column>
      <label label=" CV 16 decoder lock.  If set, must match the lock by setting CV15 in single CV programmer  ">
        <label> CV 16 decoder lock.  If set, must match the lock by setting CV15 in single CV programmer  </label>
      </label>
      <display item="Decoder Lock"/>
      <label label="  ">
        <label>  </label>
      </label>
      <separator/>
      <label label=" ">
        <label> </label>
      </label>
<!--
			<label label= "Processor Parameters (CV120-127)" />
			<label label= " " />
			<display item="Processor Parameter 0" />
			<display item="Processor Parameter 1" />
			<display item="Processor Parameter 2" />
			<display item="Processor Parameter 3" />
			<display item="Processor Parameter 4" />
			<display item="Processor Parameter 5" />
			<display item="Processor Parameter 6" />
			<display item="Processor Parameter 7" />
			-->
    </column>
    <name>Lock</name>
  </pane>
</decoder-config>

