<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Bob,<br>
<br>
thank you for the quick answer.<br>
<br>
see below.<br>
<br>
73' Alexander<br>
<br>
Am 13.02.2017 um 10:45 schrieb Bob Wilson, N6TV:<br>
</div>
<blockquote
cite="mid:CAOmNKGLD2it-pOLr=OSYYf+y9B5c2yJ9pzyMhU_ieKqKAte-VQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>See <a moz-do-not-send="true"
href="http://docs.win-test.com/wiki/Menu:Options#Frequency_Offsets"
target="_blank">Options | Frequency Offsets</a>, though
there is no way to dynamically change these with a LUA Script.</div>
</div>
</blockquote>
<br>
The Frequency Offsets are ok (I'm using that already), but as the
frequency Win-Test "sees" is just the 146MHz from the IF (IC7400),
this information alone does not help.<br>
<br>
<blockquote
cite="mid:CAOmNKGLD2it-pOLr=OSYYf+y9B5c2yJ9pzyMhU_ieKqKAte-VQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>I suggest using a transceiver or transverter that is
capable of returning the correct frequency to Win-Test via
serial port communication, so that Win-Test can read the
frequency directly, perhaps using OmniRig and a custom .ini
file for your transverter.<br>
</div>
</div>
</blockquote>
<br>
How could I pass back the correct frequency? Through
wtRadio:SetFreq() below?<br>
Omnirig is maybe an option indeed. Just not sure how to customize it
(apparently it is open source and written in Pascal).<br>
<br>
<blockquote
cite="mid:CAOmNKGLD2it-pOLr=OSYYf+y9B5c2yJ9pzyMhU_ieKqKAte-VQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>I don't understand why AutoHotkey is required, and I
recommend that you avoid it. Between DEFINEKEYS and LUA
scripts, you should be able to send anything you want to any
serial port using any keystroke combination.</div>
</div>
</blockquote>
<br>
Yes, but my idea was to do it the other way round: external hardware
to tell WIn-Test the current band by "simulating" key strokes...<br>
<br>
<blockquote
cite="mid:CAOmNKGLD2it-pOLr=OSYYf+y9B5c2yJ9pzyMhU_ieKqKAte-VQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>See <a moz-do-not-send="true"
href="http://lists.f5mzn.org/pipermail/support/2016-December/085394.html">this
post</a> for a sample script to read or write to a serial
port directly, though using OmniRig to control the transverter
frequency should be much easier.</div>
<div><br>
</div>
<div>You can use wtRadio:SetFreq() in a LUA script to change the
frequency of the transverter, assuming you get it to work with
OmniRig.</div>
</div>
</blockquote>
<br>
Ok, if I call SetFreq(), Win-Test would switch bands? So lets assume
I keep the current Radio setup (IC7400 aka IC746Pro) and would call
wtRadio:SetFreq() e.g. with a frequency in the 3400MHz band, it
would read out the Frequency Offset definition, send out the
resulting 146MHz frequency to the radio and switch internally to
3400?<br>
If that works, that might be an option indeed. Then I could use your
script to open a serial interface to get the correct band.<br>
I'll do a quick check to see...<br>
<br>
<blockquote
cite="mid:CAOmNKGLD2it-pOLr=OSYYf+y9B5c2yJ9pzyMhU_ieKqKAte-VQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>Yes, almost all USB-to-LPT adapters will not work, but you
might have luck with this one:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://www-user.tu-chemnitz.de/%7Eheha/basteln/PC/USB2LPT/">https://www-user.tu-chemnitz.de/~heha/basteln/PC/USB2LPT/</a><br>
</div>
<div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail-m_8729228255225107989gmail_signature">73,
<div>Bob, N6TV</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Feb 13, 2017 at 1:14 AM,
Alexander Kurpiers <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:a.kurpiers@gmail.com" target="_blank">a.kurpiers@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I would like to tightly couple our set of microwave
transverters to the<br>
band setting in Win-Test. The transverters
(2320/3400/5760MHz) are all<br>
connected to the same 146MHz radio (IC7400). Background:
with several<br>
transverters on same TRX you accidentally log a QSO on
the wrong<br>
microwave band... and - yes - sometimes you can be
pretty busy even on<br>
microwave...<br>
<br>
The preferred way would be to do the band switching on
the transverter<br>
side and somehow let Win-Test know which band is
selected, but so far I<br>
have no idea how this could be done. The radio frequency
does not help<br>
(it is 146MHz in all three cases). I know how to inject
keyboard codes<br>
into Win-Test using AutoHotkey, but even then I would
not know how to<br>
switch to a specific band from the keyboard either (you
can enter the<br>
frequency in the call sign field, but to do that
"automatically", you<br>
would have to clear this field first, and I do not dare
to send the<br>
"F11", because some OP may have forgotten to press
"enter" on the<br>
previous QSO before switching to another band...).<br>
<br>
Is there some LUA magic?<br>
<br>
The alternative is the band data available on the
parallel port<br>
<a moz-do-not-send="true"
href="http://docs.win-test.com/wiki/Interfaces#Band_Data"
rel="noreferrer" target="_blank">http://docs.win-test.com/wiki/<wbr>Interfaces#Band_Data</a><br>
But first: as modern PCs do not have parallel ports
anymore, it is not<br>
clear if the USB-LPT ports would work and second: bands
>432MHz are not<br>
signalled (although the change in the software would
probably be easy<br>
enough). But given the old interface, not clear if a
good way to do it...<br>
<br>
Last option: Win-Test sends out UDP broadcasts with the
current<br>
frequency. I know that there is a solution based on
Raspberry Pi to<br>
monitor and switch the transverters accordingly.<br>
Myself, I was thinking of using an old AVR-NET-IO<br>
(<a moz-do-not-send="true"
href="http://www.pollin.de/shop/dt/MTQ5OTgxOTk-/Bauelemente_Bauteile/Bausaetze_Module/Bausaetze/Bausatz_AVR_NET_IO.html"
rel="noreferrer" target="_blank">http://www.pollin.de/shop/dt/<wbr>MTQ5OTgxOTk-/Bauelemente_Baute<wbr>ile/Bausaetze_Module/Bausaetze<wbr>/Bausatz_AVR_NET_IO.html</a>)<br>
- because I don't know what to do with it anyway ;-)<br>
<br>
73' Alexander DL8AAU (DR9A)</blockquote>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:support@win-test.com">support@win-test.com</a>
<a class="moz-txt-link-freetext" href="http://lists.f5mzn.org/cgi-bin/mailman/listinfo/support">http://lists.f5mzn.org/cgi-bin/mailman/listinfo/support</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>