Hmmm..not sure what I messed up on that patch.  I had math.h already.  Here
'tis again fixed up.
What rig model are you running? I'd like to look at the hamlib code and see
what it's doing.
And can you do a debug version with all the tracing turned on so I can see
what your rig is providing during the polling?  I'm afraid many rigs may
behave badly or have a wrong hamlib interpretation of the results.  A lot
won't be able to read the transmit power and reflected power.
What I do is just add the flags to the release portion of the build script
in JTSDK\scripts\qtenv-build-wsjtx.cmd so you can just copy the executable
over a standard installation.
IF /I [%option%]==[Release] (
cmake -G "MinGW Makefiles" -Wno-dev -D CMAKE_TOOLCHAIN_FILE=%tchain% ^
-D CMAKE_COLOR_MAKEFILE=OFF ^
-D WSJT_INCLUDE_KVASD=ON ^
-D WSJT_HAMLIB_TRACE=Y ^
-D WSJT_HAMLIB_VERBOSE_TRACE=Y ^
-D WSJT_QDEBUG_TO_FILE=Y ^
-D WSJT_QDEBUG_IN_RELEASE=Y ^
-D WSJT_TRACE_CAT=Y ^
-D WSJT_TRACE_CAT_POLLS=Y ^
-D CMAKE_BUILD_TYPE=%option% ^
-D CMAKE_INSTALL_PREFIX=%installdir%/%option% %srcd%/%app_name%
IF ERRORLEVEL 1 ( GOTO CMAKE_ERROR )


Then provide the %USERPROFILE%\Appdata\Local\Temp\WSJT-X_trace.log

On Wed, Aug 5, 2015 at 8:27 AM, John Nelson <j...@rmnjmn.demon.co.uk> wrote:

> Mike,
>
> Installed your patch.   Note you need to add  #include <cmath> in
> HamlibTransceiver.cpp.
>
> mainwindow.cpp does not compile:
>
> .....mainwindow.cpp:3636:3: error: use of undeclared identifier 'QSound'
>   QSound::play("Transmitting.wav");
>   ^
> 1 error generated.
>
> I commented this line.   Compiles and runs and with config. check box
> enabled, I see the additional characters in the bottom left box which
> declares values between 0W for 4W output power on power meter; and 10W for
> 95W output power and sometimes 4W for 95W output.   The value is erratic
> and seems not to be linked to output power.
>
> When max output power is running, then  reading  STRENGTH directly gives
> 44.
>
> --- John G4KLA
>
> ------------------------------------------------------------------------------
> _______________________________________________
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>

Attachment: meterpatch
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to