<div>wtKeyer:Play() only works for CW.</div><div><br></div><div>You could change it to wtApp:SendFKey("F1"), but, what you are doing (closing PTT via software command instead of using VOX or RTS pin, then opening it again) is not necessary at all if you are using a K3 and Win-Test sound card voice keyer. It also will not work due to the timing of when messages are sent (the "RX;" will be sent before the message completes).</div>
<div><br></div><div><u>If you are using a K3</u>:</div><div><br></div><div>Program the K3 CONFIG:PTT-KEY menu item to RTS-OFF and tell Win-Test to generate PTT on the COM port RTS pin. Just go into Win-Test SETUP and click the CONFIGURE button next to the Radio's COM port. Change <b>RTS (pin 7</b>)<b> </b>to <b>PTT</b> and win-Test will generate PTT for you whenever you send a voice message, and open PTT when the message ends.</div>
<div><div><br></div><div><u>If you are using a TS-590S</u> (which doesn't support PTT via RTS pin):</div><div><br></div><div>Create two scripts like this:</div><div><br></div><div><b>RX.wts</b>:</div><div><br></div><div>
<div><font face="courier new, monospace">-- K3 / TS-590 PTT OFF (Receive) command</font></div><div><font face="courier new, monospace">-- Call via message or advanced SO2R scenario as #RX</font></div><div><font face="courier new, monospace">-- Assign to ESCape key to halt any sending and enable RX</font></div>
<div><font face="courier new, monospace">-- Written by N6TV, 22 February 2012 19:26 UTC</font></div><div><font face="courier new, monospace">wtRadio:Send("RX;") -- Radio TX "OFF"</font></div>
<div><font face="courier new, monospace">return 0 -- Normal keystroke processing </font></div><div><br></div><div><b>TX.wts</b>:</div><div><br></div><div><div><font face="courier new, monospace">-- K3 / TS-590 PTT ON (Transmit) command</font></div>
<div><font face="courier new, monospace">-- Call via message or advanced SO2R scenario as #TX</font></div><div><font face="courier new, monospace">-- Written by N6TV, 22 February 2012 19:25 UTC</font></div><div><font face="courier new, monospace">wtRadio:Send("TX;") -- Radio TX "ON"</font></div>
<div><font face="courier new, monospace">return -1 -- No further processing of keystroke</font></div></div><div><br></div><div>Assign RX to the ESCape key so you can halt a message.</div><div><br>
</div><div>Program your Advanced SO2R messages like this:</div><div><br></div><div>F1: #TX $F1 #RX</div><div>F2: #TX $F2 #RX</div><div>etc.</div><div><br></div>73,<div>Bob, N6TV</div><br><div class="gmail_quote">On Sun, Oct 14, 2012 at 10:28 PM, Manu Tel <span dir="ltr"><<a href="mailto:tel.manu07@gmail.com" target="_blank">tel.manu07@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
<br>
I have a small problem with a LUA script, if someone can help me.<br>
<br>
Here is the script:<br>
<br>
if (wtQso:IsModePhone()) then<br>
wtRadio:Send("TX;");<br>
wtKeyer:Play("$F1");<br>
wtRadio:Send("RX;");<br>
return -1<br>
end<br>
<br>
<br>
I have the TX on com port and RX but the message is not played on sound card.<br>
<br>
Thank you for your help.<br>
Amicalmement<br>
Manu F4FLQ</blockquote></div></div></div>