<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.il
        {mso-style-name:il;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1321424117;
        mso-list-template-ids:460467828;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Works great Bob!<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>One thing noticed: running this DVK8 or DVK9 with MKII activates
DVK message instantly. But running other messages from scenarios like usually creates
short but noticeable delay, sometimes changing delay. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The Control Protocol Monitor shows exactly the same log.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What could be the reason? And any reason why I might not take
all the messages script based thus?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>tonno<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rawilson@gmail.com
[mailto:rawilson@gmail.com] <b>On Behalf Of </b>Bob Wilson, N6TV<br>
<b>Sent:</b> Tuesday, September 07, 2010 9:24 AM<br>
<b>To:</b> support@win-test.com; Tõnno Vähk<br>
<b>Subject:</b> New LUA script API to play additional MK2R DVK messages<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Laurent just made it a lot easier to access the 8th and 9th
MK2R DVK messages from Win-Test, using a new LUA API found in the <a
href="http://download.win-test.com/v4/nightly">development version</a>.
 Just create 2 new LUA script files named DVK8.wts and DVK9.wts and assign
them to F8 and F9 using Tools | Scripts Manager:<o:p></o:p></p>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>DVK8.wts:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<blockquote style='margin-left:30.0pt;margin-right:0cm'>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Courier New"'>wtMicroham:Send("MP8")</span></span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Courier New"'>return -1</span></span><o:p></o:p></p>

</div>

</blockquote>

<div>

<div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>DVK9.wts:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

</div>

<blockquote style='margin-left:30.0pt;margin-right:0cm'>

<div>

<div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Courier New"'>wtMicroham:Send("MP9")</span></span><o:p></o:p></p>

</div>

</div>

</div>

<div>

<div>

<div>

<p class=MsoNormal><span class=apple-style-span><span style='font-size:13.5pt;
font-family:"Courier New"'>return -1</span></span><o:p></o:p></p>

</div>

</div>

</div>

</blockquote>

<div>

<div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>Then run WT_DEV.EXE instead of WT.EXE and press F8 or F9 to
play DVK messages 8 and 9.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal>73,<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Bob, N6TV<o:p></o:p></p>

<div>

<p class=MsoNormal>On Sat, Sep 4, 2010 at 6:44 PM, Bob Wilson, N6TV <<a
href="mailto:n6tv@arrl.net">n6tv@arrl.net</a>> wrote:<o:p></o:p></p>

<div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>

<p class=MsoNormal>4. Currently I can send my own commands to MK2R+ only from
scenarios. I would like to use DVK messages 8 and 9 with command $MK2R=<span
class=il>MP8</span>. Is it possible to let the Other messages (ALT-C) to
transmit those commands. <o:p></o:p></p>

</blockquote>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
Alt-C messages are ignored on SSB, so that will not work.  $MK2R only
seems to work within scenarios.<br>
<br>
Perhaps Win-Test could provide a new LUA API such as <o:p></o:p></p>

<div style='margin-left:30.0pt'>

<p class=MsoNormal>wtMK:Send(<i>string)</i>  -- send command string to
microHAM control port<o:p></o:p></p>

</div>

<p class=MsoNormal> <br>
In the mean time, I've created <a
href="http://www.kkn.net/%7En6tv/PlayDVK8and9.zip" target="_blank">two LUA
scripts</a> called PlayDVK8 and PlayDVK9 that will allow you to access these
last two DVK messages.   Copy the two .wts files to your /Scripts
directory (File | Explore | /scripts directory)<br>
<br>
You will have to "borrow" the F6 and F7 messages from the advanced
scenario, secondary radio column to do this, and they will have to be
programmed in a special way, as you already figured out.<o:p></o:p></p>

<ol start=1 type=1>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'>Operating | Modify the Scenarios ...<o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'>Program the <b>Secondary</b> radio (second
     column)<br>
     F6: $TR2 $MK2R=<span class=il>MP8</span><br>
     F7: $TR2 $MK2R=MP9<o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'>Tools | Scripts manager<br>
     Assign PlayDVK8 to F8<br>
     Assign PlayDVK9 to F9<br>
     (Highlight the script, Press the Properties button, then Define, then F8
     or F9, then OK)<o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'>Operating | Technique Advanced SO2R (must be
     checked)<o:p></o:p></li>
 <li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
     mso-list:l0 level1 lfo1'>Operating | Caps Lock Binds to the secondary
     radio (must be checked)<o:p></o:p></li>
</ol>

<p class=MsoNormal style='margin-bottom:12.0pt'>The PlayDVK8 and 9 scripts
briefly set focus to the secondary radio window (they press CapsLock for you),
play the secondary radio scenario F6 or F7 on the <i>primary</i> radio (that's
what $TR2 does), then they immediately restore focus to the primary radio
window.<br>
<br>
Of course now you have to be careful to avoid pressing F6 or F7 whenever you
manually set focus to the secondary radio window.<o:p></o:p></p>

</div>

<div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>

<p class=MsoNormal>Using ByeByeCT I could generate 2 more SSB messages. WT
guys, is this doable? Or any other place I could put this command other than
scenarios F1-F7 and send to MK2R+?<o:p></o:p></p>

</blockquote>

</div>

<div>

<p class=MsoNormal><br>
I suggest disabling ByeByeCT and assigning F8 and F9 to the two new LUA
scripts, as suggested above.<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</div>

</div>

</div>

</body>

</html>