[WT-support] New LUA script API to play additional MK2R DVK messages

Bob Wilson, N6TV n6tv at arrl.net
Tue Sep 7 08:24:11 CEST 2010


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 development
version<http://download.win-test.com/v4/nightly>.
 Just create 2 new LUA script files named DVK8.wts and DVK9.wts and assign
them to F8 and F9 using Tools | Scripts Manager:

DVK8.wts:

wtMicroham:Send("MP8")
return -1


DVK9.wts:

wtMicroham:Send("MP9")
return -1


Then run WT_DEV.EXE instead of WT.EXE and press F8 or F9 to play DVK
messages 8 and 9.

73,
Bob, N6TV
On Sat, Sep 4, 2010 at 6:44 PM, Bob Wilson, N6TV <n6tv at arrl.net> wrote:

> 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=MP8. Is it
>> possible to let the Other messages (ALT-C) to transmit those commands.
>
>
> Alt-C messages are ignored on SSB, so that will not work.  $MK2R only seems
> to work within scenarios.
>
> Perhaps Win-Test could provide a new LUA API such as
>
> wtMK:Send(*string)*  -- send command string to microHAM control port
>
> In the mean time, I've created two LUA scripts<http://www.kkn.net/%7En6tv/PlayDVK8and9.zip>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)
>
> 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.
>
>    1. Operating | Modify the Scenarios ...
>    2. Program the *Secondary* radio (second column)
>    F6: $TR2 $MK2R=MP8
>    F7: $TR2 $MK2R=MP9
>    3. Tools | Scripts manager
>    Assign PlayDVK8 to F8
>    Assign PlayDVK9 to F9
>    (Highlight the script, Press the Properties button, then Define, then
>    F8 or F9, then OK)
>    4. Operating | Technique Advanced SO2R (must be checked)
>    5. Operating | Caps Lock Binds to the secondary radio (must be checked)
>
> 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 *primary* radio (that's what $TR2 does), then they immediately restore
> focus to the primary radio window.
>
> Of course now you have to be careful to avoid pressing F6 or F7 whenever
> you manually set focus to the secondary radio window.
>
> 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+?
>>
>
> I suggest disabling ByeByeCT and assigning F8 and F9 to the two new LUA
> scripts, as suggested above.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.f5mzn.org/pipermail/support/attachments/20100906/03262d13/attachment.htm 


More information about the Support mailing list