2010-12-19 22:09:53 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- CTL 22 Comm1 Control for VHF-22 tranceiver
|
|
|
|
Active and preset displayed +
|
|
|
|
6 frequency memory storage
|
|
|
|
2.375"W x 2.625"H
|
|
|
|
Freq. range 118.000 - 135.975 (normal) @ 25 khz spacing
|
|
|
|
Syd Adams
|
|
|
|
|
|
|
|
Adapted for dual control by Anders Gidenstam
|
|
|
|
|
|
|
|
NOTE: ctl22.nas MUST be loaded as Nasal module VHF22.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- Overlay these for the second etc radio. -->
|
|
|
|
<params>
|
|
|
|
<serviceable>instrumentation/comm[0]/serviceable</serviceable>
|
|
|
|
<electrical-supply>systems/electrical/outputs/comm[0]</electrical-supply>
|
2013-05-18 21:57:19 +00:00
|
|
|
<volume-norm>instrumentation/comm[0]/volume</volume-norm>
|
2010-12-19 22:09:53 +00:00
|
|
|
<selected-freq-mhz>instrumentation/comm[0]/frequencies/selected-mhz</selected-freq-mhz>
|
|
|
|
<standby-freq-mhz>instrumentation/comm[0]/frequencies/standby-mhz</standby-freq-mhz>
|
|
|
|
<swap-script>VHF22.swap(0);</swap-script>
|
|
|
|
<small-inc-script>VHF22.adjust_frequency(0, 0.025);</small-inc-script>
|
|
|
|
<small-dec-script>VHF22.adjust_frequency(0, -0.025);</small-dec-script>
|
|
|
|
<big-inc-script>VHF22.adjust_frequency(0, 1.0);</big-inc-script>
|
|
|
|
<big-dec-script>VHF22.adjust_frequency(0, -1.0);</big-dec-script>
|
2013-05-18 21:57:19 +00:00
|
|
|
|
|
|
|
<lighting-norm>controls/lighting/panel-norm</lighting-norm>
|
2010-12-19 22:09:53 +00:00
|
|
|
</params>
|
|
|
|
|
|
|
|
<path>ctl22.ac</path>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>freq.001</object-name>
|
|
|
|
<object-name>freq.002</object-name>
|
|
|
|
<object-name>freq.003</object-name>
|
|
|
|
<object-name>freq.dec</object-name>
|
|
|
|
<object-name>freq.004</object-name>
|
|
|
|
<object-name>freq.005</object-name>
|
|
|
|
<object-name>freq.006</object-name>
|
|
|
|
<condition>
|
2013-05-18 21:57:19 +00:00
|
|
|
<and>
|
|
|
|
<property alias="../../../../params/serviceable"/>
|
|
|
|
<greater-than>
|
|
|
|
<property alias="../../../../../params/electrical-supply"/>
|
|
|
|
<value>1</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
2010-12-19 22:09:53 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>stby.001</object-name>
|
|
|
|
<object-name>stby.002</object-name>
|
|
|
|
<object-name>stby.003</object-name>
|
|
|
|
<object-name>stby.dec</object-name>
|
|
|
|
<object-name>stby.004</object-name>
|
|
|
|
<object-name>stby.005</object-name>
|
|
|
|
<object-name>stby.006</object-name>
|
|
|
|
<condition>
|
2013-05-18 21:57:19 +00:00
|
|
|
<and>
|
|
|
|
<property alias="../../../../params/serviceable"/>
|
|
|
|
<greater-than>
|
|
|
|
<property alias="../../../../../params/electrical-supply"/>
|
|
|
|
<value>1</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
2010-12-19 22:09:53 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>mem.annun</object-name>
|
|
|
|
<condition>
|
2013-05-18 21:57:19 +00:00
|
|
|
<and>
|
|
|
|
<property alias="../../../../params/serviceable"/>
|
|
|
|
<greater-than>
|
|
|
|
<property alias="../../../../../params/electrical-supply"/>
|
|
|
|
<value>1</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
2010-12-19 22:09:53 +00:00
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
2013-05-18 21:57:19 +00:00
|
|
|
<type>select</type>
|
|
|
|
<object-name>CTL-22.xfr</object-name>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<property alias="../../../../params/serviceable"/>
|
|
|
|
<greater-than>
|
|
|
|
<property alias="../../../../../params/electrical-supply"/>
|
|
|
|
<value>1</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>select</type>
|
|
|
|
<object-name>CTL-22.mem</object-name>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<property alias="../../../../params/serviceable"/>
|
|
|
|
<greater-than>
|
|
|
|
<property alias="../../../../../params/electrical-supply"/>
|
|
|
|
<value>1</value>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</condition>
|
2010-12-19 22:09:53 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- Active Frequency -->
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>freq.001</object-name>
|
|
|
|
<property alias="../../params/selected-freq-mhz"/>
|
|
|
|
<factor>0.001</factor>
|
|
|
|
<step>100</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>freq.002</object-name>
|
|
|
|
<property alias="../../params/selected-freq-mhz"/>
|
|
|
|
<factor>0.01</factor>
|
|
|
|
<step>10</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>freq.003</object-name>
|
|
|
|
<property alias="../../params/selected-freq-mhz"/>
|
|
|
|
<factor>0.1</factor>
|
|
|
|
<step>1</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>freq.004</object-name>
|
|
|
|
<property alias="../../params/selected-freq-mhz"/>
|
|
|
|
<factor>1.0</factor>
|
|
|
|
<step>0.1</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>freq.005</object-name>
|
|
|
|
<property alias="../../params/selected-freq-mhz"/>
|
|
|
|
<factor>10.0</factor>
|
|
|
|
<step>0.01</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>freq.006</object-name>
|
|
|
|
<property alias="../../params/selected-freq-mhz"/>
|
|
|
|
<factor>100.0</factor>
|
|
|
|
<step>0.001</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<!-- Preselected Frequency -->
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>stby.001</object-name>
|
|
|
|
<property alias="../../params/standby-freq-mhz"/>
|
|
|
|
<factor>0.001</factor>
|
|
|
|
<step>100</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>stby.002</object-name>
|
|
|
|
<property alias="../../params/standby-freq-mhz"/>
|
|
|
|
<factor>0.01</factor>
|
|
|
|
<step>10</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>stby.003</object-name>
|
|
|
|
<property alias="../../params/standby-freq-mhz"/>
|
|
|
|
<factor>0.1</factor>
|
|
|
|
<step>1</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>stby.004</object-name>
|
|
|
|
<property alias="../../params/standby-freq-mhz"/>
|
|
|
|
<factor>1.0</factor>
|
|
|
|
<step>0.1</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>stby.005</object-name>
|
|
|
|
<property alias="../../params/standby-freq-mhz"/>
|
|
|
|
<factor>10.0</factor>
|
|
|
|
<step>0.01</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>textranslate</type>
|
|
|
|
<object-name>stby.006</object-name>
|
|
|
|
<property alias="../../params/standby-freq-mhz"/>
|
|
|
|
<factor>100</factor>
|
|
|
|
<step>0.001</step>
|
|
|
|
<bias>0.0005</bias>
|
|
|
|
<axis>
|
|
|
|
<x>0</x>
|
|
|
|
<y>1</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>pick</type>
|
|
|
|
<object-name>CTL-22.xfr</object-name>
|
|
|
|
<action>
|
|
|
|
<button>0</button>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script alias="../../../../params/swap-script"/>
|
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
2013-05-18 21:57:19 +00:00
|
|
|
<type>knob</type>
|
|
|
|
<object-name>CTL-22.pwr</object-name>
|
|
|
|
<property alias="../../params/serviceable"/>
|
|
|
|
<interpolation>
|
|
|
|
<entry><ind>0</ind><dep>0</dep></entry>
|
|
|
|
<entry><ind>1.0</ind><dep>30</dep></entry>
|
|
|
|
</interpolation>
|
|
|
|
<center>
|
|
|
|
<x-m>0.0</x-m>
|
|
|
|
<y-m>-0.014</y-m>
|
|
|
|
<z-m>-0.018</z-m>
|
|
|
|
</center>
|
|
|
|
<axis>
|
|
|
|
<x>-1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
2010-12-19 22:09:53 +00:00
|
|
|
<action>
|
|
|
|
<binding>
|
2013-05-18 21:57:19 +00:00
|
|
|
<command>property-toggle</command>
|
2010-12-19 22:09:53 +00:00
|
|
|
<property alias="../../../../params/serviceable"/>
|
2013-05-18 21:57:19 +00:00
|
|
|
<value type="bool">0</value>
|
|
|
|
<value type="bool">1</value>
|
2010-12-19 22:09:53 +00:00
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
2013-05-18 21:57:19 +00:00
|
|
|
<type>knob</type>
|
|
|
|
<object-name>CTL-22.vol</object-name>
|
|
|
|
<property alias="../../params/volume-norm"/>
|
|
|
|
<factor>300</factor>
|
|
|
|
<center>
|
|
|
|
<x-m>0.0</x-m>
|
|
|
|
<y-m>-0.0138</y-m>
|
|
|
|
<z-m>-0.0183</z-m>
|
|
|
|
</center>
|
|
|
|
<axis>
|
|
|
|
<x>-1</x>
|
|
|
|
<y>0</y>
|
|
|
|
<z>0</z>
|
|
|
|
</axis>
|
2010-12-19 22:09:53 +00:00
|
|
|
<action>
|
|
|
|
<binding>
|
2013-05-18 21:57:19 +00:00
|
|
|
<command>property-adjust</command>
|
|
|
|
<property alias="../../../../params/volume-norm"/>
|
|
|
|
<factor type="double">0.02</factor>
|
|
|
|
<min type="double">0.0</min>
|
|
|
|
<max type="double">1.0</max>
|
2010-12-19 22:09:53 +00:00
|
|
|
</binding>
|
|
|
|
</action>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
2013-05-18 21:57:19 +00:00
|
|
|
<type>knob</type>
|
2010-12-19 22:09:53 +00:00
|
|
|
<object-name>freq.knob.kHz</object-name>
|
2013-05-18 21:57:19 +00:00
|
|
|
<increase>
|
2010-12-19 22:09:53 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script alias="../../../../params/small-inc-script"/>
|
|
|
|
</binding>
|
2013-05-18 21:57:19 +00:00
|
|
|
</increase>
|
|
|
|
<decrease>
|
2010-12-19 22:09:53 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script alias="../../../../params/small-dec-script"/>
|
|
|
|
</binding>
|
2013-05-18 21:57:19 +00:00
|
|
|
</decrease>
|
2010-12-19 22:09:53 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
2013-05-18 21:57:19 +00:00
|
|
|
<type>knob</type>
|
2010-12-19 22:09:53 +00:00
|
|
|
<object-name>freq.knob.MHz</object-name>
|
2013-05-18 21:57:19 +00:00
|
|
|
<increase>
|
2010-12-19 22:09:53 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script alias="../../../../params/big-inc-script"/>
|
|
|
|
</binding>
|
2013-05-18 21:57:19 +00:00
|
|
|
</increase>
|
|
|
|
<decrease>
|
2010-12-19 22:09:53 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script alias="../../../../params/big-dec-script"/>
|
|
|
|
</binding>
|
2013-05-18 21:57:19 +00:00
|
|
|
</decrease>
|
|
|
|
</animation>
|
|
|
|
|
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>freq.knob.kHz</object-name>
|
|
|
|
<object-name>freq.knob.MHz</object-name>
|
|
|
|
<object-name>CTL-22.vol</object-name>
|
|
|
|
<object-name>act.btn</object-name>
|
|
|
|
<object-name>sto.btn</object-name>
|
|
|
|
<object-name>test.btn</object-name>
|
|
|
|
<emission>
|
|
|
|
<factor-prop alias="../../../params/lighting-norm"/>
|
|
|
|
<red>0.4</red>
|
|
|
|
<green>0.4</green>
|
|
|
|
<blue>0.4</blue>
|
|
|
|
</emission>
|
|
|
|
</animation>
|
|
|
|
<animation>
|
|
|
|
<type>material</type>
|
|
|
|
<object-name>CTL-22</object-name>
|
|
|
|
<emission>
|
|
|
|
<factor-prop alias="../../../params/lighting-norm"/>
|
|
|
|
<red>0.15</red>
|
|
|
|
<green>0.15</green>
|
|
|
|
<blue>0.15</blue>
|
|
|
|
</emission>
|
2010-12-19 22:09:53 +00:00
|
|
|
</animation>
|
|
|
|
|
|
|
|
</PropertyList>
|